LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Closed Thread
  Search this Thread
Old 08-27-2008, 06:27 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
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 ?)

Last edited by czezz; 08-27-2008 at 06:55 AM.
 
Old 08-27-2008, 08:06 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

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


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Despite ntpd and hourly `hwclock --adjust`, I had to `ntpdate` to fix 5 minute drift? GrapefruiTgirl Linux - Software 3 06-14-2008 11:44 AM
NTPDATE -vs- NTPd? carlosinfl Linux - Networking 3 02-25-2007 02:05 PM
ntpdate gets reply from server, ntpd doesn't (confused!) Lindahl Linux - Software 5 06-20-2006 06:26 PM
NTPDATE will *NOT* work jon_k Linux - Software 8 01-02-2005 05:41 AM
ntpdate and port adcripps Linux - General 2 09-06-2002 04:38 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration