Topic
  • 5 replies
  • Latest Post - ‏2014-09-23T15:38:44Z by X56C_Pablo_Diaz-Cordoves
vbalaji11
vbalaji11
21 Posts

Pinned topic IBM Http Server Startup Error

‏2013-08-12T08:05:39Z |

Hi,

For trying with hosting on server, I have installed IBM http server 7 in AIX 7.

on command "apachectl start" @ prompt, I am getting error saying

(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Similarly, "adminctl start" throws the following error

(67)Address already in use: make_sock: could not bind to address [::]:8008
(67)Address already in use: make_sock: could not bind to address 0.0.0.0:8008
no listening sockets available, shutting down
Unable to open logs
adminctl start: admin http could not be started

 

1.       In httpd.conf file, Core dump directory has been set to "/temp"

2.       netstat -an :: Port no. 80 (http server) or 8008 (http admin server) are not listed. Hence, I assume that the ports 80 & 8008 are not being listened or used by any other program.

3.       On going through "/usr/IBM/HTTPServer/logs/install/log.txt", i came across

 Process, com.ibm.ws.install.ni.ismp.actions.OSPrereqCheckAction, err, System Prerequisites Check

Warning: A supported operating system was not detected.

Support for your operating system might have been added after the release of the product. See the WebSphere Application Server detailed system requirements Web pages for more information about supported operating systems. You can continue with the installation, but the installation or product operation might not succeed without applying maintenance. Go to the product support Web pages to obtain the latest maintenance packages to apply after installation.

but the last line reads :

Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS

The log file had many installation or uninstallation logs in it in a span of 2 hrs. As the last line says success, at last I hope IBM HTTP server would have been successfully installed.

4.        I also tried changing the port no. of http server (default value: 80) to a port 1280 (> 1024), wherein giving "apachectl start" says

(13)Permission denied: httpd: could not open error log file /usr/IBM/HTTPServer/logs/error_log.
Unable to open logs

However, even if the above port 1280 works, I am not able to change the "/usr/IBM/HTTPServer/conf/admin.conf" as it is read only.

ServerName aix01:80

I also require clarification whether the above ServerName needs to be changed to 1280 for my server to run. What would be the problem, if I change r didnt change ?

 

  • vbalaji11
    vbalaji11
    21 Posts

    Re: IBM Http Server Startup Error

    ‏2013-08-12T08:08:17Z  

    I have been stuck here, Any suggestion is much appreciated :)

    Thanks in advance.

  • Babu321123
    Babu321123
    1 Post

    Re: IBM Http Server Startup Error

    ‏2013-08-15T21:45:58Z  

    i have the same issue, did you got the solution?

  • Santoshbhadoriya
    Santoshbhadoriya
    2 Posts

    Re: IBM Http Server Startup Error

    ‏2013-08-17T11:40:51Z  

    i have the same issue, did you got the solution?

    try to run below command

     

    kill -9 httpd

    restart the apache process

  • vbalaji11
    vbalaji11
    21 Posts

    Hi

    ‏2013-08-19T12:57:01Z  

    Thanks for your time & response.

    @Santoshbhadoriya

     Given the command " kill -9 httpd "

    $ ksh: httpd: Specify a process identifier or a %job number.

     

    I even checked with " ps -fe " which should be listing all the processes.

    Neither httpd nor any other process at the default directory " /usr/IBM/HTTPServer/bin " seemed to be running.

    Is there any other way to solve this issue ?!

     

    @pradj

    Still trying to find a way out for the issue. For sure, will update if any.

     

  • X56C_Pablo_Diaz-Cordoves
    2 Posts

    Re: IBM Http Server Startup Error

    ‏2014-09-23T15:38:44Z  

    Debéis utilizar el comando "rbac". Por defecto el ssoo AIX no te deja utilizar los puertos por debajodel 1024 si no es el usaurio root. Para saltarte esta restricción yo uso este comando sobre el ejecutable apachectl:

    setsecattr -c innateprivs=PV_NET_ inheritprivs=PV_NET_ accessauths=ALLOW_OWNER secflags=FSF_EPS /opt/IHS/bin/apachectl

    Con esto das permiso a un usuario no root que pueda ejecutar el servidor web IHS en sus puertos 80 y 443.