can't adjust time : not owner

Hi experts,
I m new to solaris. I am getting following errror in /var/adm/messages file on
one of the solaris 10 zones -

xntpd[11886]: [ID 471322 daemon.error] Can't set time of day: Not owner

xntpd daemon is online.

Any help on this ?

you can enable priv debugging with ppriv -D pid for your shell and after this have a look in your messages or the shell output while starting the ntpd from commandline...

Thnx Duke, will try that out......

The clock is handled by the kernel. There is a single Solaris kernel instance shared by all zones. Having several zones competing to adjust the time would be at least inefficient and probably the source of many subtle or not so subtle issues.

That's the reason why the global zone is by default the only one allowed to set the clock.

Should you want to grant this possibility to a non global zone, just add the sys_time privilege to the zone:

# zonecfg -z ntpzone
zonecfg:ntpzone> set limitpriv="default,sys_time"

Just make sure no more than one zone is using this privilege at any time.

1 Like