httpd dont start - Alert!: Unable to connect to remote host.
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.
[QUOTE]service httpd status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile
cat /etc/sysconfig/network-scripts/ifcfg-venet0 [QUOTE] 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 [QUOTE]DEVICE=venet0:0 ONBOOT=yes IPADDR=[COLOR="#FF0000">IPTHATISNOTMYMAINSERVERIPHERE NETMASK=255.255.255.255 root@host1 [/etc/sysconfig/network-scripts]#
cat /usr/local/apache/conf/httpd.conf | grep Listen [QUOTE]Listen 0.0.0.0:80 Listen 0.0.0.0:443
httpd -e DEBUG [QUOTE](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 [QUOTE] 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
cat /etc/sysconfig/network-scripts/ifcfg-venet0 [QUOTE] 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 [QUOTE]DEVICE=venet0:0 ONBOOT=yes IPADDR=[COLOR="#FF0000">IPTHATISNOTMYMAINSERVERIPHERE NETMASK=255.255.255.255 root@host1 [/etc/sysconfig/network-scripts]#
cat /usr/local/apache/conf/httpd.conf | grep Listen [QUOTE]Listen 0.0.0.0:80 Listen 0.0.0.0:443
httpd -e DEBUG [QUOTE](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 [QUOTE] 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
-
Hello :) I am happy to see you were able to resolve this issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
1 comment