FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-27-2012, 10:17 PM
Patrick Dupre
 
Default synchronize time

Hello,

I am runing chrony
chronyd.service - NTP client/server
Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100;
35min ago

Main PID: 4150 (chronyd)
CGroup: name=systemd:/system/chronyd.service
└ 4150 /usr/sbin/chronyd -u chrony

but my clock is still not on time.
How can I synchronize is manually (before I sued to do ntpdate
time.server.


Thank.

--
---
================================================== ========================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre@york.ac.uk
================================================== ========================--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-27-2012, 10:34 PM
Kevin Martin
 
Default synchronize time

On 02/27/2012 05:17 PM, Patrick Dupre wrote:
Hello,




I am runing chrony


chronyd.service - NTP client/server


***** Loaded: loaded (/lib/systemd/system/chronyd.service;
enabled)


***** Active: active (running) since Mon, 27 Feb 2012 22:42:01
+0100; 35min ago


****Main PID: 4150 (chronyd)


***** CGroup: name=systemd:/system/chronyd.service


********* â”” 4150 /usr/sbin/chronyd -u chrony




but my clock is still not on time.


How can I synchronize is manually (before I sued to do ntpdate
time.server.




Thank.










man date



Kevin



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-27-2012, 10:36 PM
Patrick Dupre
 
Default synchronize time

On Mon, 27 Feb 2012, Kevin Martin wrote:




On 02/27/2012 05:17 PM, Patrick Dupre wrote:

Hello,

I am runing chrony
chronyd.service - NTP client/server
Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100; 35min ago
Main PID: 4150 (chronyd)
CGroup: name=systemd:/system/chronyd.service
� 4150 /usr/sbin/chronyd -u chrony

but my clock is still not on time.
How can I synchronize is manually (before I sued to do ntpdate time.server.

I said SYNCHRONIZE not set time manually



Thank.




man date

Kevin



--
---
================================================== ========================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre@york.ac.uk
================================================== ========================--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-27-2012, 10:40 PM
Rick Stevens
 
Default synchronize time

On 02/27/2012 03:36 PM, Patrick Dupre wrote:

On Mon, 27 Feb 2012, Kevin Martin wrote:




On 02/27/2012 05:17 PM, Patrick Dupre wrote:

Hello,

I am runing chrony
chronyd.service - NTP client/server
Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100; 35min
ago
Main PID: 4150 (chronyd)
CGroup: name=systemd:/system/chronyd.service
�"" 4150 /usr/sbin/chronyd -u chrony

but my clock is still not on time.
How can I synchronize is manually (before I sued to do ntpdate
time.server.

I said SYNCHRONIZE not set time manually


Make sure you have appropriate "server w.x.y.z" lines in your
chrony.conf file (where ever it is, default /etc/chrony.conf) and

make sure your firewall allows NTP. I also don't understand why you
didn't just stick with ntpd.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent -
- process. Prepare to vi." -
----------------------------------------------------------------------
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-27-2012, 10:44 PM
Ed Greshko
 
Default synchronize time

On 02/28/2012 07:40 AM, Rick Stevens wrote:
> Make sure you have appropriate "server w.x.y.z" lines in your
> chrony.conf file (where ever it is, default /etc/chrony.conf) and
> make sure your firewall allows NTP. I also don't understand why you
> didn't just stick with ntpd.

Probably because chronyd is the default/replacement for ntpd starting
with F16.

--
Do not condemn the judgment of another because it differs from your own.
You may both be wrong. -- Dandemis
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-28-2012, 12:49 AM
Kevin Martin
 
Default synchronize time

On 02/27/2012 05:36 PM, Patrick Dupre wrote:
> On Mon, 27 Feb 2012, Kevin Martin wrote:
>
>>
>>
>> On 02/27/2012 05:17 PM, Patrick Dupre wrote:
>>> Hello,
>>>
>>> I am runing chrony
>>> chronyd.service - NTP client/server
>>> Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
>>> Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100; 35min ago
>>> Main PID: 4150 (chronyd)
>>> CGroup: name=systemd:/system/chronyd.service
>>> "" 4150 /usr/sbin/chronyd -u chrony
>>>
>>> but my clock is still not on time.
>>> How can I synchronize is manually (before I sued to do ntpdate time.server.
> I said SYNCHRONIZE not set time manually
>
>>>
>>> Thank.
>>>
>>>
>>>
>> man date
>>
>> Kevin
>>
>
I understand that but ntpd (and possibly chrony) had a limit as to how far out of sync your system could get before it would not try
to sync with the ntp servers, hence you had to set the date/time manually first to a time within a minute or so and then start the
daemon and it would sync up.

Kevin
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-28-2012, 01:06 AM
Marvin Kosmal
 
Default synchronize time

On Mon, Feb 27, 2012 at 3:17 PM, Patrick Dupre <patrick.dupre@york.ac.uk> wrote:

Hello,



I am runing chrony

chronyd.service - NTP client/server

* * * * *Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)

* * * * *Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100; 35min ago

* * * *Main PID: 4150 (chronyd)

* * * * *CGroup: name=systemd:/system/chronyd.service

* * * * * * * * *└ 4150 /usr/sbin/chronyd -u chrony



but my clock is still not on time.

How can I synchronize is manually (before I sued to do ntpdate time.server.



Thank.



--


You can use rdate...

install rdate with yum or whatever...

then as root

rdate time.mit.edu


YMMV

Marvin






*
---

================================================== ========================

*Patrick DUPRÉ * * * * * * * * * * *| * |

*Department of Chemistry * * * * * *| * | *Phone: (44)-(0)-1904-434384

*The University of York * * * * * * | * | *Fax: * (44)-(0)-1904-432516

*Heslington * * * * * * * * * * * * | * |

*York YO10 5DD *United Kingdom * * *| * | *email: patrick.dupre@york.ac.uk

================================================== ========================
--

users mailing list

users@lists.fedoraproject.org

To unsubscribe or change subscription options:

https://admin.fedoraproject.org/mailman/listinfo/users

Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Have a question? Ask away: http://ask.fedoraproject.org




--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-28-2012, 09:23 AM
Patrick Dupre
 
Default synchronize time

On Mon, 27 Feb 2012, Rick Stevens wrote:


On 02/27/2012 03:36 PM, Patrick Dupre wrote:

On Mon, 27 Feb 2012, Kevin Martin wrote:




On 02/27/2012 05:17 PM, Patrick Dupre wrote:

Hello,

I am runing chrony
chronyd.service - NTP client/server
Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100; 35min
ago
Main PID: 4150 (chronyd)
CGroup: name=systemd:/system/chronyd.service
�"" 4150 /usr/sbin/chronyd -u chrony

but my clock is still not on time.
How can I synchronize is manually (before I sued to do ntpdate
time.server.

I said SYNCHRONIZE not set time manually


Make sure you have appropriate "server w.x.y.z" lines in your chrony.conf
file (where ever it is, default /etc/chrony.conf) and

make sure your firewall allows NTP.

THis is what is inside the chrony.conf file:


server 0.fedora.pool.ntp.org iburst
server 1.fedora.pool.ntp.org iburst
server 2.fedora.pool.ntp.org iburst
server 3.fedora.pool.ntp.org iburst


Firewall configuration does not show any ntpd server. Do I need to add it
manually ?




I also don't understand why you

didn't just stick with ntpd.


My understanding was that ntpd was depreciated!




----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent -
- process. Prepare to vi." -
----------------------------------------------------------------------



--
---
================================================== ========================
Patrick DUPR? | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre@york.ac.uk
================================================== ========================--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-28-2012, 09:27 AM
Patrick Dupre
 
Default synchronize time

On Mon, 27 Feb 2012, Kevin Martin wrote:




On 02/27/2012 05:36 PM, Patrick Dupre wrote:

On Mon, 27 Feb 2012, Kevin Martin wrote:




On 02/27/2012 05:17 PM, Patrick Dupre wrote:

Hello,

I am runing chrony
chronyd.service - NTP client/server
Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100; 35min ago
Main PID: 4150 (chronyd)
CGroup: name=systemd:/system/chronyd.service
"" 4150 /usr/sbin/chronyd -u chrony

but my clock is still not on time.
How can I synchronize is manually (before I sued to do ntpdate time.server.

I said SYNCHRONIZE not set time manually



Thank.




man date

Kevin




I understand that but ntpd (and possibly chrony) had a limit as to how far out of sync your system could get before it would not try
to sync with the ntp servers, hence you had to set the date/time manually first to a time within a minute or so and then start the
daemon and it would sync up.


Originally there was one hour difference.
Now there are 1 minute.

--
---
================================================== ========================
Patrick DUPR? | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre@york.ac.uk
================================================== ========================--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 02-28-2012, 09:28 AM
Patrick Dupre
 
Default synchronize time

On Mon, 27 Feb 2012, Marvin Kosmal wrote:


On Mon, Feb 27, 2012 at 3:17 PM, Patrick Dupre <patrick.dupre@york.ac.uk>wrote:


Hello,

I am runing chrony
chronyd.service - NTP client/server
Loaded: loaded (/lib/systemd/system/chronyd.**service; enabled)
Active: active (running) since Mon, 27 Feb 2012 22:42:01 +0100;
35min ago
Main PID: 4150 (chronyd)
CGroup: name=systemd:/system/chronyd.**service
└ 4150 /usr/sbin/chronyd -u chrony

but my clock is still not on time.
How can I synchronize is manually (before I sued to do ntpdate time.server.

Thank.

--




You can use rdate...

install rdate with yum or whatever...

then as root

rdate time.mit.edu

rdate: timeout for time.mit.edu
rdate: timeout for 0.fedora.pool.ntp.org


--
---
================================================== ========================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre@york.ac.uk
================================================== ========================--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 07:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org