LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-12-2010, 08:19 PM   #1
jfmorales
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Rep: Reputation: 0
Question net time set Command Fails with Success


On Red Hat Enterprise Linux Server release 5.4, I enter the command:

net time set -I 192.59.196.66

Where 192.59.196.66 is the IP address of a Windows Server 2008 time server. The response is:

/bin/date 071218072010.20 failed. Error was (Success)

The actual clock time does not get updated. However, evidently it did really communicate with the time server on 192.59.196.66, because the value in the response 071218072010.20 does correspond to the time on the time server, albeit in the somewhat bizarre format MMDDHHMMYYYY.SS.

I’ve been Googling around, but haven’t found an explanation of this Success failure! How can I get it to actually succeed?

Thanks, Joseph
 
Old 07-13-2010, 12:39 AM   #2
saifkhan123
Member
 
Registered: Apr 2009
Distribution: Red Hat/CentOS
Posts: 108

Rep: Reputation: 19
"Net" tool is a part of Samba package installed on your server, so may be there is some problem with Samba installation or configuration. The best way to synchronize the time is to use NTP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
set internet time from command line claudiom56 Linux - Newbie 1 09-02-2009 02:03 AM
Doub about `net time set` and daylight saving time Thakowbbery Linux - Software 0 10-17-2005 05:23 AM
date command do not keep time set shanenin Linux - Software 1 09-04-2004 08:16 PM
how set system time by command prompt? yenonn Linux - Newbie 9 08-25-2003 06:40 PM
M$ .Net - Success or Failure X11 General 15 05-28-2002 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration