In your first post you used ps -ax to check your httpd-processes.
Use now ps -aux| grep httpd [ or ps -ef | grep httpd]
You will get a line
root 1029 ?? Ss 0:00.46 /usr/local/sbin/httpd
or
apacheuser 1029 ?? Ss 0:00.46 /usr/local/sbin/httpd
This user has to get access to the
-Original Message-
From: Graves, Jan [mailto:[EMAIL PROTECTED]
You say now matter what I cannot access the web site: what
does this mean?
I meant no matter what.
*I* meant how are you accessing the server? - if the only way you are aware
of is via a browser, admittedly this
Since apache does not have a 'status' in it's init script here is one.
Simple copy this into a file and make it executable. This file does assume
you have perl available. If you look closely you can edit this file to
provide status of almost any running process.
*** Begin cut ***
Hi Jan,
Its easy...
You can use the web browser text tool called curl:
http://curl.haxx.se/download.html
And a example of launch:
if curl -m $TIMEOUT_PETICION_WEB
http://$HOST_INTRANET:$PUERTO_WEB_GAM_INTRANET; 21 | grep
-i \\/html\ /dev/null
then
echo Arrancado...
else
# Indeterminado o
Owen,
Here is the last portion of the file.
[Thu Jul 6 07:42:12 2006] [notice] caught SIGTERM, shutting down
[Thu Jul 6 08:02:47 2006] [error] mod_ssl: Init: Private key not found (OpenSSL
library error follows)
[Thu Jul 6 08:02:47 2006] [error] OpenSSL: error:0D07207B:asn1 encoding routine
-Original Message-
From: Graves, Jan [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:46 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] How to tell if Apache is really running
Owen,
Here is the last portion of the file.
[Thu Jul 6 07:42:12 2006]
[Thu Jul 6 08:02:47 2006] [error] mod_ssl: Init: Private key not found
(OpenSSL
library error follows)
Look inside the configuration of your ssl.conf or httpd.conf
or if you have some separate conf-files for line
like
SSLCertificateKeyFile /path/to/server.key
and check if the file is at
find / -name '*.conf' -print
This will find ssl.conf httpd.conf or example.com.conf etc...
Greetings
Oliver
-Ursprüngliche Nachricht-
Von: Graves, Jan [mailto:[EMAIL PROTECTED]
Gesendet: Do 06.07.2006 19:40
An: users@httpd.apache.org
Betreff: RE: [EMAIL PROTECTED] How to tell if
This last line means it started successfully and the fact that you see httpd
processes in the process table confirm this.
You say now matter what I cannot access the web site: what does this mean?
I meant no matter what.
- how are you trying to access it? Via a browser? curl?
Oliver,
I did find that I can use the find command to locate files and found my
httpd.conf file. The server.key file is in the directory where it should be.
How can I tell if users have read access to the file?
Thanks.
Jan Graves
Network Administrator/Engineer
Lenawee Intermediate School
10 matches
Mail list logo