SunOS sun4v sparc ntp service in maintenance mode.


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris SunOS sun4v sparc ntp service in maintenance mode.
# 1  
Sun SunOS sun4v sparc ntp service in maintenance mode.

Hi experts,

This is a production server.
Host information's are below

Code:
SunOS hostname_srv 5.10 Generic_150400-09 sun4v sparc sun4v

Now issue with ntp service, This host have zone in it with 9 hosts, Every hosts have ntp service issue. While i check for the service status it's in maintenance mode. Please have a look into below screenshot.

Image

While getting more information about service using -x option found that service not running.

Code:
# svcs -x ntp

Image


Troubleshooting's what i have performed:

Copied xntp xntpd from some other working server into current server using scp.

Code:
# cd /tmp

Changes the permission for those files and changed the ownership.

Code:
# chmod 555 xntp xntpd
# chown root:bin xntp xntpd

Then move those files to there corresponding directory.

Code:
# mv /tmp/xntp /lib/svc/method/
# mv /tmp/xntpd /usr/lib/inet/

After moving those two files i have disabled the ntp service and enable the service.

Code:
# svcadm disable svc:/network/ntp:default
# svcadm enable svc:/network/ntp:default

Then Checked for the status of ntp service.

Code:
# svcs ntp

Image

This worked for me temporally, After some time it went into maintenance mode again. How can i fix this issue permanently.
# 2  
Have a look at /var/svc/log/network-ntp:default.log, it might have useful information about why the service is failing.
This User Gave Thanks to hergp For This Post:
# 3  
This is the expected behavior. You should simply disable the ntp service in all zones but the global one. There is no point having multiple ntp services trying to synchronize the single OS clock anyway.
If for some reason the global zone has no access to a ntp server but some non global one has, you can disable ntp on the global zone and enable it on that non global one. You must in that case grant the permission to set the clock to the latter.
This User Gave Thanks to jlliagre For This Post:
# 4  
Sun SunOS sun4v sparc ntp service in maintenance mode.

Quote:
Originally Posted by jlliagre
This is the expected behavior. You should simply disable the ntp service in all zones but the global one. There is no point having multiple ntp services trying to synchronize the single OS clock anyway.
If for some reason the global zone has no access to a ntp server but some non global one has, you can disable ntp on the global zone and enable it on that non global one. You must in that case grant the permission to set the clock to the latter.
Service up and running (Online), But in zones it's disabled. Thanks
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #481
Difficulty: Medium
Generally speaking, programs do not start out as source code.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Maintenance mode

i booted into maintenance mode boot -- -s from the console I got the Root password for system maintenance (control-d to bypass) I did control -d and then logged in it told me that I was booting into boot -s but after I did a control -d and logged in who -r shows ... (9 Replies)
Discussion started by: goya
9 Replies

2. UNIX for Advanced & Expert Users

Service smf ntp maintenance

Hello, My ntp service goes in maintenance mode in Solaris 11. I do "svcadm clear ntp", the service is back but after 1 minute it crashes but automatically restarted. After the third attempt it goes in maintenance again : After the clear : 1 minute later it crashes but it is... (2 Replies)
Discussion started by: bob74350
2 Replies

3. AIX

How to put VIOS in Maintenance mode?

Hi this may be a easy question to answer but thanks in advance. So I was able to download the VIOS media from IBM and currently I am burning it to a cd/dvd right now. The steps I've collected so far are from the net. can you please confirm and add on to the steps if there are any steps... (0 Replies)
Discussion started by: Adnans2k
0 Replies

4. Solaris

How to scan for LUNs in SunOS sun4v sparc?

Hi everyone, We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue. SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v Update: -------- I... (9 Replies)
Discussion started by: babinlonston
9 Replies

5. Solaris

RPC bind service in maintenance mode

Hi, I have an issue with RPC bind service and its failing with status 1. any help would be much appreciated. THanks (2 Replies)
Discussion started by: Yakub Humami
2 Replies

6. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

7. Solaris

Helpme !! ssh service in maintenance mode

Hi Guys, Virtual Machine - Solaris 10 ssh service is in maintenance mode, when i tried to disable it it got disabled but when i enabling it ( svcadm enable ssh) it is coming in maintenance mode...... Pls help (10 Replies)
Discussion started by: saurabh84g
10 Replies

8. Solaris

Samba service in maintenance mode ???

I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba. Samba has worked on this machine but since the machine has been re-booted Samba has not worked. Machine details are: cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008... (2 Replies)
Discussion started by: KenLynch
2 Replies

9. Solaris

Process in maintenance mode, why?

Hi, I have installed Hudson on a Solaris 11 server, using the installation instructions available at Paul Oswald: Hudson Solaris SMF Manifest. When I perform svcs -l hudson, I get: fmri svc:/application/hudson:default name Hudson Continuous Build Server enabled true... (4 Replies)
Discussion started by: JVerstry
4 Replies

10. Solaris

FTP is in maintenance mode always

Hello All, On solaris 10 server i could see the FTP service is in maintenance mode always :mad: Could some assist? svcs -xv svc:/network/nfs/nlockmgr:default (NFS lock manager) State: maintenance since Tue 28 Jul 2009 11:47:55 AM BST Reason: Restarting too quickly. See: Sun... (5 Replies)
Discussion started by: bullz26
5 Replies

Featured Tech Videos