1828370 Members
3560 Online
109976 Solutions
New Discussion

NTP.conf

 
SOLVED
Go to solution
Kyle D. Harris
Regular Advisor

NTP.conf

Is anybody familiar with what directory the ntp.conf file is in on 6.2 and also 8.0? Or is there not always one upon installation? Thanks.
8 REPLIES 8
Alexander Chuzhoy
Honored Contributor

Re: NTP.conf

On redhat 8.0 the ntp.conf is in /etc directory
Don't know about redhat 6.2
Best regards.....

It sure comes with default installation , but of course you can select it for not to install..
Mark Grant
Honored Contributor
Solution

Re: NTP.conf

Hi Kylie,

If you are having trouble you can always do this.

"locate ntp.conf"

Or for a thorough search of your system try

"find / -name ntp.conf -print"

It might take a while if you have a huge hard disk and/or CD's mounted but it will find it if it's there and if it doesn't, you know it's not there.

Never preceed any demonstration with anything more predictive than "watch this"
Kyle D. Harris
Regular Advisor

Re: NTP.conf

Mark-
doing the locate command it immediately came back to the prompt and it's not in the /etc directory so i'm guessing I don't have a ntp.conf file. My System clock is off some thus making it a medium vulnerability apparently. Since i don't have the file, how do i go about getting it or setting up my server to be in sync all the time? Thanks a ton!

Kyle
Elmar P. Kolkman
Honored Contributor

Re: NTP.conf

Perhaps you should first see if ntp is installed on your system. Check /etc/init.d for the xntpd file (could be xntp, don't have a RedHat system near). Or query your RPM database for xntp. Or check in /usr/bin for commands containing the string ntp:
ls /usr/bin/*ntp*

Every problem has at least one solution. Only some solutions are harder to find.
Kyle D. Harris
Regular Advisor

Re: NTP.conf

[oracle8i@mcsd4 bin]$ ls /usr/bin/*ntp*
/usr/bin/konsole_grantpty /usr/bin/nntplist


Thats what i got... looks odd.
Alexander Chuzhoy
Honored Contributor

Re: NTP.conf

issue
rpm -q ntp


this should return the ntp version installed if it was installed with rpm .
I suggest you to download the rpm and to istall it (If you want the updated version) or to take it from the installation media...


Olivier Drouin
Trusted Contributor

Re: NTP.conf

I use

3 * * * * rdate -s 142.X.X.X

in my root cron.

Anybody see issues with that ?

Sorry for the threadjack ;-).
Elmar P. Kolkman
Honored Contributor

Re: NTP.conf

Kyle,

Those commands have to do with nntp, which is used for accessing/managing newsgroups. It seems you don't have ntp installed on your system. So it would seem that's your first issue.

You could download the RPM from RedHat or install it from CD.

Then you can ask again for more info on the ntp.conf.
Every problem has at least one solution. Only some solutions are harder to find.