Admin console giving (110) Connection timed out Error

#1
Hi,

I have a cpanel server which is loaded with Centos 6.4. The litespeed vresion is 4.2.2.

root@server [~]# /usr/local/lsws/bin/lshttpd -v
LiteSpeed/4.2.2 Enterprise

The admin console is not loading the server.We have tried disabling csf. The server donot have any memory,load or IO issues.

Litespeed is running fine in the server.
---------
# netstat -ntpl | grep :82
tcp 0 0 0.0.0.0:82 0.0.0.0:* LISTEN 31469/litespeed (ls
----------

Below given is the error where x.x.x.x is the server IP.

ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://x.x.x.x:82/

The following error was encountered:

  • Connection to x.x.x.x Failed
The system returned:

(110) Connection timed out
The remote host or network may be down. Please try the request again.

squid


Could you please let us know the reason for the error.
 

NiteWave

Administrator
#2
can you access :82 when ssh to the server ?

1. ssh to the server
2. try
#curl -I 127.0.0.1:82

the admin console log is under /usr/local/lsws/admin/logs
 
#3
Hi,

Below is the curl -I 127.0.0.1:82 output :

root@server [~]# curl -I 127.0.0.1:82
HTTP/1.1 302 Found
Date: Thu, 11 Sep 2014 16:24:44 GMT
Server: LiteSpeed
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: LSWSWEBUI=3057c778b033d1dba08f60b83b26585f; path=/
Set-Cookie: lsws_uid=a; expires=Tue, 12 Aug 2014 16:24:48 GMT; path=/
Set-Cookie: lsws_pass=b; expires=Tue, 12 Aug 2014 16:24:48 GMT; path=/
Set-Cookie: LSWSWEBUI=b; expires=Tue, 12 Aug 2014 16:24:48 GMT; path=/
location: /login.php
Content-Type: text/html

The netstat command is below :
-------------------
root@server [~]# netstat -ntpl | grep :82
tcp 0 0 0.0.0.0:82 0.0.0.0:* LISTEN 31262/litespeed (ls
----------------------


The error logs and apache logs are null in the server.

root@ravens [~]# cat /usr/local/lsws/admin/logs/error.log
root@ravens [~]# cat /usr/local/lsws/admin/logs/access.log
127.0.0.1 - - [11/Sep/2014:09:24:39 -0700] "HEAD / HTTP/1.1" 302 - "-" "curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2"
-----------------

Please let us know if you nee any other info.
 

NiteWave

Administrator
#4
should local access is ok.
although you said
>The admin console is not loading the server.We have tried disabling csf.
most likely still a firewall issue.

access to :82 outside the server is blocked by firewall on the server(iptables) or at the server's upper link --- gate etc.
if it's gateway blocked the access to port 82, you've to contact your host or ISP to resolve this issue.

while csf is disabled. iptables may still be running.
#iptables -nL
will show current server's firewall rules.
 
Top