Important Commands
Notes:
- All of the WebSphere Application Server (WAS) commands below are located underneath the <PROFILE_ROOT>/bin directory.
- 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
./startNode.sh
Stop a node agent
./stopNode.sh -username <userName> -password <password>
Start the deployment manager
./startManager.sh
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>)
IBM HTTP Server
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>)