Sponsored Content
Operating Systems Linux Red Hat Logs & Lists to Save before httpd restart when web server freezes? Post 302858805 by djlerman on Tuesday 1st of October 2013 12:17:51 PM
Old 10-01-2013
Logs & Lists to Save before httpd restart when web server freezes?

Hello...

We keep having a problem with the httpd freezing and users getting time outs.

I am not the Sys Admin but since I am the 1st one in, I have to restart the httpd server.

Is there a list of items I should collect before I restart in order to help with trouble shooting?

I currently do a log watch from a few days before and a ps -ef right before I restart.

What are some of the other things I should do?

Thanks,
~Donavon
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 7 & 9, Iplannet 4.1 and Sun One Web Server 6.1

Hey all, I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following: Current System: Solaris 7 running IPlannet 4.1: Upgrade (Preserving current data) to: Solaris 9 running Sun ONE Web Server 6.1 Has anyone... (0 Replies)
Discussion started by: AJD
0 Replies

2. UNIX for Dummies Questions & Answers

Solaris 7 & 9, Iplannet 4.1 and Sun ONE web server 6.1

Hey all, I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following: Current System: Solaris 7 running IPlannet 4.1: Upgrade (Preserving current data) to: Solaris 9 running Sun ONE Web Server 6.1 Has anyone... (1 Reply)
Discussion started by: AJD
1 Replies

3. Linux

Shared web server resources (CPU&RAM)

Hello, guys ! Long time no seen. I have a question about Linux web servers. I guess it is a more general question, but in my case it is a Linux web server. I want to know how much RAM memory should I put on my servers. Do you have some formula or guidelines on how should I calculate the amount... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

4. Solaris

what is the difference between http & Tomcat web server

I do not know the difference between the apache-http and the apche-Tomcat.Is they are differentiated on their version or on their features.:confused: (2 Replies)
Discussion started by: jayaprakash
2 Replies

5. Web Development

sudo httpd -k restart

hi, why do I need -k in sudo httpd -k restart ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

6. Solaris

Oracle Database and HTTPD Web Service

Hi, I have a Solaris 5.6 having an Oracle database.Now this server is being accessed by a web service interface.I cannot see anything other than httpd daemons running on my server. There is a frequent problem of the stopping of these httpd daemons . Now i am asked to find the root case.I talked... (1 Reply)
Discussion started by: asalman.qazi
1 Replies

7. UNIX for Advanced & Expert Users

How to Restart the web server

Hi, Unix AIX, on WebLogic How to Restart the web server Thank you. (2 Replies)
Discussion started by: big123456
2 Replies

8. Red Hat

Comprehensive Disk & Server Logs.

Hello All, I'm using a RHEL6.4 on IBM X3850 X5 server. I want to get a comprehensive report containing disk-wise health status as well as overall server status. I see there's utility "ibm_utl_dsa_dsytd3h-9.51_portable_rhel6_x86-64.bin" which is also used to do diagnostics tasks. I'm not sure of... (1 Reply)
Discussion started by: vaibhavvsk
1 Replies

9. Shell Programming and Scripting

Need Script to ZIP/SAVE & then DELETE Log file & send a mail conformation for any error

ENVIROMENT Linux: RHEL 6.4 Log Path: /usr/iplanet/servers/https-company/logs Log Format: user.log.03-15-2015 I have log4j log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I need a script that will run daily that... (1 Reply)
Discussion started by: admin_job_admin
1 Replies

10. Shell Programming and Scripting

Show Logs from a server location to a web browser

hey Guys, Am a newbie to Linux and have a probable requirement that might come up pretty soon. I need to understand, how log files and log location can be displayed on a web browser. So that the end user can read the log files and should be able to search for order numbers in the logs. If... (2 Replies)
Discussion started by: ashish_samarth
2 Replies
HTTPD(8)							       httpd								  HTTPD(8)

NAME
httpd - Apache Hypertext Transfer Protocol Server SYNOPSIS
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|grace- ful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] [ -T ] On Windows systems, the following additional arguments are available: httpd [ -k install|config|uninstall ] [ -n name ] [ -w ] SUMMARY
httpd is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used like this it will create a pool of child processes or threads to handle requests. In general, httpd should not be invoked directly, but rather should be invoked via apachectl on Unix-based systems or as a service on Win- dows NT, 2000 and XP and as a console application on Windows 9x and ME. OPTIONS
-d serverroot Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive in the configu- ration file. The default is /etc/httpd. -f config Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is conf/httpd.conf. -k start|restart|graceful|stop|graceful-stop Signals httpd to start, restart, or stop. See Stopping Apache httpd for more information. -C directive Process the configuration directive before reading config files. -c directive Process the configuration directive after reading config files. -D parameter Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart. Also can be used to set certain less-common startup parameters including -DNO_DETACH (prevent the parent from forking) and -DFOREGROUND (prevent the parent from calling setsid() et al). -e level Sets the LogLevel to level during server startup. This is useful for temporarily increasing the verbosity of the error messages to find problems during startup. -E file Send error messages during server startup to file. -h Output a short summary of available command line options. -l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive. -L Output a list of directives provided by static modules, together with expected arguments and places where the directive is valid. Directives provided by shared modules are not listed. -M Dump a list of loaded Static and Shared Modules. -S Show the settings as parsed from the config file (currently only shows the virtualhost settings). -T (Available in 2.3.8 and later) Skip document root check at startup/restart. -t Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests with either a return code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host con- figuration will be printed. If -D DUMP_MODULES is set, all loaded modules will be printed. -v Print the version of httpd, and then exit. -V Print the version and build parameters of httpd, and then exit. -X Run httpd in debug mode. Only one worker will be started and the server will not detach from the console. The following arguments are available only on the Windows platform: -k install|config|uninstall Install Apache httpd as a Windows NT service; change startup options for the Apache httpd service; and uninstall the Apache httpd service. -n name The name of the Apache httpd service to signal. -w Keep the console window open on error so that the error message can be read. Apache HTTP Server 2012-02-10 HTTPD(8)
All times are GMT -4. The time now is 10:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy