Skip to main content

Updating and port 37

Comments

12 comments

  • quietFinn

    What happens if you do this in command line:
    telnet rdate.cpanel.net 37

    It should be like this:
    [root@srv ~]# telnet rdate.cpanel.net 37
    Trying 208.74.121.43...
    Connected to rdate.cpanel.net.
    Escape character is '^]'.
    ▒▒▒PConnection closed by foreign host.


    0
  • Simon Blackburn

    I get

    Bash: telnet: command not found

    0
  • Simon Blackburn

    I don’t think rdate is installed. Another check returned that Chrony is installed but how do I get it to use Chrony instead of rdate.

    0
  • quietFinn

    Install telnet:
    yum install telnet

    and try again.

    The error message you get suggests that your server can't connect to rdate.cpanel.net

     

    0
  • Simon Blackburn

    telnet rdate.cpanel.net 37
    Trying 208.74.123.15.
    -elnet: connect to address 208.74.123.15: Connection ret
    Trying 208.74.121.36.
    telnet: connect to address 208.74.121.36: Connection ref
    Trying
    208.74.123.23...
    telnet: connect to address 208.74.123.23: Connection ref
    Trying 208.74.121.43..
    telnet: connect to address 208.74.121.43: Connection ref Used

    0
  • Simon Blackburn

    That should say refused not ref used.

    0
  • quietFinn

    https://support.cpanel.net/hc/en-us/articles/4414037344535-rdate-reports-an-error-when-upcp-runs

    "The rdate script adjusts the system clock on servers not running an NTP daemon. The errors occur when the server is unable to contact rdate.cpanel.net on TCP port 37. This can occur if the server is unable to resolve rdate.cpanel.net or if outbound TCP port 37 is blocked."

     

    0
  • Simon Blackburn

    I know port 37 isn’t blocked.

    Do I need rdate if I have Chrony installed and running?

    0
  • quietFinn

    I closed port 37 and this is what I get:

    [root@vps1 log]# telnet rdate.cpanel.net 37
    Trying 208.74.123.15...
    telnet: connect to address 208.74.123.15: Connection refused
    Trying 208.74.121.36...
    telnet: connect to address 208.74.121.36: Connection refused
    Trying 208.74.123.23...
    telnet: connect to address 208.74.123.23: Connection refused
    Trying 208.74.121.43...
    telnet: connect to address 208.74.121.43: Connection refused

     

    0
  • Simon Blackburn

    I did a check earlier and it said it was open. I’ll reinstall CSF and see what it says then. Thanks.

    0
  • Simon Blackburn

    I've installed CSF again and configured it. Port 37 is open for TCP_OUT. 

    I've ran telnet rdate.cpanel.net 37 again and it still cannot connect.

    0
  • cPRex Jurassic Moderator

    It's also possible the port is blocked outside of your server so if you confirm things are working will in CSF you may need to speak with your host.

    0

Please sign in to leave a comment.