Skip to content

Autostart IBM HTTP Server

Ideally the IBM HTTP Server should be set to auto start. When used in conjunction with custom error 500 pages, if the Web Server is running at all times a meaningful page can be displayed showing Connections is down rather than the default error 500.

bild8

Windows

If you are using windows, the windows Installer will create a service for IHS and Admin Service.

If you chose not to do this at install time it is possible to do it post install using the following commands:

Bash
httpd -k install -n <name of service> -f <path to config file>
I.e
httpd -k install -n IBMHTTPAdmin -f E:\IBM\HTTPServer\conf\admin.conf
httpd -k install -n IBMHTTP -f E:\IBM\HTTPServer\conf\httpd.conf

Linux

For Linux and AIX the simplest way is to create a symbolic link and add a service

  • ln -s /opt/IBM/HTTPServer/bin/apachectl /etc/init.d/
  • ln -s /opt/IBM/HTTPServer/bin/adminctl /etc/init.d/

bild9

Add Service

  • chkconfig –add apachectl
  • chkconfig –add adminctl

bild10