LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   ntpdate - ntpd (https://www.linuxquestions.org/questions/solaris-opensolaris-20/ntpdate-ntpd-665744/)

czezz 08-27-2008 06:27 AM

ntpdate - ntpd
 
*** !!! DUPLICATED! PLEASE REMOVE !!! ***
*** !!! DUPLICATED! PLEASE REMOVE !!! ***
*** !!! DUPLICATED! PLEASE REMOVE !!! ***

In my network there is NTP Server which works for other machines.
Im trying to set up ntp client on my Solaris 10 machine.


I have already found link HOW-TO: http://learning-solaris.com/unix-sol...an-ntp-client/

but it seems not working for me.



My /etc/inet/ntp.conf looks like this:
Code:

#multicastclient 224.0.1.1
ntpdate -b 1192.168.1.18

When I start:
Code:

# svcadm -v enable svc:/network/ntp
network/ntp enabled.

Then checking is NTPd is running it gives me back only this:
Code:


bash-3.00# pgrep -lf ntp
26341 /usr/lib/inet/xntpd

system data is not changing.
But if I stop /etc/inet/ntp.conf to disable state and execute:
Code:

ntpdate -m 1192.168.1.18
then system time will be changed.

The problem is that I want to have NTPd which should look after system time and sync. it to server time.

(Ofcoutse I can do workarount placing "ntpdate -m 1192.168.1.18" to a crontab... but it should be done by NTPd, shouldnt it ?)

jlliagre 08-27-2008 08:06 AM

Closed per user request as a duplicate of http://www.linuxquestions.org/questi...e-ntpd-665745/


All times are GMT -5. The time now is 10:59 PM.