Anda di halaman 1dari 2

Important Commands

Notes:
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
./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>)


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
- See more at: http://blog.webagesolutions.com/archives/226#sthash.LIrBDFai.dpuf

Anda mungkin juga menyukai