How to start and stop IBM IHS web server

Home > Search > How-to
  by

Start the web server

The apachectl command can be used to start and stop the IHS web server. Replace "/opt/IBM/HTTPServer" with the location of your IHS web server.

~]# /opt/IBM/HTTPServer/bin/apachectl start

 

Once started, you should be able to get your home page.

 

The ps command can also be used to verify that there are active HTTPD processes.

~]# ps -ef | grep httpd
/opt/IBMIHS##/conf/httpd85.<env>.<domain>.web## -k start
/opt/IBMIHS##/conf/httpd85.<env>.<domain>.web## -k start
/opt/IBMIHS##/conf/httpd85.<env>.<domain>.web## -k start
/opt/IBMIHS##/conf/httpd85.<env>.<domain>.web## -k start

 

If the web server fails to start, use the nslookup command to determine if DNS is able to resolve the hostname to an IP address. If not, DNS will need to be configured.

C:\> nslookup www.example.com
Server:   ns1.example.com
Address:  10.80.140.51

Non-authoritative answer:
Name:    www.example.com
Address:  10.81.146.140

 

Also ensure the httpd.conf file is listening on port 80, and has the IP address of the operating system.

 


Stop the web server

~]# /opt/IBM/HTTPServer/bin/apachectl stop

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments