You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marc <Ma...@f1-outsourcing.eu> on 2026/09/01 07:55:40 UTC

[users@httpd] wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

I know already I have somewhere some crt not auto renewed with this crappy 90 days life time and all cloud ips being blocked because of wordpress abuse scans. wtf is apache not reporting correctly!

RE: [users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Marc <Ma...@f1-outsourcing.eu>.
> > > > > > wtf I have to create this to find the error.
> > > > > >
> > > > > > - LOG ERRORS!!
> > > > >
> > > > > Errors were probably output/logged.
> > > > >
> > > >
> > > > no nothing in error_log,  nothing in ssl_error_log
> > > > all such tries
> > > > /httpd -DFOREGROUND -e debug -E /dev/stderr
> > > >
> > > > nothing on console
> > > >
> > > > > > - START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!
> > > > >
> > > > > I think it's much worse to allow the server to partially start.
> > > > >
> > > >
> > > > How is having all websites down better than having 1 website
> down????
> > >
> > > Because you get the appropriate feedback.
> > >
> >
> > I will get that any ways. Make sure you get an internet connection
> that shuts down if the latency is above >40ms so you get the proper
> feedback. See how you handle that.
> 
> Not really analogous. If you've debugged your issue that silently
> failed, report it with specifics and without the histrionics.
> 

Oh what about this analogy: User A's mobile phone is not configured correctly. So lets turn of everyones phone in the US.

It is related to crt loading, something went wrong with auto renewal probably. Nothing else happening there on that server. I think is pretty stupid to have 99% of your websites fail and need to be forced to debug it. In this case it was not even important virtual host failed. Maybe this would have even auto recovered with next crt run. Any way it is just stupid to have an apachectl configtest and then fail on restart. Htf should you test if apache would safely restart. 


Re: [users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Eric Covener <co...@gmail.com>.
On Tue, Sep 1, 2026 at 5:55 AM Marc <Ma...@f1-outsourcing.eu> wrote:
>
> > > > >
> > > > > wtf I have to create this to find the error.
> > > > >
> > > > > - LOG ERRORS!!
> > > >
> > > > Errors were probably output/logged.
> > > >
> > >
> > > no nothing in error_log,  nothing in ssl_error_log
> > > all such tries
> > > /httpd -DFOREGROUND -e debug -E /dev/stderr
> > >
> > > nothing on console
> > >
> > > > > - START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!
> > > >
> > > > I think it's much worse to allow the server to partially start.
> > > >
> > >
> > > How is having all websites down better than having 1 website down????
> >
> > Because you get the appropriate feedback.
> >
>
> I will get that any ways. Make sure you get an internet connection that shuts down if the latency is above >40ms so you get the proper feedback. See how you handle that.

Not really analogous. If you've debugged your issue that silently
failed, report it with specifics and without the histrionics.

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


RE: [users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Marc <Ma...@f1-outsourcing.eu>.
> > > >
> > > > wtf I have to create this to find the error.
> > > >
> > > > - LOG ERRORS!!
> > >
> > > Errors were probably output/logged.
> > >
> >
> > no nothing in error_log,  nothing in ssl_error_log
> > all such tries
> > /httpd -DFOREGROUND -e debug -E /dev/stderr
> >
> > nothing on console
> >
> > > > - START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!
> > >
> > > I think it's much worse to allow the server to partially start.
> > >
> >
> > How is having all websites down better than having 1 website down????
> 
> Because you get the appropriate feedback.
> 

I will get that any ways. Make sure you get an internet connection that shuts down if the latency is above >40ms so you get the proper feedback. See how you handle that.



Re: [users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Eric Covener <co...@gmail.com>.
On Tue, Sep 1, 2026 at 5:42 AM Marc <Ma...@f1-outsourcing.eu> wrote:
>
>
> > >
> > > wtf I have to create this to find the error.
> > >
> > > - LOG ERRORS!!
> >
> > Errors were probably output/logged.
> >
>
> no nothing in error_log,  nothing in ssl_error_log
> all such tries
> /httpd -DFOREGROUND -e debug -E /dev/stderr
>
> nothing on console
>
> > > - START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!
> >
> > I think it's much worse to allow the server to partially start.
> >
>
> How is having all websites down better than having 1 website down????

Because you get the appropriate feedback.

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


RE: [users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Marc <Ma...@f1-outsourcing.eu>.
> >
> > wtf I have to create this to find the error.
> >
> > - LOG ERRORS!!
> 
> Errors were probably output/logged.
>

no nothing in error_log,  nothing in ssl_error_log 
all such tries
/httpd -DFOREGROUND -e debug -E /dev/stderr

nothing on console

> > - START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!
> 
> I think it's much worse to allow the server to partially start.
> 

How is having all websites down better than having 1 website down????


Re: [users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Eric Covener <co...@gmail.com>.
On Tue, Sep 1, 2026 at 5:24 AM Marc <Ma...@f1-outsourcing.eu> wrote:
>
>
> wtf I have to create this to find the error.
>
> - LOG ERRORS!!

Errors were probably output/logged.

> - START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!

I think it's much worse to allow the server to partially start.

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


[users@httpd] RE: wtf is apache failing to start and does not log anything in /error_log or ssl_error_log

Posted by Marc <Ma...@f1-outsourcing.eu>.
wtf I have to create this to find the error. 

- LOG ERRORS!!
- START EVERYTHING THAT IS GOOD AND JUST FAIL THE VHOST!!!!!


#!/bin/bash

CONF="/etc/httpd/conf.d"
TRY="$CONF/try"
ERROR_LOG="/var/log/httpd/error_log"

GOOD=(
    "autoindex.conf"
    "httpd-custom.conf"
    "httpd-defines.conf"
    "mod_security.conf"
    "php82-php.conf"
    "php74-php.conf"
    "php.conf"
    "ssl.conf"
    "userdir.conf"
    "welcome.conf"
)

FAILED=()

echo "=== Restoring known-good configs ==="

for f in "${GOOD[@]}"; do
    if [ -f "$TRY/$f" ]; then
        echo "  restoring: $f"
        mv "$TRY/$f" "$CONF/"
    fi
done

echo
echo "=== Testing known-good baseline ==="

if ! httpd -t; then
    echo "ERROR: baseline configuration failed"
    exit 1
fi

if ! systemctl restart httpd; then
    echo "ERROR: Apache failed with known-good configuration"
    tail -100 "$ERROR_LOG"
    exit 1
fi

echo "Baseline OK."

echo
echo "=== Testing domains ==="

for f in "$TRY"/*.conf; do
    [ -f "$f" ] || continue

    name=$(basename "$f")

    echo
    echo "=========================================="
    echo "Testing: $name"
    echo "=========================================="

    mv "$f" "$CONF/$name"

    if ! httpd -t; then
        echo "!!! SYNTAX FAILURE: $name !!!"
        FAILED+=("$name")
        mv "$CONF/$name" "$TRY/$name"
        continue
    fi

    if systemctl restart httpd && systemctl is-active --quiet httpd; then
        echo ">>> OK: $name"
        continue
    fi

    echo
    echo "##########################################"
    echo "FAILED: $name"
    echo "##########################################"

    echo
    echo "--- Apache error_log ---"
    tail -100 "$ERROR_LOG"

    FAILED+=("$name")

    # Remove bad config
    mv "$CONF/$name" "$TRY/$name"

    echo
    echo "Restoring Apache without $name..."

    if systemctl restart httpd && systemctl is-active --quiet httpd; then
        echo "Apache restored."
    else
        echo "WARNING: Apache could not be restored!"
        echo "Stopping tests."
        exit 1
    fi

    # Continue with next domain
done

echo
echo "=========================================="
echo "TEST COMPLETE"
echo "=========================================="

if [ ${#FAILED[@]} -eq 0 ]; then
    echo "All domains passed."
else
    echo "Failed configurations:"
    for name in "${FAILED[@]}"; do
        echo "  $name"
    done
fi


> 
> I know already I have somewhere some crt not auto renewed with this
> crappy 90 days life time and all cloud ips being blocked because of
> wordpress abuse scans. wtf is apache not reporting correctly!