Sponsored Content
Full Discussion: apachectl status output
Top Forums Web Development apachectl status output Post 302223709 by sysgate on Monday 11th of August 2008 08:12:45 AM
Old 08-11-2008
apachectl doesn't have such flags as status, you're probably referring to their values in the httpd.conf. After making changes, restart apache, then go to the server URL - http://server.com/extended-status or the respective pointer. server-status handler is available on the new versions, at least this is what I can see on my open suse. What is your version.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

./rc.d/apache.sh apachectl startssl script

i made a cert with a passwd, and i'm curious if can i start apache with apachectl startssl with 1 line command. Or do i have to write a startscript that catches password promt and inserts passwd?really to tell i'm to bad in sh scripting,and i think someone of you done it already, may i have a... (3 Replies)
Discussion started by: hachik
3 Replies

2. IP Networking

apachectl status

hello- I'm trying to setup a webserver using apache 2.0.53. Can't seem to figure out why my local site isn't coming up. I've tried the following: ping -a localhost localhost (127.0.0.1) is alive httpd -S syntax ok apachectl configtest syntax ok netstat -an|grep :80|grep LISTEN... (4 Replies)
Discussion started by: ECBROWN
4 Replies

3. UNIX for Dummies Questions & Answers

exit status depending on output

Hi I have a script that does a select from a table. I want the script to return a 0 status if a specific column has 'OK' value or return 1 if this column returns 'NOT OK'. The output now is similar to: COL1 COL2 STATUS ------- --------- ------- I want to be limited to... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

4. UNIX for Dummies Questions & Answers

Not able to start apachectl

Hi While trying to start apachectl in an IBM HTTP server installed in a Sol 10 box,i am facing the following error: root: ./apachectl start ./apachectl: /opt/IBMHTTPD/bin/httpd: cannot execute ./apachectl start: httpd could not be started @ /opt/IBMHTTPD/bin I checked the... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

5. Shell Programming and Scripting

How do I capture multiple lines of the status output of a command?

I need to know what the upload speed of an Internet connection. I thought the easiest way to do this would be to transfer a file via FTP to my server using the command: sh-3.2$ ftp -u ftp://username:password@computerdomain/directory/ file_to_be_uploaded Note: My environment allows me to issue... (2 Replies)
Discussion started by: zzz1528
2 Replies

6. Shell Programming and Scripting

Grep Stop status from the output of script and send an eamil alert.

Hello Team, I have script which gives below output. Server clustServer11 is in a STARTED state Server clustServer12 is in a STOPPED state Server clustServer21 is in a STOPPED state I would like to prepare script which will grep stop word from the above output and send an email alert. (5 Replies)
Discussion started by: coolguyamy
5 Replies

7. Shell Programming and Scripting

script killing a process from service status output

Hello, can some please suggest a script, for killing the process PID. This are steps I am currently performing to kill the process. I cant user service splunk stop, to kill these processes, because of uid and gid mismatch for splunk user. # service splunk status Splunk status: splunkd... (8 Replies)
Discussion started by: bobby320
8 Replies

8. Red Hat

Cannot PREFIX/bin/apachectl -k start

I was trying to install apache using the following url Compiling and Installing - Apache HTTP Server when I try to start http it prompts me the following error oracle@localhost httpd-2.4.4]$ su -c '/usr/local/apache2/bin/apachectl -k start' Password: /usr/local/apache2/bin/httpd: ... (1 Reply)
Discussion started by: jediwannabe
1 Replies

9. AIX

Gzip status output is not redirecting.

Dear all I am facing issue in one part of my script. in this part i am trying to zip the files but want the status to be redirected to a text file YAMVASSRV02_vas> YAMVASSRV02_vas> cat final_col.sh gzip -cv /data01/oracle/oradata/vas/control/control01.ctl > ... (2 Replies)
Discussion started by: javeedkaleem
2 Replies

10. Shell Programming and Scripting

Cell color based on Status in HTML output

Hi, I need to get the Status Column in Green if it is approved and Red if it is declined in the HTML output attachment#!/bin/bash body_csv="/authlistener/ProdA/service/queryRS.csv" body_html="/authlistener/ProdA/service/queryRS.html" ... (1 Reply)
Discussion started by: maddelav
1 Replies
APACHECTL(8)							     apachectl							      APACHECTL(8)

NAME
apachectl - Apache HTTP Server Control Interface SYNOPSIS
When acting in pass-through mode, apachectl can take all the arguments available for the httpd binary. apachectl [ httpd-argument ] When acting in SysV init mode, apachectl takes simple, one-word commands, defined below. apachectl command SUMMARY
apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache httpd daemon. The apachectl script can operate in two modes. First, it can act as a simple front-end to the httpd command that simply sets any necessary environment variables and then invokes httpd, passing through any command line arguments. Second, apachectl can act as a SysV init script, taking simple one-word arguments like start, restart, and stop, and translating them into appropriate signals to httpd. If your Apache installation uses non-standard paths, you will need to edit the apachectl script to set the appropriate paths to the httpd binary. You can also specify any necessary httpd command line arguments. See the comments in the script for details. The apachectl script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script. OPTIONS
Only the SysV init-style options are defined here. Other arguments are defined on the httpd manual page. start Start the Apache httpd daemon. Gives an error if it is already running. This is equivalent to apachectl -k start. stop Stops the Apache httpd daemon. This is equivalent to apachectl -k stop. restart Restarts the Apache httpd daemon. If the daemon is not running, it is started. This command automatically checks the configuration files as in configtest before initiating the restart to make sure the daemon doesn't die. This is equivalent to apachectl -k restart. fullstatus Displays a full status report from mod_status. For this to work, you need to have mod_status enabled on your server and a text-based browser such as lynx available on your system. The URL used to access the status report can be set by editing the STATUSURL variable in the script. status Displays a brief status report. Similar to the fullstatus option, except that the list of requests currently being served is omit- ted. graceful Gracefully restarts the Apache httpd daemon. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks the configuration files as in configtest before initiating the restart to make sure Apache doesn't die. This is equivalent to apachectl -k graceful. graceful-stop Gracefully stops the Apache httpd daemon. This differs from a normal stop in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This is equivalent to apachectl -k graceful-stop. configtest Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or detailed information about the particular syntax error. This is equivalent to apachectl -t. The following option was available in earlier versions but has been removed. startssl To start httpd with SSL support, you should edit your configuration file to include the relevant directives and then use the normal apachectl start. Apache HTTP Server 2005-08-26 APACHECTL(8)
All times are GMT -4. The time now is 07:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy