httpd dont start - Alert!: Unable to connect to remote host.

postcd

Well-Known Member
Oct 22, 2010
721
21
68
Solved: httpd dont start - Alert!: Unable to connect to remote host

Hello, WHM is running on a VPS OpenVZ, the memory was exhausted and VPS container needed to be restarted.
After restart i can see httpd has issues.

service httpd status

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/whm-server-status
"service httpd restart" dont return any message and status is same
pkill httpd;service httpd start
status is same, please what to do?

/usr/local/cpanel/cpkeyclt
Updating cPanel license...Done. Update Failed!
Building global cache for cpanel...Done
cat /etc/sysconfig/network-scripts/ifcfg-venet0
DEVICE=venet0
BOOTPROTO=static
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.255
BROADCAST=0.0.0.0
ARPCHECK="no"
IPV6INIT="yes"
cat /etc/sysconfig/network-scripts/ifcfg-venet0:0
DEVICE=venet0:0
ONBOOT=yes
IPADDR=IPTHATISNOTMYMAINSERVERIPHERE
NETMASK=255.255.255.255
[email protected] [/etc/sysconfig/network-scripts]#
cat /usr/local/apache/conf/httpd.conf | grep Listen
Listen 0.0.0.0:80
Listen 0.0.0.0:443
httpd -e DEBUG
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: RTNETLINK answers: Operation not supported
Failed to bring up lo.
[FAILED]
Bringing up interface venet0: RTNETLINK answers: Operation not supported
Failed to bring up venet0.
[FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
i have control on VPS host node

cat /etc/redhat-*
node
CentOS release 5.10 (Final) (64bit)
vps
Centos 6.4 64bit

Edit: The above network RTNETLINK issue solution is here
/http://internetlifeforum.com/virtualisation/2016-openvz-issue-fix-rtnetlink-answers-operation-not-supported/#post2980

solved, probably some openvz or centos issue
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
Hello :)

I am happy to see you were able to resolve this issue. Thank you for updating us with the outcome.