The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DHCP problem and eth1 problem sllinux UNIX for Dummies Questions & Answers 0 4 Weeks Ago 02:45 AM
user login problem & Files listing problem. pernasivam AIX 1 06-18-2009 09:09 AM
Loop problem with one more problem aliahsan81 Shell Programming and Scripting 3 01-07-2009 02:02 AM
problem in finding a hardware problem girish.batra SUN Solaris 8 09-09-2008 10:10 AM
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 10:10 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Days Ago
sparcman sparcman is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 24
Cool NTP problem.

Hi,

I have edited the /etc/inet/ntp.conf file to point to a new time server. When I restart ntp on Solaris 10 using 'svcadm disable/enable ntp' it still points to the old ntp server when I run a 'ntpq -p'.

Any ideas?

Thanks.

Sparcman
  #2 (permalink)  
Old 4 Days Ago
solaris_user solaris_user is offline
Registered User
  
 

Join Date: Aug 2009
Location: Croatia
Posts: 83
create an entry for that service in file for startup services or create a scheduled job using cron
  #3 (permalink)  
Old 4 Days Ago
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,833
Try restarting the service using
Code:
svcadm restart ntp
or the script in /etc/rc2.d/

If that doesn't work, it might be that your NTP service is called ntpd or xntpd.
  #4 (permalink)  
Old 4 Days Ago
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,378
What says:
Code:
svcs -xv ntp
tail /var/svc/log/network-ntp:default.log
?
  #5 (permalink)  
Old 3 Days Ago
sparcman sparcman is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 24
Thumbs up

Thanks for your help everyone. It turns out that when I stopped ntp using svcadm all the processes weren't stopped. I has to kill the ntp processes that were left. After that I started ntp again and it worked.

Thanks,

Sparcman
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0