I'm normally used to using FreeBSD, which has the ntpdate command to update the server's time to match a time server. However, that command doesn't exist on redhat. What's the equivalent? I badly need to update the time on my webserver.
[root@web root]# man ntpd
No manual entry for ntpd
[root@web root]# ntpd now.okstate.edu
bash: ntpd: command not found
[root@web root]#
Posts: 3,631
Threads: 899
Joined: Dec 2003
Reputation:
0
are you logged in as root using su - ?
thats
su -
what version of redhat are you using ?
check poackage manager for installing the ntpd rpm
or do a locate ntpd
cheers
[root@web etc]# su -
[root@web root]# ntpd
bash: ntpd: command not found
[root@web root]# locate ntpd
[root@web root]# uname -a
Linux web.snagged.net 2.4.18-27.7.x #1 Fri Mar 14 06:44:53 EST 2003 i686 unknown
i think its redhat 9.0
where would i find the package manager?
Posts: 3,631
Threads: 899
Joined: Dec 2003
Reputation:
0
try
up2date ntpd
or if you have a gui (X) click on the red hat, system settings/add remove applications
that will bring up package manager
cat /etc/redhat-release will tell you what version of redhat you are using
cheers
anyweb
[root@web root]# up2date ntpd
Error communicating with server. The message was:
SSL_connect error
You have new mail in /var/spool/mail/root
[root@web root]#
[root@web root]# cat /etc/redhat-release
Red Hat Linux release 7.2 (Enigma)
[root@web root]#
I can't do a GUI because i'm SSH'd into a remote location
I updated the up2date SSL certificate, then tried to up2date ntpd.
[root@web root]# up2date ntpd
Fetching package list for channel: redhat-linux-i386-7.2...
########################################
Fetching Obsoletes list for channel: redhat-linux-i386-7.2...
########################################
Fetching rpm headers...
None of the packages you requested were found, or they are already updated.
[root@web root]# nptd
bash: nptd: command not found