null
For this task
Start the IBM HTTP Server administration server as follows. You must be logged in as a root user, or If you installed as non root user for IHS then you must SU - to same user which is owned by IHS.
If it is Windows then you should be administrator.
Procedure
Windows :
From the Start menu
Click Start > Programs > IBM HTTP Server > Start Administration Server.
A message box displays that indicates the server has started.
If the IBM HTTP Server administration server does not start, complete the following steps:
1.Open the Control Panel.
2.Click Services.
3.Double-click IBM HTTP Server Administration Server to start the server.
Confirm that IBM HTTP Server administration server started successfully by checking the admin_error.log file for a "start successful" message. If you use the developer installation option, then the IBM HTTP Server administration server does not install as a service. You have to run the httpd.exe file from a command line with the -f option. From the default directory, type:
httpd -f conf\admin.conf
ALL UNIX (AIX, HP-UX, Linux, Solaris):
The adminctl command starts and stops the IBM HTTP Server administration server. You can find the adminctl command in the bin subdirectory, within the IBM HTTP Server installation directory. If that directory is not in your PATH, the full path should be given on the command line. Start or stop the IBM HTTP Server administration server using the default admin.conf configuration file as follows:
null
1.Run the adminctl start command to start the server or run the adminctl stop command to stop the server.
Issue the commands from the default directories, based on your operating system:
AIX : /usr/IBM/HTTPServer/bin/adminctl start|stop
HP-UX, Linux, Solaris : /opt/IBM/HTTPServer/bin/adminctl start|stop
null
For example, The adminctl command is not in your PATH, the IBM HTTP Server installation directory is /usr/IBM/HTTPServer, and the default configuration file is used as follows:
/usr/IBM/HTTPServer/bin/adminctl start
/usr/IBM/HTTPServer/bin/adminctl stop
Important: The admin.conf configuration file supports single-byte characters (SBCS) only.
2.Confirm that IBM HTTP Server administration server started successfully by checking the admin_error.log.
Note: Some times IBM HTTP server process will be found Hung (defunct process) in UNIX environments resulting server will not respond or function even though server’s status is running.
Possible Cause’s: More child process for single instance / reached the maximum open files limit / more memory or CPU usage / reached the maximum user limit..Etc..!
Resolution: How to kill in the above situation.
Kill – (Process ID) , Kill -9 (Process ID) for force fully kill.
If you want to number of defunct process or chilled process which is causing problem.
for i in `ps -ef|grep master Process id of http server|grep -v grep |awk '{print $2}'`; do echo $i;kill -9 $i; done
No comments:
Post a Comment