Apache fails to load with 10049 error

  • 3521703
  • 14-Jun-2007
  • 03-Jul-2012


Novell Apache on NetWare 2.0.59 (and earlier)
Novell NetWare 6.5


When starting Apache 2.0 on NetWare, the APACHE2.NLM console screen (Apache 2.0.59 for NetWare) does not appear. The logger screen shows that it loaded, but an "M APACHE2" reveals that the process is no longer loaded.

In checking the SYS:/APACHE2/LOGS folder for the startup.err and also the error_log.####### files, we find :

[Thu Jun 14 10:49:20 2007] [notice] LDAP: Built with Novell LDAP SDK
[Thu Jun 14 10:49:20 2007] [notice] LDAP: SSL support unavailable
(OS 10049)Can't assign requested address: make_sock: could not bind to address
[Thu Jun 14 10:49:20 2007] [alert] no listening sockets available, shutting down
[Thu Jun 14 10:49:20 2007] [alert] no listening sockets available, shutting down


This error is due to an invalid request to bind to an IP address. It is corrected by removing the offending line(s) from the configuration file by doing the following :
  1. Open the configuration file (typically :
  2. Locate the "Listen" and "SecureListen" lines containing the IP address that is not on the server. If this is a cluster resource, it may be desirable to remove the IP address and colon from the Listen and SecureListen lines (requires having only one Listen and one SecureListen line) setting Apache to listen on all available IP addresses.
  3. Save the file.
  4. Clear the logs directory (SYS:/Apache2/logs).
  5. Restart Apache using the AP2WEBUP command.
  6. Ensure that Apache loaded.