03-19-2002
I put this in a new thread, since it had nothing to do with the thread it was in.
Where is Apache installed? The script is called "apachectl". It has to run by root, like this:
cd /usr/lib/apache/bin
./apachectl start
This assumes, of course, that Apache is installed at /usr/lib/apache/
Hope this helps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, like a lot of people that post here, I am new at UNIX. The only UNIX I have ever messed with is my iBook running MacOSX (10.1). I have a grasp of the basic commands and understanding of the system but only to a point.
I searched the archive and FreeBSD.org and apache.org but I couldn't find... (4 Replies)
Discussion started by: Alpha_Harblo
4 Replies
2. AIX
I am in the process of reorging my Lawson db. I need to turn off the RMI server...not a problem. However my instructions also state that I must also
shutdown my Servlet Container....I believe it is Apache.
I have looked in /usr/apache/bin/apachectl
What is the command for stopping and... (2 Replies)
Discussion started by: MILLERJ62
2 Replies
3. Solaris
Hi,
I have installed apache webserver on my solaris 10(x86). When I tried to start the server it gives following error,
ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory
Killedld.so.1:: Too many arguments
Can somebody please guide me how... (1 Reply)
Discussion started by: maheshsri
1 Replies
4. Solaris
help me please.................bro
i was install apache2 and i have been configure httpd.conf on my solaris 10 machine n i already running my httd service but why my webserver couldn't run on my browser?
some buddy help me.............:confused::confused::confused::confused::confused: (5 Replies)
Discussion started by: yatmianto
5 Replies
5. Solaris
Hi group,
I need help to start apache in following scenario:
1) Say apache is installed on solaris OS by user 'root'.
2) An entry is there in httpd.conf that says to start apache process as user:
#User <RUN_AS_USER> is edited as
User user1
2) Now say user2 has logged and tries to start... (6 Replies)
Discussion started by: rs266
6 Replies
6. Solaris
hi all
i'm having a problem with apache on solaris 10 SPARC
I'm trying to start httpd as root
but it fails with the following error
/usr/local/apache2/bin/httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 192.168.1.11 for ServerName
(20014)Error... (16 Replies)
Discussion started by: h@foorsa.biz
16 Replies
7. Red Hat
Hi,
I have 2 apache instance on my machine (RedHat), and i need to start the "apache2" after any reboot but could not find the way ( searching into "httpd.conf" ), so i'am starting "apache2" manually.
After a reboot, none of them starts and when i when doing : httpd -k start, i got "apache"... (14 Replies)
Discussion started by: mehdi1973
14 Replies
8. UNIX for Advanced & Expert Users
After i added this line to my apache httpd.conf it does not start.
AuthUserFile /apps/apache22/conf/httpd.passwd
and i see the below error.
Syntax error on line 876 of /apps/apache22/conf/httpd.conf:
AuthUserFile not allowed here
Kindly help. (4 Replies)
Discussion started by: mohtashims
4 Replies
9. Red Hat
I have a new server, installed everything and tried to get it all up and running.
Got the following issue:
# /usr/local/apache/bin/apachectl start
httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies
10. Solaris
Hello
Hope someone can help me on my issue. I tried to install Xampp. all are working fine except Apache. I edited xampp starting script file by modifying port from 80 to 2110. the same for /opt/xampp/etc/httpd.conf I change listing port from 80 to 2110
root@mtcksafhtest01 # ./xampp... (2 Replies)
Discussion started by: samer.odeh
2 Replies
LEARN ABOUT CENTOS
pmdaapache
PMDAAPACHE(1) General Commands Manual PMDAAPACHE(1)
NAME
pmdaapache - Apache2 web server performance metrics domain agent (PMDA)
SYNOPSIS
$PCP_PMDAS_DIR/apache/pmdaapache [-d domain] [-l logfile] [-U username] [-S server] [-P port] [-L location]
DESCRIPTION
pmdaapache is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics describing the state of an Apache web server.
The apache PMDA exports metrics that measure the request rate, cumulative request sizes, uptime and various connection states for active
clients.
This information is obtained by performing a HTTP request to the server status URL, which must be enabled in the httpd.conf configuration
file.
ExtendedStatus on
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost
</Location>
A brief description of the pmdaapache command line options follows:
-d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should
be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts.
-l Location of the log file. By default, a log file named apache.log is written in the current directory of pmcd(1) when pmdaapache is
started, i.e. $PCP_LOG_DIR/pmcd . If the log file cannot be created or is not writable, output is written to the standard error
instead.
-S Query the Apache status information from the named server rather than the local host.
-P Query the Apache status information from the given port rather than the default (80).
-L Specify an alternative location for finding the server-status page.
-U User account under which to run the agent. The default is the unprivileged "pcp" account in current versions of PCP, but in older
versions the superuser account ("root") was used by default.
INSTALLATION
If you want access to the names, help text and values for the apache performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/apache
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/apache
# ./Remove
pmdaapache is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
FILES
$PCP_PMCDCONF_PATH
command line options used to launch pmdaapache
$PCP_PMDAS_DIR/apache/help
default help text file for the apache metrics
$PCP_PMDAS_DIR/apache/Install
installation script for the pmdaapache agent
$PCP_PMDAS_DIR/apache/Remove
undo installation script for the pmdaapache agent
$PCP_LOG_DIR/pmcd/apache.log
default log file for error messages and other information from pmdaapache
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
SEE ALSO
PCPIntro(1), httpd(8), pmcd(1), pcp.conf(5) and pcp.env(5).
Performance Co-Pilot PCP PMDAAPACHE(1)