Date is changed after rebooting Solaris OS.


 
Thread Tools Search this Thread
Operating Systems Solaris Date is changed after rebooting Solaris OS.
# 1  
Old 04-12-2010
Date is changed after rebooting Solaris OS.

Hi,
I have set the date on solaris system , but the the date is changed after rebooting the system . I was suspecting that it could sync with ntp server , so i disabled the NTP and checked, but still whenever i reboot the system , the date that i set is getting changed, Any idea how to come out of this issue,

Thank u very much for your time.

--TMR
# 2  
Old 04-12-2010
is it a sparc or x86 system? and how does the time change? to a random time or to something else?
# 3  
Old 04-12-2010
Its a Spark machine , it is changing to the old time, i mean before changing the time was

root@chevelle:/sdas#date
Sun Apr 12 15:44:37 IST 2010

i changed the time to

root@chevelle:/sdas#date
Sun Apr 12 15:44:37 IST 2009 (please note the change in the year)

after rebooting , it went back to 2010

root@chevelle:/sdas#date
Sun Apr 12 15:55:37 IST 2010.
# 4  
Old 04-12-2010
How did you disable NTP ?
What is in /etc/inet/ntp.conf ?

What did you type to change the system date? Were you logged in as root?

What do the good and bad dates look like?

(Sorry, posts crossed. Much of this is answered in the post above - except about NTP).
# 5  
Old 04-12-2010
content of the file:-

# Either a peer or server. Replace "XType" with a value from the
# table above.
server 127.127.1.0
#fudge 127.127.XType.0 stratum 0

broadcast 224.0.1.1 ttl 4

enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0




I gave

#svcadm disable ntp -- to disable the ntp.
# 6  
Old 04-12-2010
Maybe you have a root cron containing "ntpdate" ?
# 7  
Old 04-12-2010
Ok , how do i check that and how to come out of it?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Need to know the procedure to add the IP to Solaris 11 zone with rebooting

Hi I need to know the procedure to add the IP to Solaris 11 zone without rebooting the zone.. I did it on solaris 10 zones but don't know the procedure on solaris 11 zones without rebooting it (1 Reply)
Discussion started by: hb00
1 Replies

2. Shell Programming and Scripting

Date not correct so it changed to current date.

Hello, so basically i have a txt file containing "foto's" named YYYY-MM-DD_HH.mm.ss.jpeg. But since it can probably not convert it it changes the date to the current date. What am i doing wrong? #!/bin/bash inputDateFmt() { sed -e 's/_/ /g' -e 's/\./:/g' <<< "$1" } begindatum=$(date... (3 Replies)
Discussion started by: Rovester
3 Replies

3. Shell Programming and Scripting

Date format to be changed from DDMMYYYY to YYYYMMDD

My requirement is:- there will be files at a location each day with the date format DDMMYYYY. Novawise_Activity_Call_Notes_04022013.txt Novawise_Activity_Inbound_04022013.txt Novawise_Activity_Inbound_05022013.txt Novawise_Activity_Call_Notes_05022013.txt... (8 Replies)
Discussion started by: djrulz123
8 Replies

4. Solaris

How to auto start a service on rebooting a Solaris 5.10 x86 machine?

Hi all, How to auto start a snmpd deamon on rebooting a Solaris 5.10 x86 machine. snmpd's path: /opt/download/net-snmp/sbin Thank you in advance. (6 Replies)
Discussion started by: ziosnim
6 Replies

5. Solaris

Solaris on vmware rebooting itself

Hello Admins, I am facing an issue with Solaris system running/rebooting on vmware. It has VCS installed and configured. It is a 2nd node out of 3-node cluster. After long time I opened these 3 nodes to run. Rest 2 nodes are running OK. This 1 node is starting and rebooting itself. Attached... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

6. Shell Programming and Scripting

perl : date from excel(.xlsx) not printed properly(format is changed)

I am trying to convert xlsx sheet to a csv file. In .xlsx file there a cell with date Mon 08/27/12 while reading this cell using Spreadsheet::XLSX, the output is display with numeric value i.e., 41148. from Spreadsheet::XLSX module : use Text::Iconv; my $converter =... (1 Reply)
Discussion started by: giridhar276
1 Replies

7. Solaris

Solaris in vmware rebooting

Hello All, Solaris 10 which installed in Vmware workstation rebooting automatically and throwing the following error. Looks kernel thread issue, Need experts advice. Error: Warning: rpcmod:svc_default_stksize is set more than once in /etc/system/. "set rpcmod:svc_default_stksize =... (7 Replies)
Discussion started by: gowthamakanthan
7 Replies

8. Solaris

SUN SPARC rebooting problem, after Solaris 10 installation

Hi All, I had install the solaris 10 into the SUNFIRE V890 server, after installed, it keep rebooting. I wish to enter the OK mode again, and install back the Solaris 10. i had try the "break" button and "stop+A" button, but all fail. kindly advice... (4 Replies)
Discussion started by: SmartAntz
4 Replies

9. Solaris

problem in rebooting solaris server

Hi, While we rebooting solaris server ,the system going to Maintenance mode instead of login console. even we are not able to run fsck command . Thanks in advanced for help. log attached FYI Executing last command: boot Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Discussion started by: helplineinc
3 Replies

10. UNIX for Advanced & Expert Users

Solaris 9 server hangs, when rebooting

Hi, We have a SunFire V880, hooked up with 2 T3 arrays. When ever we issue a reboot command on the system, it hangs at the same place right where it says syncing file systems done. To bring it back we shutdown power and it comes clean. By the way init 6 command works fine. Has anyone come... (3 Replies)
Discussion started by: smohd
3 Replies
Login or Register to Ask a Question