could someone send me a working ntp.conf so i can test it out?

On Wed 2005-03-30 (10:18), gareth wrote:
> yep it's on dhcp ;( is there a way to get around that? restore the original
> ntp.conf after each lease renewal?
> 
> On Fri 2005-03-18 (10:10), Bernard Li wrote:
> > Hi Gareth:
> > 
> > Your headnode is on DHCP?  The problem here is dhclient overwrote you're
> > the ntp.conf on the headnode which ntpconfig has modified to work with
> > your client nodes.
> > 
> > Cheers,
> > 
> > Bernard
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of gareth
> > > Sent: Friday, March 18, 2005 1:16
> > > To: oscar-devel@lists.sourceforge.net
> > > Subject: Re: [Oscar-devel] FW: [Oscar-users] ntp
> > > 
> > > On Fri 2005-03-18 (00:51), Bernard Li wrote:
> > > >    Hey Gareth:
> > > > 
> > > >    Can you post ntp.conf for the _headnode_ as well?
> > > 
> > > # generated by /sbin/dhclient-script
> > > restrict default ignore
> > > restrict 127.0.0.1
> > > driftfile /var/lib/ntp/drift
> > > broadcastdelay 0.008
> > > authenticate yes
> > > keys /etc/ntp/keys
> > > restrict 137.158.128.11 nomodify notrap noquery server 137.158.128.11
> > > 
> > > >    Also, do you have 2 nics on your headnode (one for 
> > > public internet,
> > > >    the other for cluster LAN)?
> > > 
> > > yep. the headnode updates perfectly off the public NIC & the 
> > > node can see the internal NIC = 'oscar_server' from /etc/hosts fine
> > > 
> > > >    This may be a FC3 specific issue.  Will you be able to 
> > > test this on a
> > > >    FC2 system and try to re-produce the error?
> > > 
> > > probably not anytime soon :/
> > > 
> > > >      
> > > _________________________________________________________________
> > > > 
> > > >    From: [EMAIL PROTECTED] on behalf of gareth
> > > >    Sent: Fri 18/03/2005 12:39 AM
> > > >    To: oscar-devel@lists.sourceforge.net
> > > >    Subject: Re: [Oscar-devel] FW: [Oscar-users] ntp
> > > > 
> > > >    On Fri 2005-03-18 (00:23), Bernard Li wrote:
> > > >    >    This is not necessarily a problem - some times it 
> > > takes a while
> > > >    before
> > > >    >    the clients will be able to properly sync with the 
> > > time server on
> > > >    the
> > > >    >    headnode...
> > > >    >
> > > >    >    What's the output of 'ntpq -p' on the slave node and on the
> > > >    headnode?
> > > >    ah sweet, a new command
> > > >    [EMAIL PROTECTED]:~# ntpq -p
> > > >         remote           refid      st t when poll reach   delay
> > > >    offset  jitter
> > > >    
> > > ======================================================================
> > > >    ========
> > > >    *nom.uct.ac.za   137.158.128.7    3 u  880 1024  377    3.104
> > > >    -5.013   0.888
> > > >    [EMAIL PROTECTED]:~# ntpq -p
> > > >         remote           refid      st t when poll reach   delay
> > > >    offset  jitter
> > > >    
> > > ======================================================================
> > > >    ========
> > > >     dvxgar001.stu.u .INIT.          16 u    - 1024    0    
> > > 0.000    0.000
> > > >    4000.00
> > > >    *LOCAL(0)        LOCAL(0)        10 l    4   64  377    0.000
> > > >    0.000   0.004
> > > >    dvxgar001.stu = head node
> > > >    nom.uct.ac.za = external timeserver
> > > >    >    Did you check this after the cluster has just been 
> > > built or has
> > > >    it
> > > >    >    been running for a while?
> > > >    it's been running for awhile, still gives the errors. the head &
> > > >    node's times
> > > >    are a good 8 seconds out
> > > >    >    From: [EMAIL PROTECTED] on 
> > > behalf of gareth
> > > >    >    Sent: Thu 17/03/2005 11:57 PM
> > > >    >    To: oscar-devel@lists.sourceforge.net
> > > >    >    Subject: Re: [Oscar-devel] FW: [Oscar-users] ntp
> > > >    >
> > > >    >    yo
> > > >    >    [EMAIL PROTECTED]:~# /etc/init.d/ntpd start
> > > >    >    ntpd: Synchronizing with time server:
> > > >    [FAILED]
> > > >    >    Starting ntpd:                                      
> > >        [  OK
> > > >    ]
> > > >    >    /etc/ntp.conf attached
> > > >    >    On Thu 2005-03-17 (10:13), Bernard Li wrote:
> > > >    >    > Hey Gareth:
> > > >    >    >
> > > >    >    > Can you post the /etc/ntp.conf on node1?  Also, 
> > > please also
> > > >    post the
> > > >    >    > error message when you run /etc/init.d/ntpd start 
> > > on that node.
> > > >    >    >
> > > >    >    > Thanks,
> > > >    >    >
> > > >    >    > Bernard
> > > >    >    >
> > > >    >    > > -----Original Message-----
> > > >    >    > > From: [EMAIL PROTECTED]
> > > >    >    > > 
> > > [[1][1]mailto:[EMAIL PROTECTED] On
> > > >    Behalf Of
> > > >    >    gareth
> > > >    >    > > Sent: Thursday, March 17, 2005 1:55
> > > >    >    > > To: oscar-users@lists.sourceforge.net
> > > >    >    > > Subject: Re: [Oscar-users] ntp
> > > >    >    > >
> > > >    >    > > 4.1 branch, revision 2995
> > > >    >    > >
> > > >    >    > > On Thu 2005-03-17 (01:26), Bernard Li wrote:
> > > >    >    > > >    Which version of OSCAR are you running?
> > > >    >    > > >
> > > >    >    > > >    Cheers,
> > > >    >    > > >
> > > >    >    > > >    Bernard
> > > >    >    > > >
> > > >    >    > >
> > > >    _________________________________________________________________
> > > >    >    > > >
> > > >    >    > > >    From: 
> > > [EMAIL PROTECTED] on behalf
> > > >    of
> > > >    >    gareth
> > > >    >    > > >    Sent: Thu 17/03/2005 1:09 AM
> > > >    >    > > >    To: oscar-users@lists.sourceforge.net
> > > >    >    > > >    Subject: [Oscar-users] ntp
> > > >    >    > > >
> > > >    >    > > >    hey, it seems that ntp on the nodes isn't working.
> > > >    >    > > starting up ntpd
> > > >    >    > > >    fails. also:
> > > >    >    > > >    [EMAIL PROTECTED]:~# /etc/init.d/ntpd stop
> > > >    >    > > >    Shutting down ntpd:
> > > >    >    > >   [  OK  ]
> > > >    >    > > >    [EMAIL PROTECTED]:~# ntpdate oscar_server
> > > >    >    > > >    17 Mar 10:56:03 ntpdate[2526]: no server 
> > > suitable for
> > > >    >    > > synchronization
> > > >    >    > > >    found
> > > >    >    > > >    even tho oscar_server is correctly 
> > > pointing to the head
> > > >    node
> > > >    >    > > >    (dvxgar001), on which:
> > > >    >    > > >    [EMAIL PROTECTED]:~# lsof -i | grep ntp
> > > >    >    > > >    ntpd      3558     ntp    4u  IPv4  39918       UDP
> > > >    *:ntp
> > > >    >    > > >    ntpd      3558     ntp    5u  IPv4  39919       UDP
> > > >    >    > > >    dvxgar001.stu.uct.ac.za:ntp
> > > >    >    > > >    ntpd      3558     ntp    6u  IPv4  39920       UDP
> > > >    >    > > >    dvxgar001.stu.uct.ac.za:ntp
> > > >    >    > > >    ntpd      3558     ntp    7u  IPv4  39921       UDP
> > > >    >    > > >    localhost.localdomain:ntp
> > > >    >    > > >    & the head node is correctly syncing with 
> > > the external
> > > >    source
> > > >    >    > > >    also out've interest the awesome 
> > > instructions give an
> > > >    >    > > nfs restriction
> > > >    >    > > >    example
> > > >    >    > > >    under tcp wrappers:
> > > >    >    > > >    /etc/hosts.deny:
> > > >    >    > > >    ALL: ALL
> > > >    >    > > >    /etc/hosts.allow:
> > > >    >    > > >    portmap:    .domain.net
> > > >    >    > > >    rpc.mountd: .domain.net
> > > >    >    > > >    sshd:       ALL
> > > >    >    > > >    which doesn't work (nodes can't mount 
> > > /home), even when
> > > >    >    > > i change my
> > > >    >    > > >    domain
> > > >    >    > > >    to 192.168.1.0/255.255.255.0
> > > >    >    > > >    when i change /etc/hosts.allow to:
> > > >    >    > > >    ALL:    192.168.1.0/255.255.255.0
> > > >    >    > > >    sshd:   ALL
> > > >    >    > > >    it works
> > > >    >    > > >    
> > > -------------------------------------------------------
> > > >    >    > > >    SF email is sponsored by - The IT Product Guide
> > > >    >    > > >    Read honest & candid reviews on hundreds 
> > > of IT Products
> > > >    from
> > > >    >    real
> > > >    >    > > >    users.
> > > >    >    > > >    Discover which products truly live up to 
> > > the hype. Start
> > > >    >    > > reading now.
> > > >    >    > > >
> > > >    [1][2][2]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    >    > > >    _______________________________________________
> > > >    >    > > >    Oscar-users mailing list
> > > >    >    > > >    Oscar-users@lists.sourceforge.net
> > > >    >    > > >
> > > >    >    
> > > [2][3][3]https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    >    > > >
> > > >    >    > > > References
> > > >    >    > > >
> > > >    >    > > >    1.
> > > >    [4][4]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    >    > > >    2.
> > > >    >    
> > > [5][5]https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    >    > >
> > > >    >    > >
> > > >    >    > > -------------------------------------------------------
> > > >    >    > > SF email is sponsored by - The IT Product Guide 
> > > Read honest &
> > > >    >    > > candid reviews on hundreds of IT Products from 
> > > real users.
> > > >    >    > > Discover which products truly live up to the hype. Start
> > > >    reading
> > > >    >    now.
> > > >    >    > > 
> > > [6][6]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    >    > > _______________________________________________
> > > >    >    > > Oscar-users mailing list
> > > >    >    > > Oscar-users@lists.sourceforge.net
> > > >    >    > >
> > > >    [7][7]https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    >    > >
> > > >    >    >
> > > >    >    >
> > > >    >    > -------------------------------------------------------
> > > >    >    > SF email is sponsored by - The IT Product Guide
> > > >    >    > Read honest & candid reviews on hundreds of IT 
> > > Products from
> > > >    real
> > > >    >    users.
> > > >    >    > Discover which products truly live up to the hype. Start
> > > >    reading
> > > >    >    now.
> > > >    >    > [8][8]http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> > > >    >    > _______________________________________________
> > > >    >    > Oscar-devel mailing list
> > > >    >    > Oscar-devel@lists.sourceforge.net
> > > >    >    > 
> > > [9][9]https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > >    >
> > > >    > References
> > > >    >
> > > >    >    1. [10]mailto:[EMAIL PROTECTED]
> > > >    >    2. 
> > > [11]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    >    3. 
> > > [12]https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    >    4. 
> > > [13]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    >    5. 
> > > [14]https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    >    6. 
> > > [15]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    >    7. 
> > > [16]https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    >    8. [17]http://ads.osdn.com/?ad_ide95&alloc_id
> > > >    >    9. 
> > > [18]https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > >    -------------------------------------------------------
> > > >    SF email is sponsored by - The IT Product Guide
> > > >    Read honest & candid reviews on hundreds of IT Products from real
> > > >    users.
> > > >    Discover which products truly live up to the hype. Start 
> > > reading now.
> > > >    [19]http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    _______________________________________________
> > > >    Oscar-devel mailing list
> > > >    Oscar-devel@lists.sourceforge.net
> > > >    [20]https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > > 
> > > > References
> > > > 
> > > >    1. mailto:[EMAIL PROTECTED]
> > > >    2. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    3. https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    4. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    5. https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    6. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >    7. https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >    8. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> > > >    9. https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > >   10. mailto:[EMAIL PROTECTED]
> > > >   11. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >   12. https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >   13. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >   14. https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >   15. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >   16. https://lists.sourceforge.net/lists/listinfo/oscar-users
> > > >   17. http://ads.osdn.com/?ad_ide95&alloc_id
> > > >   18. https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > >   19. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > >   20. https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > 
> > > 
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide Read honest & 
> > > candid reviews on hundreds of IT Products from real users.
> > > Discover which products truly live up to the hype. Start reading now.
> > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > _______________________________________________
> > > Oscar-devel mailing list
> > > Oscar-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/oscar-devel
> > > 
> > 
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> > _______________________________________________
> > Oscar-devel mailing list
> > Oscar-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> _______________________________________________
> Oscar-devel mailing list
> Oscar-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to