WebSphere Application Server and IBM HTTP Server Cheat Sheet for Unix/Linux

Important Commands


  1. All of the WebSphere Application Server (WAS) commands below are located underneath the <PROFILE_ROOT>/bin directory.
  2. All of the IBM HTTP Server (IHS) commands are located underneath the <IHS_ROOT>/bin directory.

Start a server

./startServer.sh <serverName>

Stop a server

./stopServer.sh <serverName> -username <userName> -password <password>

Start a node agent


Stop a node agent

./stopNode.sh -username <userName> -password <password>

Start the deployment manager


Stop the deployment manager

./stopManager.sh -username <userName> -password <password>

Obtain server status for all servers on a node

./serverStatus.sh –all -username <userName> -password <password>

Obtain server status for a particular server

./serverStatus.sh <serverName> -username <userName> -password <password>

Start IBM HTTP Server

./apachectl start

Stop IBM HTTP Server

./apachectl stop

Start IBM HTTP Administration Service (Server)

./adminctl start

Stop IBM HTTP Administration Service (Server)

./adminctl stop

Important Log Files

WebSphere Application Server

SystemOut.log (located under <PROFILE_ROOT>/<profileName>/logs/<serverName>)


access_log (located under <IHS_ROOT>/logs) – contains requests from clients (browsers)

error_log (located under <IHS_ROOT>/logs) – contains error messages, including expansions of 404s

IBM HTTP Administration Service

admin_access_log (located under <IHS_ROOT>/logs) – contains requests from WAS

admin_error.log (located under <IHS_ROOT>/logs) – contains error messages (e.., related to propagation of plugin and starting/stopping web server)

WebSphere Plugin

http_plugin.log (located under <IHS_ROOT>/Plugins/logs/<webServerName>)

Matthew Silver October 19, 2010

1 Comment

  • You should definitely add the following to your cheat sheet!

    Test the config httpd.conf after making changes:
    /opt/IBMIHS/bin/apachectl -t

    The -f option is useful. Without it, the apachectl assumes the configuration file is under the ../conf folder:

    Stop a particular server using a config file:
    /opt/IBMIHS/bin/apachectl -f /httpd.conf stop

    Start a particular server using a config file:
    /opt/IBMIHS/bin/apachectl -f /httpd.conf start

Leave a Reply

Your email address will not be published. Required fields are marked *

Web age solutions blog Zones