Mailing List Archive

ntp status
Hello,

I have a problem when I enter "show ntp status" and "show ntp associations" in my M20 router.

I got /usr/sbin/ntpq "connection refused".

When i go to unix shell and type "ntpq -p" I got "conection refused" as well.

When i snooped in the ntp server, there is continues (in interval) request from my M20 and there is a reply from my ntp server.

When I trace using my firewall log, the ntp session is accepted by one of my rule.

Do you know what's wrong with my M20 ?

Do you have suggestions how to fix it ?

Thanks.

Best Regards


Yuki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/juniper-nsp/attachments/20030825/d8c27731/attachment.htm
ntp status [ In reply to ]
Before using those commands, make sure there is a "ntpd" process running,
because they're used to check the ntpd server status.

Your M20 is probably running the ntpdate client from time to time to adjust
its clock.

If you want to "fix" it, configure the ntpd to run, but then disable the ntpdate
because it will not work at the same time with ntpd.


Best reagards,

Alex
----- Original Message -----
From: Yuki Arif (EI/EID)
To: juniper-nsp@puck.nether.net ; juniper@groupstudy.com
Sent: Monday, August 25, 2003 12:58 AM
Subject: [j-nsp] ntp status


Hello,

I have a problem when I enter "show ntp status" and "show ntp associations" in my M20 router.

I got /usr/sbin/ntpq "connection refused".

When i go to unix shell and type "ntpq -p" I got "conection refused" as well.

When i snooped in the ntp server, there is continues (in interval) request from my M20 and there is a reply from my ntp server.

When I trace using my firewall log, the ntp session is accepted by one of my rule.

Do you know what's wrong with my M20 ?

Do you have suggestions how to fix it ?

Thanks.

Best Regards


Yuki


------------------------------------------------------------------------------


_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/juniper-nsp/attachments/20030825/f8ee5fd7/attachment.htm
ntp status [ In reply to ]
I don't know if your problem is PR35418.

you can try to bind a valid IP on your fxp.0 interface
and run "show ntp associations" again.


----- Original Message -----
From: Yuki Arif (EI/EID)
To: juniper-nsp@puck.nether.net ; juniper@groupstudy.com
Sent: Monday, August 25, 2003 11:58 AM
Subject: [j-nsp] ntp status


Hello,

I have a problem when I enter "show ntp status" and "show ntp associations" in my M20 router.

I got /usr/sbin/ntpq "connection refused".

When i go to unix shell and type "ntpq -p" I got "conection refused" as well.

When i snooped in the ntp server, there is continues (in interval) request from my M20 and there is a reply from my ntp server.

When I trace using my firewall log, the ntp session is accepted by one of my rule.

Do you know what's wrong with my M20 ?

Do you have suggestions how to fix it ?

Thanks.

Best Regards


Yuki


--------------------------------------------------------------------------------


_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/juniper-nsp/attachments/20030825/f1ddbb5f/attachment.htm
ntp status [ In reply to ]
Yu-lin,

try this :

start shell
su
/usr/sbin/xntpd
exit
exit

This will start ntp.

After starting NTP, you will see something like this (2 entries):

Juniper> show system processes | match ntp
2665 ?? S< 0:20.93 /usr/sbin/xntpd -N (ntpd)
2674 ?? S 0:01.01 /usr/sbin/tnp.sntpd -N

Regards,

Umar.

-----Original Message-----
From: Yu-lin Chang [mailto:ylchang@ascc.net]
Sent: 25 August 2003 06:33
To: juniper-nsp@puck.nether.net; juniper@groupstudy.com
Subject: Re: [j-nsp] ntp status



I don't know if your problem is PR35418.

you can try to bind a valid IP on your fxp.0 interface
and run "show ntp associations" again.


----- Original Message -----
From: Yuki Arif <mailto:yuki.arif@ericsson.com> (EI/EID)
To: juniper-nsp@puck.nether.net <mailto:juniper-nsp@puck.nether.net> ;
juniper@groupstudy.com <mailto:juniper@groupstudy.com>
Sent: Monday, August 25, 2003 11:58 AM
Subject: [j-nsp] ntp status

Hello,

I have a problem when I enter "show ntp status" and "show ntp associations"
in my M20 router.

I got /usr/sbin/ntpq "connection refused".

When i go to unix shell and type "ntpq -p" I got "conection refused" as
well.

When i snooped in the ntp server, there is continues (in interval) request
from my M20 and there is a reply from my ntp server.

When I trace using my firewall log, the ntp session is accepted by one of my
rule.

Do you know what's wrong with my M20 ?

Do you have suggestions how to fix it ?

Thanks.

Best Regards


Yuki



_____




_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp




------------------------------------------------------------------------------------------
Equinox Converged Solutions Limited.
Tel: +44 (0)1252 405 600
http://www.equinoxsolutions.com

IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately.
If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Equinox Converged Solutions Limited.
Equinox Converged Solutions Limited accepts no responsibility for loss or damage arising from its use, including damage from virus.
------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/juniper-nsp/attachments/20030826/ab2d8d7f/attachment.htm
ntp status [ In reply to ]
This from the knowledgebase:

Problem: The show ntp commands respond with a connection refused error
message.

Solution: This error message means that the user interface program cannot
successfully communicate the the ntp daemon process. The most common causes
for this are:

The loopback interface does not have IP address 127.0.0.1 configured; ntp
uses a network connection to 127.0.0.1 (also known as localhost) to
communicate between the daemon and the user interface
There is a firewall filter associated with the loopback interface which is
blocking ntp packets (ntp uses both the TCP and UDP protocols, and port
number 153)
The ntp daemon process (xntpd) may not be running; verify this by checking
the output of the "show system processes detail" wide command. If the ntp
daemon is not running, you should be able to restart it by modifying the
[edit system services ntp] hierarchy and performing a commit. If the daemon
still will not start, examine the system log file for ntp errors.




Thanks,

Mario Puras
SoluNet Technical Support
Mailto: mpuras@solunet.com
Direct: (321) 309-1410
888.449.5766 (USA) / 888.SOLUNET (Canada)

-----Original Message-----
From: Umar.Ahmed@equinoxsolutions.com
[mailto:Umar.Ahmed@equinoxsolutions.com]
Sent: Tuesday, August 26, 2003 6:27 AM
To: ylchang@ascc.net; juniper-nsp@puck.nether.net; juniper@groupstudy.com
Subject: RE: [j-nsp] ntp status


Yu-lin,

try this :

start shell
su
/usr/sbin/xntpd
exit
exit

This will start ntp.

After starting NTP, you will see something like this (2 entries):

Juniper> show system processes | match ntp
2665 ?? S< 0:20.93 /usr/sbin/xntpd -N (ntpd)
2674 ?? S 0:01.01 /usr/sbin/tnp.sntpd -N

Regards,

Umar.

-----Original Message-----
From: Yu-lin Chang [mailto:ylchang@ascc.net]
Sent: 25 August 2003 06:33
To: juniper-nsp@puck.nether.net; juniper@groupstudy.com
Subject: Re: [j-nsp] ntp status



I don't know if your problem is PR35418.

you can try to bind a valid IP on your fxp.0 interface
and run "show ntp associations" again.


----- Original Message -----
From: Yuki Arif <mailto:yuki.arif@ericsson.com> (EI/EID)
To: juniper-nsp@puck.nether.net <mailto:juniper-nsp@puck.nether.net> ;
juniper@groupstudy.com <mailto:juniper@groupstudy.com>
Sent: Monday, August 25, 2003 11:58 AM
Subject: [j-nsp] ntp status

Hello,

I have a problem when I enter "show ntp status" and "show ntp associations"
in my M20 router.

I got /usr/sbin/ntpq "connection refused".

When i go to unix shell and type "ntpq -p" I got "conection refused" as
well.

When i snooped in the ntp server, there is continues (in interval) request
from my M20 and there is a reply from my ntp server.

When I trace using my firewall log, the ntp session is accepted by one of my
rule.

Do you know what's wrong with my M20 ?

Do you have suggestions how to fix it ?

Thanks.

Best Regards


Yuki



_____




_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp




----------------------------------------------------------------------------
--------------
Equinox Converged Solutions Limited.
Tel: +44 (0)1252 405 600
http://www.equinoxsolutions.com

IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or
organisation to whom it is addressed. It may contain privileged or
confidential information. If you have received this message in error, please
notify the originator immediately.
If you are not the intended recipient, you should not use, copy, alter, or
disclose the contents of this message. All information or opinions expressed
in this message and/or any attachments are those of the author and are not
necessarily those of Equinox Converged Solutions Limited.
Equinox Converged Solutions Limited accepts no responsibility for loss or
damage arising from its use, including damage from virus.
----------------------------------------------------------------------------
--------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/juniper-nsp/attachments/20030826/7b42c72f/attachment.htm
ntp status [ In reply to ]
Port used by NTP is 123, NOT 153.

On Tue, Aug 26, 2003 at 09:57:07AM -0400, MPuras@solunet.com wrote:
> This from the knowledgebase:
>
> Problem: The show ntp commands respond with a connection refused error
> message.
>
> Solution: This error message means that the user interface program cannot
> successfully communicate the the ntp daemon process. The most common causes
> for this are:
>
> The loopback interface does not have IP address 127.0.0.1 configured; ntp
> uses a network connection to 127.0.0.1 (also known as localhost) to
> communicate between the daemon and the user interface
> There is a firewall filter associated with the loopback interface which is
> blocking ntp packets (ntp uses both the TCP and UDP protocols, and port
> number 153)
> The ntp daemon process (xntpd) may not be running; verify this by checking
> the output of the "show system processes detail" wide command. If the ntp
> daemon is not running, you should be able to restart it by modifying the
> [edit system services ntp] hierarchy and performing a commit. If the daemon
> still will not start, examine the system log file for ntp errors.

---end quoted text---

SY,
--
D.K.