Where is the log file? - NTP
This is a discussion on Where is the log file? - NTP ; Alan wrote:
> Heiko,
> Thanks. That did it. I`m still getting used to all of
> Vista`s new twists. Alan
>
> On Jun 16, 3:38 am, Heiko Gerstung
> wrote:
>> Alan,
>>
>> under Vista you need ...
-
Re: Where is the log file?
Alan wrote:
> Heiko,
> Thanks. That did it. I`m still getting used to all of
> Vista`s new twists. Alan
>
> On Jun 16, 3:38 am, Heiko Gerstung
> wrote:
>> Alan,
>>
>> under Vista you need to run the batch files with administrative rights.
>> From the start menu you can just right-click the corresponding batch
>> file entry and choose "Run as Administrator" which will present you the
>> famous Vista "Do you really really REALLY want to do this?" dialogue ...
>>
>> Best Regards,
>> Heiko
Why would you need a batch file?
Danny
-
Re: Where is the log file?
Danny Mayer wrote:
> Alan wrote:
>> Heiko,
>> Thanks. That did it. I`m still getting used to all of
>> Vista`s new twists. Alan
>>
>> On Jun 16, 3:38 am, Heiko Gerstung
>> wrote:
>>> Alan,
>>>
>>> under Vista you need to run the batch files with administrative
>>> rights. From the start menu you can just right-click the
>>> corresponding batch file entry and choose "Run as Administrator"
>>> which will present you the famous Vista "Do you really really
>>> REALLY want to do this?" dialogue ...
>>>
>>> Best Regards,
>>> Heiko
>
> Why would you need a batch file?
>
> Danny
Presumably, Danny, it's easier for some people to have a "click here"
icon, than to have to go:
- Start, Administrative Tools, Services.
- Scroll down to select "Network Time Protocol"
and press the "Stop", "Start" or "Restart" buttons.
Cheers,
David
-
Re: Where is the log file?
Alan wrote:
> The Windows Event log shows an error, "Unable to initialize .rnd
> file":
>
> Log Name: Application
> Source: NTP
> Date: 6/17/2008 7:57:31 PM
> Event ID: 1
> Task Category: None
> Level: Error
> Keywords: Classic
> User: N/A
> Description:
> Unable to initialize .rnd file
>
> Anybody know what this means on Vista? Thanks, Alan
This has nothing to do with Vista. This has to do with OpenSSL. It needs
to create a seed file called .rnd. I forget where it puts it but I did
document this behavior in the winnt.html file.
Danny
-
Re: Where is the log file?
Danny Mayer wrote:
>
> This has nothing to do with Vista. This has to do with OpenSSL. It needs
> to create a seed file called .rnd. I forget where it puts it but I did
> document this behavior in the winnt.html file.
Although the error message isn't about a function of Vista, it is a
result of using Vista, because the default location of the file is
somewhere that Vista considers a protected location.
-
Re: Where is the log file?
David Woolley wrote:
> Danny Mayer wrote:
>
>>
>> This has nothing to do with Vista. This has to do with OpenSSL. It
>> needs to create a seed file called .rnd. I forget where it puts it
>> but I did document this behavior in the winnt.html file.
>
> Although the error message isn't about a function of Vista, it is a
> result of using Vista, because the default location of the file is
> somewhere that Vista considers a protected location.
... and a function of incorrect options for OpenSSL. I don't believe that
writing to the root of the system disk should be considered good practice
in any OS.
Cheers,
David
-
Re: Where is the log file?
David J Taylor wrote:
> .. and a function of incorrect options for OpenSSL. I don't believe that
> writing to the root of the system disk should be considered good practice
> in any OS.
Actually the OS (including previous incarnations ) we seem to talk about
has established about every bad practice thinkable to boot and
active denial of doing the "Right Thing".
Most of these things are imho a platform and not an application
problem. (though you will now have to fix the app)
uwe
-
Re: Where is the log file?
David J Taylor wrote:
> Danny Mayer wrote:
>> Alan wrote:
>>> Heiko,
>>> Thanks. That did it. I`m still getting used to all of
>>> Vista`s new twists. Alan
>>>
>>> On Jun 16, 3:38 am, Heiko Gerstung
>>> wrote:
>>>> Alan,
>>>>
>>>> under Vista you need to run the batch files with administrative
>>>> rights. From the start menu you can just right-click the
>>>> corresponding batch file entry and choose "Run as Administrator"
>>>> which will present you the famous Vista "Do you really really
>>>> REALLY want to do this?" dialogue ...
>>>>
>>>> Best Regards,
>>>> Heiko
>> Why would you need a batch file?
>>
>> Danny
>
> Presumably, Danny, it's easier for some people to have a "click here"
> icon, than to have to go:
>
> - Start, Administrative Tools, Services.
>
> - Scroll down to select "Network Time Protocol"
>
> and press the "Stop", "Start" or "Restart" buttons.
>
> Cheers,
> David
Just use:
net start ntpd
which doesn't require a batch file.
Danny
-
Re: Where is the log file?
Danny,
Danny Mayer wrote:
> David J Taylor wrote:
>> Danny Mayer wrote:
>>> Why would you need a batch file?
>>>
>>> Danny
>>
>> Presumably, Danny, it's easier for some people to have a "click here"
>> icon, than to have to go:
>>
>> - Start, Administrative Tools, Services.
>>
>> - Scroll down to select "Network Time Protocol"
>>
>> and press the "Stop", "Start" or "Restart" buttons.
>>
>> Cheers,
>> David
>
> Just use:
> net start ntpd
> which doesn't require a batch file.
>
> Danny
That's exactly what the batch file does.
AFAIK Heiko (who is currently on holiday) has added those batch files just
to be able to simplify running those commands from a start menu entry (as
already mentioned by David).
Anyway, it the user account does not have sufficient rights then typing "net
start ntp" would not work, either.
Martin
--
Martin Burnicki
Meinberg Funkuhren
Bad Pyrmont
Germany
-
Re: Where is the log file?
David Woolley wrote:
> Danny Mayer wrote:
>
>> This has nothing to do with Vista. This has to do with OpenSSL. It needs
>> to create a seed file called .rnd. I forget where it puts it but I did
>> document this behavior in the winnt.html file.
>
> Although the error message isn't about a function of Vista, it is a
> result of using Vista, because the default location of the file is
> somewhere that Vista considers a protected location.
No, that's not about using Vista. It doesn't matter what the Operating
System is, if that O/S does not allow ntpd to write to any specific
directory. It's an O/S permissions thing and you need to configure both
ntpd and the O/S to allow ntpd to use a writeable directory into which
you can place this file.
Danny