Unable to load Apache, get (98) address already in use: Could not bind to address: 631

  • 3827959
  • 28-Jun-2007
  • 06-Dec-2012

Environment

Novell Open Enterprise Server (Linux based)

Situation

When trying to load Apache, it will not load giving a "(98) address already in use: Could not bind to address: 631” This means that Apache is trying to load port 631 for iPrint to use.

Resolution

There are two ways to resolve this problem.  The method to choose depends on which print system you wish to have operate on the server; iPrint or CUPS.

If you want iPrint to run on this system, the solution is to disable CUPS.  After disabling CUPS from starting, stop CUPS and start Apache.
rccups stop
Change the port number in the /etc/cups/cupsd.conf from 631 to a number which is not in use.
rcapache2 start

If you want CUPS to run on this system, disable iPrint.  One way to disable iPrint is to prevent it from listening on port 631.  There are several ways to accomplish this.  One is to:
  1. Go to following directory
    • cd /etc/opt/novell/httpd/conf.d
  2. Rename iprint_g.conf to ipring_g.bakconf
    • mv iprint_g.conf iprint_g.bakconf
  3. Go to following directory
    • cd /etc/opt/novell/httpd/sslconf.d
  4. Rename iprint_ssl.conf to iprint_ssl.bakconf
    • mv iprint_ssl.conf iprint_ssl.bakconf
  5. Start apache2
    • rcapache2 start


Additional Information

This problem is commonly introduced when iPrint is hosted on an OES server which is running in a VMware environment.  The VMware tools script enables CUPS to be started on boot-up. 

Feedback service temporarily unavailable. For content questions or problems, please contact Support.