[OpenIndiana-discuss] NTP trouble and 123 port

Brogyányi József brogyi at gmail.com
Fri Apr 25 20:53:36 UTC 2014


*Gary**
**
**I modified the ntp.conf but something is missing.*

/root at openindiana:/home/brogyi# egrep -v '^#|^$' /etc/inet/ntp.conf//
//
// restrict default kod nomodify notrap nopeer noquery//
// restrict 192.168.1.104 mask 255.255.255.0 nomodify notrap nopeer//
// restrict 127.0.0.1//
// restrict -6 ::1//
// server 0.hu.pool.ntp.org//
// server 1.hu.pool.ntp.org//
// server 2.hu.pool.ntp.org//
// server 3.hu.pool.ntp.org//
// driftfile /var/ntp/ntp.drift//
// statsdir /var/ntp/ntpstats///
// filegen peerstats file peerstats type day enable//
// filegen loopstats file loopstats type day enable//
//root at openindiana:/home/brogyi# ntpq -p//
//ntpq: read: Connection refused//
//root at openindiana:/home/brogyi# netstat -an | grep 123//
//root at openindiana:/home/brogyi#/

*If enable the ntp then the server is runing on 123 port.*

/root at openindiana:/home/brogyi# svcadm enable ntp//
//root at openindiana:/home/brogyi# ntpq -p//
//     remote           refid      st t when poll reach delay   offset  
jitter//
//==============================================================================//
// smn.pecs.hpc.ni 185.219.2.214    2 u    5   64    1 11.971  -210.17   
0.001//
// manager-vlan87. 192.53.103.108   2 u    4   64    1 10.434  -207.97   
0.001//
// service0-eth4.d 195.111.98.17    2 u    3   64    1 15.687  -208.81   
0.001//
// yikes.bl2.tolna 130.149.17.8     2 u    2   64    1 18.914  -209.35   
0.001//
//root at openindiana:/home/brogyi# netstat -an | grep 123//
//      *.123                               Idle//
//      *.123                               Idle//
//127.0.0.1.123                             Idle//
//192.168.1.104.123                         Idle//
//*.123                                                         Idle//
//::1.123 Idle//
//fe80::225:22ff:fec4:8826.123 Idle       rge0//
/
*Where is the bug?**
*


More information about the OpenIndiana-discuss mailing list