Re: [users@httpd] Mystifying start failure

2022-06-01 Thread Curtis Maurand
thankfully it hooks into way too much

Sent from my iPhone

> On May 31, 2022, at 6:53 PM, Yehuda Katz  wrote:
> 
> 
> systemd doesn't know to look in the HTTPD log file. What does that log say?
> Likely located in /var/log/apache2/
> 
> - Y
> 
>> On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com  wrote:
>> I recently rebooted the server and started apache only to get a failure. 
>> Here's the diagnosis; I'm not sure what to make of it.
>> 
>>  systemctl status apache2.service
>> ● apache2.service - The Apache Webserver
>>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; 
>> vendor preset: disabled)
>>  Active: failed (Result: exit-code) since Mon 2022-05-30 06:53:28 PDT; 
>> 23s ago
>> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND 
>> -k start (code=exited, status=1/>
>>Main PID: 23499 (code=exited, status=1/FAILURE)
>>  Status: "Reading configuration..."
>> 
>> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
>> May 30 06:53:28 server systemd[1]: apache2.service: Main process exited, 
>> code=exited, status=1/FAILURE
>> May 30 06:53:28 server systemd[1]: apache2.service: Failed with result 
>> 'exit-code'.
>> May 30 06:53:28 server systemd[1]: Failed to start The Apache Webserver.


Re: [users@httpd] Mystifying start failure

2022-05-30 Thread Frank Gingras
Glad you figured it out, TLS errors can be cryptic to debug.

On Mon, 30 May 2022 at 13:14, jnil...@jala.com  wrote:

> That solved it! Apache has successfully started.
> Thanks Yehuda and Frank!
>
> On 30 May 2022, at 8:51, Yehuda Katz  wrote:
>
> Then something is probably wrong with the contents of one of your SSL
> certificates. Make sure they are formatted correctly.
> Check if any virtualhost has a separate error log.
>
> - Y
>
> On Mon, May 30, 2022 at 11:03 AM jnil...@jala.com 
> wrote:
>
>> The tail end of /var/log/apache2/error_log gives:
>>
>> [Fri May 27 00:02:10.914649 2022] [ssl:warn] [pid 1562] AH01873: Init:
>> Session Cache is not configured [hint: SSLSessionCache]
>> [Fri May 27 00:02:10.939405 2022] [:emerg] [pid 1562] AH00020:
>> Configuration Failed, exiting
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>>
>> There's nothing for May 30. I have updated ssl certificates recently.
>>
>> JMN
>>
>> On 30 May 2022, at 7:01, Yehuda Katz  wrote:
>>
>> systemd doesn't know to look in the HTTPD log file. What does that log
>> say?
>> Likely located in /var/log/apache2/
>>
>> - Y
>>
>> On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com 
>> wrote:
>>
>>> I recently rebooted the server and started apache only to get a failure.
>>> Here's the diagnosis; I'm not sure what to make of it.
>>>
>>>  systemctl status apache2.service
>>> *●* apache2.service - The Apache Webserver
>>>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled;
>>> vendor preset: disabled)
>>>  Active: *failed* (Result: exit-code) since Mon 2022-05-30 06:53:28
>>> PDT; 23s ago
>>> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD
>>> -DFOREGROUND -k start *(code=exited, status=1/*>
>>>Main PID: 23499 (code=exited, status=1/FAILURE)
>>>  Status: "Reading configuration..."
>>>
>>> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
>>> May 30 06:53:28 server systemd[1]: *apache2.service: Main process
>>> exited, code=exited, status=1/FAILURE*
>>> May 30 06:53:28 server systemd[1]: *apache2.service: Failed with result
>>> 'exit-code'.*
>>> May 30 06:53:28 server systemd[1]: *Failed to start The Apache
>>> Webserver.*
>>>
>>
>>
>


Re: [users@httpd] Mystifying start failure

2022-05-30 Thread jnil...@jala.com
That solved it! Apache has successfully started. 
Thanks Yehuda and Frank!

> On 30 May 2022, at 8:51, Yehuda Katz  wrote:
> 
> Then something is probably wrong with the contents of one of your SSL 
> certificates. Make sure they are formatted correctly.
> Check if any virtualhost has a separate error log.
> 
> - Y
> 
> On Mon, May 30, 2022 at 11:03 AM jnil...@jala.com  
> mailto:jnil...@jala.com>> wrote:
> The tail end of /var/log/apache2/error_log gives:
> 
> [Fri May 27 00:02:10.914649 2022] [ssl:warn] [pid 1562] AH01873: Init: 
> Session Cache is not configured [hint: SSLSessionCache]
> [Fri May 27 00:02:10.939405 2022] [:emerg] [pid 1562] AH00020: Configuration 
> Failed, exiting
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> 
> There's nothing for May 30. I have updated ssl certificates recently.
> 
> JMN
> 
>> On 30 May 2022, at 7:01, Yehuda Katz > > wrote:
>> 
>> systemd doesn't know to look in the HTTPD log file. What does that log say?
>> Likely located in /var/log/apache2/
>> 
>> - Y
>> 
>> On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com  
>> mailto:jnil...@jala.com>> wrote:
>> I recently rebooted the server and started apache only to get a failure. 
>> Here's the diagnosis; I'm not sure what to make of it.
>> 
>>  systemctl status apache2.service
>> ● apache2.service - The Apache Webserver
>>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; 
>> vendor preset: disabled)
>>  Active: failed (Result: exit-code) since Mon 2022-05-30 06:53:28 PDT; 
>> 23s ago
>> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND 
>> -k start (code=exited, status=1/>
>>Main PID: 23499 (code=exited, status=1/FAILURE)
>>  Status: "Reading configuration..."
>> 
>> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
>> May 30 06:53:28 server systemd[1]: apache2.service: Main process exited, 
>> code=exited, status=1/FAILURE
>> May 30 06:53:28 server systemd[1]: apache2.service: Failed with result 
>> 'exit-code'.
>> May 30 06:53:28 server systemd[1]: Failed to start The Apache Webserver.
> 



Re: [users@httpd] Mystifying start failure

2022-05-30 Thread jnil...@jala.com
Yep! One of the virtual hosts has a private key/certificate mismatch. I'll try 
shutting it down temporarily to see if that fixes the apache2 start problem.

> On 30 May 2022, at 8:51, Yehuda Katz  wrote:
> 
> Then something is probably wrong with the contents of one of your SSL 
> certificates. Make sure they are formatted correctly.
> Check if any virtualhost has a separate error log.
> 
> - Y
> 


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Mystifying start failure

2022-05-30 Thread Frank Gingras
Errors with certificates will often cause silent failures. Running
apachectl -S and making sure that all TLS vhosts have a valid certificate
and key is usually the fastest approach here.

On Mon, 30 May 2022 at 11:51, Yehuda Katz  wrote:

> Then something is probably wrong with the contents of one of your SSL
> certificates. Make sure they are formatted correctly.
> Check if any virtualhost has a separate error log.
>
> - Y
>
> On Mon, May 30, 2022 at 11:03 AM jnil...@jala.com 
> wrote:
>
>> The tail end of /var/log/apache2/error_log gives:
>>
>> [Fri May 27 00:02:10.914649 2022] [ssl:warn] [pid 1562] AH01873: Init:
>> Session Cache is not configured [hint: SSLSessionCache]
>> [Fri May 27 00:02:10.939405 2022] [:emerg] [pid 1562] AH00020:
>> Configuration Failed, exiting
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>> AH00016: Configuration Failed
>>
>> There's nothing for May 30. I have updated ssl certificates recently.
>>
>> JMN
>>
>> On 30 May 2022, at 7:01, Yehuda Katz  wrote:
>>
>> systemd doesn't know to look in the HTTPD log file. What does that log
>> say?
>> Likely located in /var/log/apache2/
>>
>> - Y
>>
>> On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com 
>> wrote:
>>
>>> I recently rebooted the server and started apache only to get a failure.
>>> Here's the diagnosis; I'm not sure what to make of it.
>>>
>>>  systemctl status apache2.service
>>> *●* apache2.service - The Apache Webserver
>>>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled;
>>> vendor preset: disabled)
>>>  Active: *failed* (Result: exit-code) since Mon 2022-05-30 06:53:28
>>> PDT; 23s ago
>>> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD
>>> -DFOREGROUND -k start *(code=exited, status=1/*>
>>>Main PID: 23499 (code=exited, status=1/FAILURE)
>>>  Status: "Reading configuration..."
>>>
>>> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
>>> May 30 06:53:28 server systemd[1]: *apache2.service: Main process
>>> exited, code=exited, status=1/FAILURE*
>>> May 30 06:53:28 server systemd[1]: *apache2.service: Failed with result
>>> 'exit-code'.*
>>> May 30 06:53:28 server systemd[1]: *Failed to start The Apache
>>> Webserver.*
>>>
>>
>>


Re: [users@httpd] Mystifying start failure

2022-05-30 Thread Yehuda Katz
Then something is probably wrong with the contents of one of your SSL
certificates. Make sure they are formatted correctly.
Check if any virtualhost has a separate error log.

- Y

On Mon, May 30, 2022 at 11:03 AM jnil...@jala.com  wrote:

> The tail end of /var/log/apache2/error_log gives:
>
> [Fri May 27 00:02:10.914649 2022] [ssl:warn] [pid 1562] AH01873: Init:
> Session Cache is not configured [hint: SSLSessionCache]
> [Fri May 27 00:02:10.939405 2022] [:emerg] [pid 1562] AH00020:
> Configuration Failed, exiting
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
> AH00016: Configuration Failed
>
> There's nothing for May 30. I have updated ssl certificates recently.
>
> JMN
>
> On 30 May 2022, at 7:01, Yehuda Katz  wrote:
>
> systemd doesn't know to look in the HTTPD log file. What does that log say?
> Likely located in /var/log/apache2/
>
> - Y
>
> On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com  wrote:
>
>> I recently rebooted the server and started apache only to get a failure.
>> Here's the diagnosis; I'm not sure what to make of it.
>>
>>  systemctl status apache2.service
>> *●* apache2.service - The Apache Webserver
>>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled;
>> vendor preset: disabled)
>>  Active: *failed* (Result: exit-code) since Mon 2022-05-30 06:53:28
>> PDT; 23s ago
>> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD
>> -DFOREGROUND -k start *(code=exited, status=1/*>
>>Main PID: 23499 (code=exited, status=1/FAILURE)
>>  Status: "Reading configuration..."
>>
>> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
>> May 30 06:53:28 server systemd[1]: *apache2.service: Main process
>> exited, code=exited, status=1/FAILURE*
>> May 30 06:53:28 server systemd[1]: *apache2.service: Failed with result
>> 'exit-code'.*
>> May 30 06:53:28 server systemd[1]: *Failed to start The Apache
>> Webserver.*
>>
>
>


Re: [users@httpd] Mystifying start failure

2022-05-30 Thread jnil...@jala.com
The tail end of /var/log/apache2/error_log gives:

[Fri May 27 00:02:10.914649 2022] [ssl:warn] [pid 1562] AH01873: Init: Session 
Cache is not configured [hint: SSLSessionCache]
[Fri May 27 00:02:10.939405 2022] [:emerg] [pid 1562] AH00020: Configuration 
Failed, exiting
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed
AH00016: Configuration Failed

There's nothing for May 30. I have updated ssl certificates recently.

JMN

> On 30 May 2022, at 7:01, Yehuda Katz  wrote:
> 
> systemd doesn't know to look in the HTTPD log file. What does that log say?
> Likely located in /var/log/apache2/
> 
> - Y
> 
> On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com  
> mailto:jnil...@jala.com>> wrote:
> I recently rebooted the server and started apache only to get a failure. 
> Here's the diagnosis; I'm not sure what to make of it.
> 
>  systemctl status apache2.service
> ● apache2.service - The Apache Webserver
>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor 
> preset: disabled)
>  Active: failed (Result: exit-code) since Mon 2022-05-30 06:53:28 PDT; 
> 23s ago
> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND 
> -k start (code=exited, status=1/>
>Main PID: 23499 (code=exited, status=1/FAILURE)
>  Status: "Reading configuration..."
> 
> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
> May 30 06:53:28 server systemd[1]: apache2.service: Main process exited, 
> code=exited, status=1/FAILURE
> May 30 06:53:28 server systemd[1]: apache2.service: Failed with result 
> 'exit-code'.
> May 30 06:53:28 server systemd[1]: Failed to start The Apache Webserver.



Re: [users@httpd] Mystifying start failure

2022-05-30 Thread Yehuda Katz
systemd doesn't know to look in the HTTPD log file. What does that log say?
Likely located in /var/log/apache2/

- Y

On Mon, May 30, 2022 at 9:58 AM jnil...@jala.com  wrote:

> I recently rebooted the server and started apache only to get a failure.
> Here's the diagnosis; I'm not sure what to make of it.
>
>  systemctl status apache2.service
> *●* apache2.service - The Apache Webserver
>  Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled;
> vendor preset: disabled)
>  Active: *failed* (Result: exit-code) since Mon 2022-05-30 06:53:28
> PDT; 23s ago
> Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD
> -DFOREGROUND -k start *(code=exited, status=1/*>
>Main PID: 23499 (code=exited, status=1/FAILURE)
>  Status: "Reading configuration..."
>
> May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
> May 30 06:53:28 server systemd[1]: *apache2.service: Main process exited,
> code=exited, status=1/FAILURE*
> May 30 06:53:28 server systemd[1]: *apache2.service: Failed with result
> 'exit-code'.*
> May 30 06:53:28 server systemd[1]: *Failed to start The Apache Webserver.*
>


[users@httpd] Mystifying start failure

2022-05-30 Thread jnil...@jala.com
I recently rebooted the server and started apache only to get a failure. Here's 
the diagnosis; I'm not sure what to make of it.

 systemctl status apache2.service
● apache2.service - The Apache Webserver
 Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor 
preset: disabled)
 Active: failed (Result: exit-code) since Mon 2022-05-30 06:53:28 PDT; 23s 
ago
Process: 23499 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k 
start (code=exited, status=1/>
   Main PID: 23499 (code=exited, status=1/FAILURE)
 Status: "Reading configuration..."

May 30 06:53:28 server systemd[1]: Starting The Apache Webserver...
May 30 06:53:28 server systemd[1]: apache2.service: Main process exited, 
code=exited, status=1/FAILURE
May 30 06:53:28 server systemd[1]: apache2.service: Failed with result 
'exit-code'.
May 30 06:53:28 server systemd[1]: Failed to start The Apache Webserver.