can't adjust time : not owner


 
Thread Tools Search this Thread
Operating Systems Solaris can't adjust time : not owner
# 1  
Old 02-24-2012
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 ?
# 2  
Old 02-24-2012
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...
# 3  
Old 02-24-2012
Thnx Duke, will try that out......
# 4  
Old 02-24-2012
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:

Code:
# 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.
This User Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to seperate text and adjust format like this?

in example.txt file is below ADD PDU:SRN=0,PDUID=LOCAL,NAME="PDU_0",PSV=LOW,MOG="PUBLIC",REFERABLE=YES; ADD PDU:SRN=2,PDUID=LOCAL,NAME="PDU_1",PSV=LOW,MOG="PUBLIC",REFERABLE=YES; ADD MODULE:MID=84,MT=DSU,SRN1=0,SN1=4,MNAME="DSU84"; ADD MODULE:MID=85,MT=DSU,SRN1=0,SN1=4,MNAME="DSU85"; How to... (2 Replies)
Discussion started by: swensens
2 Replies

2. Solaris

Privileges : modify dir/file owner by other that's not owner

i need to do the following operations in solaris 10: 1.change owner and group owner for files which are not owned by the current user and user group 2.to can delete files in the /tmp directory which are not of the current user 3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies

3. Shell Programming and Scripting

Script to adjust system time

Hello everyone, I am trying to write a script that will accomplish the following: - query current system time and store result into a variable - wait for some amount of time, say 300 seconds - reset system time to earlier queried time + 1 second I did some basic shell scripting (CSH... (11 Replies)
Discussion started by: xaiu
11 Replies

4. UNIX for Advanced & Expert Users

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

Hi all, We have some files are under 744 permissions and the the owner is say owner1 and group1. Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that. ... (14 Replies)
Discussion started by: TheGunMan
14 Replies

5. Solaris

Owner of file gets 'not owner' error for chgrp

Hi Folks, I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error. For example, when I am logged in as 'webadmin', I have the following file: ... (4 Replies)
Discussion started by: brizrobbo
4 Replies

6. Shell Programming and Scripting

How to adjust spacing

Is there a way to adjust spacing of a line using k shell? e.g I have a file below $ cat file1 AAA BBB CCC A B C AAAA BB CC I want each word to be adjusted with spaces to have 10 character length like below: AAA BBB CCC A B C AAAA BB CC Any... (4 Replies)
Discussion started by: stevefox
4 Replies

7. UNIX for Advanced & Expert Users

Adjust format file

Hi all... i have a question, and i don`t know what to do ... i have a flat file what is separated by ";" and i need format it... here is an example: this is what i have: AAA ; BBB ; 1 ; 1.1 ; 1.2 ; 1.3 ; 2 ; 2.1 ; 2.2 ; 2.3 ; 3 ; 3.1 ; 3.2 ; 3.3 ; ....... ......... there are a lot of... (4 Replies)
Discussion started by: DebianJ
4 Replies

8. UNIX for Advanced & Expert Users

adjust files

hi... i have a big problem, and i don't know how to solve it. here is the thing: i have 12 files, which are flat files, with several records(lines), and each record has 3 fields, wich are separated by pipe (|), something like this: file 1: 33|12|2000 33|22|3000 66|24|3000 99|48|4000... (7 Replies)
Discussion started by: DebianJ
7 Replies

9. Shell Programming and Scripting

Adjust the db script

Enclosing a script that is used everyday for database shutdown. In here you will find some code that checks oracle version. That part is very unnecessary since we use only 8.1.7 and will never go back.. Can anyone help me by modifying the code, to never use that part and readjust so script does... (1 Reply)
Discussion started by: ST2000
1 Replies

10. Filesystems, Disks and Memory

Cannot adjust division

I have a doubt with an error message, and i want to be sure if this is a normal situation or not. Situation: I was formating and installing a SCSI 36Gb HD with UNIX SCO 5.05, the problem happens when is making the division and filesystem on disk 1, and the message error is "Exit value 139... (1 Reply)
Discussion started by: jav_v
1 Replies
Login or Register to Ask a Question