[ntp:questions] help

unruh unruh at invalid.ca
Tue Mar 5 17:34:39 UTC 2013

On 2013-03-04, 1900116857 <1900116857 at qq.com> wrote:
> Dear sir,
> I'm a student from Asia.
> My OS is Ubuntu12.04amd64
> I dowloaded the NTP4.2.6p5 package and installed it with following commands:
> "configure
> make
> make install"
> Installation seems successful. No error is reported. But there still some other question.
> First :
> when I typed in "services ntpd start",OS shows "unrecognized service",but udp port 123 is active.Before this,I tried to run"sudo ntpd",and succeeded.

No service for ntpd was installed. The ntpd package would not install a
serivce for it. That would be done by the ubuntu package from the ubuntu
repository ( are you sure it did not install it already when you
installed your ubuntu?) 

Also even if it were there, once you started ntpd once, that is enough.
Or you could run 
service ntpd restart

> qige at MyPC:~$ sudo netstat -tlunp|grep ntp
> udp        0      0*                           27743/ntpd      
> udp        0      0 *                           27743/ntpd      
> udp        0      0   *                           27743/ntpd      
> udp6       0      0 ::1:123                 :::*                                27743/ntpd      
> udp6       0      0 fe80::8ea9:82ff:fe7:123 :::*                                27743/ntpd      
> udp6       0      0 :::123                  :::*                                27743/ntpd  

Look at /etc/ntpd.conf to see what you have in there. 

> Second question:
> I want to configure my NTP server,but there is no such a file"ntp.conf" under the path ./etc/. I tried to searched it,but still not found. 

It is NOT ./etc/.  It is /etc/ntp.conf 
Try find /etc -name ntp\*
and see what it comes up with. It might be in /etc/ntp/ntp.conf 

> Can you tell me why?

No idea None of us have any access to your machine to see how you have
it set up. 

> I'm looking forward to your reply.
> Please forgive my poor English.
> Thank you.
> 1900116857

More information about the questions mailing list