Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    apache error during update - ... could not bind to address ...

    • Article Type: General
    • Product: SFX
    • Product Version: 3

    Description:
    Error occurring when running update:

    [ For instance 'sfxlcl3' ]
    Type the 'sfxlcl3' Unix Password Password:
    Creating symlinks from sfxglb3 to sfxlcl3... ok ok Removing deprectated files and directories Executing 'restart' for 'sfxlcl3'.
    httpd not running, trying to start
    (125)Address already in use: make_sock: could not bind to address [::]:3002 no listening sockets available, shutting down Unable to open logs ERROR when trying: '/exlibris/sfx_ver/sfx_version_3/sfxlcl3/admin/apachectl restart'. Exiting.
    [ For instance 'sfxtst3' ]
    Type the 'sfxtst3' Unix Password Password:
    [ For instance 'sfxlcl3' ]
    Type the 'sfxlcl3' Unix Password:
    Creating symlinks from sfxglb3 to sfxlcl3... ok ok Executing 'restart' for 'sfxlcl3'.
    httpd not running, trying to start
    (125)Address already in use: make_sock: could not bind to address [::]:3002 no listening sockets available, shutting down Unable to open logs ERROR when trying: '/exlibris/sfx_ver/sfx_version_3/sfxlcl3/admin/apachectl restart'. Exiting.
    [ For instance 'sfxtst3' ]
    Type the 'sfxtst3' Unix Password:
    Creating symlinks from sfxglb3 to sfxtst3... ok ok

    Resolution:
    Cause:

    The http.pid file has been deleted, possibly as a result of server_admin_util filesystem maintenance deleting files in the apache directory without confirmation. Therefore apache cannot be stopped.

    Resolution

    To solve the matter we need to kill off the apache process manually and restart the instance apache.

    To identify processes to kill:

    ps -ef | grep apache | grep sfxlcl3

    kill [children process]

    Then restart apache using server_admin_util.

    Additional Information

    apache error, no listening sockets available, rev-up


    • Article last edited: 10/8/2013