Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have two root privileged Debian etch and I tried to install the NTP server. I made one system to act as NTP server and another one system is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    3

    How to activate ntp server?


    Hi,

    I have two root privileged Debian etch and I tried to install the NTP server. I made one system to act as NTP server and another one system is NTP client.

    I installed the ntp packages and configured (in /etc/ntp.conf ) appropriately in appropriate configuration file.

    But unfortunately its NOT working fine!.

    The configuration information's are following:

    From Server :

    Code:
    # /etc/ntp.conf, configuration for ntpd
    
    driftfile /var/lib/ntp/ntp.drift
    statsdir /var/log/ntpstats/
    
    statistics loopstats peerstats clockstats
    filegen loopstats file loopstats type day enable
    filegen peerstats file peerstats type day enable
    filegen clockstats file clockstats type day enable
    
    server 127.0.0.1
    restrict 127.0.0.1
    restrict 192.168.1.0  mask  255.255.255.0 nomodify notrap
    broadcast 192.168.1.255
    [ The above lines are not included any comment line ].


    From NTP Client server :

    Code:
    # /etc/ntp.conf, configuration for ntpd
    
    driftfile /var/lib/ntp/ntp.drift
    statsdir /var/log/ntpstats/
    
    statistics loopstats peerstats clockstats
    filegen loopstats file loopstats type day enable
    filegen peerstats file peerstats type day enable
    filegen clockstats file clockstats type day enable
    
    server 192.168.1.210
    server 192.168.1.210
    
    restrict default notrust nomodify nopeer
    restrict 192.168.1.210 mask 255.255.255.255 nomodify notrap noquery
    
    restrict -4 default kod notrap nomodify nopeer noquery
    restrict -6 default kod notrap nomodify nopeer noquery
    restrict 127.0.0.1
    restrict ::1
    The NTP Server machine IP address is 192.168.1.210 and client address is 192.168.1.192.
    Last edited by MikeTbob; 12-22-2010 at 11:46 AM. Reason: Added Code Tags

  2. #2
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    So if "its working fine", what assistance do you need?

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    3
    Thanks greyhairweenie!.
    I corrected the sentences.

  4. #4
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    Quote Originally Posted by hariharasubramanian View Post
    Thanks greyhairweenie!.
    I corrected the sentences.
    Good. Now you need to tell us some of the symptoms of NOT working fine. Log errors? Error messages on service start/stop? Clock drift with no other indications of problems?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •