Solaris 10 (05/09) xNTPD Startup Failure - How to Fix

Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 (05/09) xNTPD Startup Failure - How to Fix
# 1  
Old 09-12-2009
Solaris 10 (05/09) xNTPD Startup Failure - How to Fix

Dear All,

I installed the Solaris 2.10 (05/09) download on a Sparc platform, and wanted to configure the network time protocol daemon (xNTPD) to work as an NTP client.

Of course there are many web sites that trumpet the advise to simply copy the ntp.client file to the ntp.conf file, and then issue the svcadm enable ntp command. However, after careful study, it was determined that this command HAD NO EFFECT. Specifically, when you issue the command svcs ntp, the following text is displayed:

# svcs ntp
online 10:25:59 svc:/network/ntp:default

But if you request a process list and search for ntp, nothing is returned:

# ps -ef | grep ntp

Further examination reveals that the logfile for the ntp service:


Contains the following errors:

[ Sep 11 20:47:31 Enabled. ]
[ Sep 11 20:47:31 Method property group 'start' is not present. ]
[ Sep 11 20:48:56 Stopping because service disabled. ]
[ Sep 11 20:48:56 Method property group 'stop' is not present. ]
[ Sep 11 20:49:11 Enabled. ]



Studying these sites:

MISAMAP JAVA: Config VNC server OpenSolaris


The documentation contained in the second post provided a discussion of the Solaris Service Management Facility - the functionality that Sun developed to replace Inet.d.

Digging into the examples provided within this document, it was determined that the configuration of the SMF in regards to the xNTPD was incomplete/corrupted. This is significant because, as I stated in the opening paragraph, this was a brand new installation of Solaris on a Sparc Platform. So, in other words, we have a bug.

To enable SMF to correctly manage NTP, the following code was added to the SVC:/network/ntp:default script configuration for the ntp daemon:

(see absolute page 20 of the t-smf-devday-june-2005.pdf file)

start framework
start/exec astring /usr/lib/inet/xntpd
start/type astring method
refresh framework
refresh/exec astring /usr/lib/inet/xntpd
refresh/type astring method

After adding these lines to the configuration, the startup command sequence now works correctly:

svcadm refresh ntp
svcadm restart ntp

And a process list now shows the ntp daemon running correctly:

# ps -ef | grep ntp
root 2412 2105 0 10:54:24 pts/2 0:00 grep ntp
root 2358 1 0 10:25:59 ? 0:00 /usr/lib/inet/xntpd


For those of you that are highly knowledgeable in Solaris, can you please tell me whether or not I added all/correct variables to the SMF configuration? It works, yes, but is this the *correct* configuration? I have studied some of the other SMF configurations, but I was unsure reading them if this was correct.

Please advise.


# 2  
Old 09-12-2009
what is the output of:
# ntpq -p


also note: please use CODE tags when you post output from terminal!
# 3  
Old 09-12-2009
When I query for NTP time sources (as configured in my ntp.conf file) using the 'ntpq -p' command, I can see the time source that I am synchronizing against. Again - this confirms that xNTPD is working now as advertised.

My question does not have anything to do with the configuration of xNTPD, but rather with the Solaris SMF that controls NTPD.

Can anyone give me an idea as to how your SMF is configured for xNTPD?


Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

JVM startup script in Solaris

Hi, I've installed dynatrace on a SunOS(5.10) & I need to update its agent path in JVM start up script. Where can I find or which script starts JVM? Some Details here : Java location : /<server location>/oracle/forms/FRHome_1/jdk/jre/bin Please help me in this. I did some research... (2 Replies)
Discussion started by: raj100
2 Replies

2. Solaris

Solaris 10 startup scripts

Hi all, I have a server in maintenance mode and need to boot it up. Its due to a broken service "RepX". I need to stop the service from trying to start at boot up but i can't find where it is booting up from... it is not in any of the rcX.d directories and the two locations i have found it... (6 Replies)
Discussion started by: Tommyk
6 Replies

3. Solaris

Is there a way to debug the startup on Solaris?

Is there a way to debug the startup on a VT100 running Solaris 5? I have a problem related to file attributes that are resetting to there prior settings when the machine reboots. (3 Replies)
Discussion started by: jimcz2it
3 Replies

4. Solaris

Solaris 11 Express - freezes on startup!

I seem to be having a very irritating problem with my Solaris 11 Express fileserver which I built for my small home business. The basic problem is that the system will hang or freeze about 20 seconds into booting up. Grub comes up fine, and I can select between pre-napp-it and current build. It... (13 Replies)
Discussion started by: Smokin Whale
13 Replies

5. UNIX for Advanced & Expert Users

How to fix bootstrap failure in unix V4.0D?

hi! my computer is... system: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB Operating System: Digital Unix Console(SRM), Digital Unix V4.0D That computer is used for radar display. Application run on Unix. I have a problem now. I can't boot dkc0... (2 Replies)
Discussion started by: akz
2 Replies

6. Solaris

Nis startup in Solaris 8

Hello How can I check to see when nis server is starting? I look at /etc/rc2.d/ but I don't see it in there. Every time we have power outage problem. I have to start autof service manual. So I think it might have to do with nis server services. (1 Reply)
Discussion started by: congngo
1 Replies

7. Solaris

X server startup on Solaris 9

Hi, I have Solaris 9 installed on a SunFire V880. When the machine boots up, I get a message, "the X-server cannot be started on display:0". I searched the forum for possible solution, however, they are not applicable to my problem for two reasons: either the platform is different or the... (6 Replies)
Discussion started by: purveshkhatri
6 Replies

8. Shell Programming and Scripting

[Help] startup script on solaris 8

hi experts, i have some problem with my solaris 8 v890 server, is : the server running process called SS7 below is example process : PID STAT MODE HOST MUX OBJECT 384 ok LX|A USSDGmdn-1a spm/0 daemon 385 ok LX|A USSDGmdn-1a spm/2 ... (0 Replies)
Discussion started by: bucci
0 Replies

9. AIX

xntpd startup...Is it safe?

Hi, Have never run xntpd before. I have my ntp.conf file configured with server, trace file and drift file. I commented out the "broadcastclient" entry since I only want to get the time from a single source. Port 123 is in the /etc/services file for tcp and udp. Port 123 has been enabled in... (0 Replies)
Discussion started by: DenD
0 Replies

10. UNIX for Dummies Questions & Answers

solaris second cd failure

We have a problem on a Sparc Ultra 5 box when installing solaris. We boot from the CD-ROM then go through the install procedure adding IP address, domain, routing details, hard disk layout etc.. The problem arises when asked for the 2nd CD at this point you do get the option to "skip"... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
Login or Register to Ask a Question