RE: [users@httpd] How to tell if Apache is really running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 Keyfile.
Take care that the directories where the keyfile
resides is for the same user aslo readable

bye 

Oliver

-----Ursprüngliche Nachricht-----
Von: Graves, Jan [mailto:Jan.Graves@xxxxxxx]
Gesendet: Do 06.07.2006 20:55
An: users@xxxxxxxxxxxxxxxx
Betreff: RE: [users@httpd] How to tell if Apache is really running
 
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 District
4107 N. Adrian Highway
Adrian, MI 49221
Phone: 517-265-1634
Fax:     517-265-7405
Visit us on the web at http://lisd.k12.mi.us
 

-----Original Message-----
From: Oliver.Schaudt@xxxxxxxxx [mailto:Oliver.Schaudt@xxxxxxxxx] 
Sent: Thursday, July 06, 2006 10:57 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] How to tell if Apache is really running

>[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 place and 
if the user which runs apache have read access to this file.

bye

Oliver

-----Ursprüngliche Nachricht-----
Von: Graves, Jan [mailto:Jan.Graves@xxxxxxx]
Gesendet: Do 06.07.2006 16:45
An: users@xxxxxxxxxxxxxxxx
Betreff: RE: [users@httpd] How to tell if Apache is really running
 
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
s:ASN1_get_object:header too long
[Thu Jul  6 08:04:57 2006] [error] mod_ssl: Init: Private key not found (OpenSSL
 library error follows)
[Thu Jul  6 08:04:57 2006] [error] OpenSSL: error:0D07207B:asn1 encoding routine
s:ASN1_get_object:header too long
[Thu Jul  6 08:51:58 2006] [error] mod_ssl: Init: Private key not found (OpenSSL
 library error follows)
[Thu Jul  6 08:51:58 2006] [error] OpenSSL: error:0D07207B:asn1 encoding routine
s:ASN1_get_object:header too long
[Thu Jul  6 09:25:12 2006] [notice] Apache/1.3.27 (Unix) PHP/4.3.3RC2 configured
 -- resuming normal operations
[Thu Jul  6 09:25:12 2006] [notice] Accept mutex: flock (Default: flock)

 
Jan Graves
Network Administrator/Engineer
Lenawee Intermediate School District
4107 N. Adrian Highway
Adrian, MI 49221
Phone: 517-265-1634
Fax:     517-265-7405
Visit us on the web at http://lisd.k12.mi.us
 

-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@xxxxxxx] 
Sent: Thursday, July 06, 2006 9:25 AM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] How to tell if Apache is really running

> -----Original Message-----
> From: Graves, Jan [mailto:Jan.Graves@xxxxxxx] 
> Sent: Thursday, July 06, 2006 4:16 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] How to tell if Apache is really running
> 
> First I have to apologize to all of you Apache experts for 
> what will sound like a stupid question.  However, I am new to 
> Apache and will admit that I have not a clue what I am doing 
> with it.  How can I tell if Apache is really running, since 
> now matter what I cannot access the web site this server 
> should be hosting?
> 
> This command    ps -ax |grep http          produces the 
> following results:
>  1029  ??  Ss     0:00.46 /usr/local/sbin/httpd
>  1030  ??  I      0:00.00 /usr/local/sbin/httpd
>  1031  ??  I      0:00.00 /usr/local/sbin/httpd
>  1032  ??  I      0:00.00 /usr/local/sbin/httpd
>  1033  ??  I      0:00.00 /usr/local/sbin/httpd
> 
> 
> I am running Apache Version 1.3 on a Unix system.  Things 
> were running fine until storms took out the power over the 
> week-end and the system needed to be re-started.  This system 
> was set up by a third party company who no longer provides 
> support.  So, I am trying to determine what the problem is.  
> The Unix system itself starts and all of the processes that I 
> expect, except Apache.  
> 
> I have attached the error log file.  

Please post the tail of the log in plain text - I (and others) cannot open MS word docs from untrusted sources..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

If anyone needs further 
> information, please let me know.  I will try to find it.  In 
> looking at the Apache site, I know that things were not left 
> in default places.
> 
> 
> Thanks in advance for any suggestions.
> 
>  
> Jan Graves
> Network Administrator/Engineer
> Lenawee Intermediate School District
> 4107 N. Adrian Highway
> Adrian, MI 49221
> Phone: 517-265-1634
> Fax:     517-265-7405
> Visit us on the web at http://lisd.k12.mi.us
>  
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


<<winmail.dat>>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux