Apache httpd service will not start due to 'Address already in use' error on VMware guest
This document (7007214) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 10
server:~ # /etc/init.d/apache2 start
Starting httpd2 (worker) (98)Address already in use: make_sock: could not bind to address [::]:631
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:631
no listening sockets available, shutting down
Unable to open logs
startproc: exit status of parent of /usr/sbin/httpd2-worker: 1 failed
The cupsd process shows that the cups service is binding port 631 even though the cupsd service is disabled on the system.
server:~ # netstat -tulpen | grep :631
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 0 16846 1234/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 16847 1234/cupsd
server:~ # /sbin/chkconfig -l cupsd
cupsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
VMware has not yet released a fix for non-windows platforms but a known workaround is to comment out line 1266 of /etc/init.d/vmware-tools which follows:
vmware_exec 'Virtual Printing daemon:' vmware_start_thinprint
If the line number has changed or if other questions come up please contact VMware for official steps to resolve the issue around the vmware-tools component.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7007214
- Creation Date: 16-Nov-2010
- Modified Date:11-Mar-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org