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.
pkill httpd;service httpd start
status is same, please what to do?
/usr/local/cpanel/cpkeyclt
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
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 restart" dont return any message and status is sameservice 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
pkill httpd;service httpd start
status is same, please what to do?
/usr/local/cpanel/cpkeyclt
cat /etc/sysconfig/network-scripts/ifcfg-venet0Updating cPanel license...Done. Update Failed!
Building global cache for cpanel...Done
cat /etc/sysconfig/network-scripts/ifcfg-venet0:0DEVICE=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 /usr/local/apache/conf/httpd.conf | grep ListenDEVICE=venet0:0
ONBOOT=yes
IPADDR=IPTHATISNOTMYMAINSERVERIPHERE
NETMASK=255.255.255.255
[email protected] [/etc/sysconfig/network-scripts]#
httpd -e DEBUGListen 0.0.0.0:80
Listen 0.0.0.0:443
service network restart(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
i have control on VPS host nodeShutting 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
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: