Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My Apache 2.4.9 vhost configuration is not working any more on Debian 7.

I didn't make any changes and it seems to have broken.

Going to my site shows the following in /var/log/apache2/error.log

AH00052: child pid 5457 exit signal Segmentation fault (11)

What is the best way to trace what is causing this?

Also within /etc/apache2/sites-enabled is the following:

lrwxrwxrwx 1 root root 38 Jul 22 00:51 serverkb.co.uk.conf -> ../sites-available/serverkb.co.uk.conf

This used to just work as serverkb.co.uk , and all my other sites are still working without .conf even though I am on Apache 2.4.9 . I have already edited /etc/apache2/apache2.conf to say:

IncludeOptional sites-enabled/

instead of

IncludeOptional sites-enabled/*

And this is already in place:

<Directory /home/vhosts>
#       AllowOverride All
        Require all granted

Also, apache2ctl -S returns the following (some cut off on purpose):

VirtualHost configuration:
*:80                   is a NameVirtualHost
     default server dldmz.eu (/etc/apache2/sites-enabled/000-default.conf:1)
     port 80 namevhost dldmz.eu (/etc/apache2/sites-enabled/000-default.conf:1)
     port 80 namevhost byrongalietta.co.uk (/etc/apache2/sites-enabled/byrongalietta.co.uk:1)
             alias www.byrongalietta.co.uk
     port 80 namevhost bywatercraft.co.uk (/etc/apache2/sites-enabled/bywatercraft.co.uk:1)
             alias www.bywatercraft.co.uk
     port 80 namevhost dldmz.eu (/etc/apache2/sites-enabled/dldmz.eu:1)
             alias www.dldmz.eu
     port 80 namevhost myvideostation.co.uk (/etc/apache2/sites-enabled/myvideostation.co.uk:1)
             alias www.myvideostation.co.uk
     port 80 namevhost serverknowledgebase.co.uk (/etc/apache2/sites-enabled/serverknowledgebase.co.uk:1)
             alias www.serverknowledgebase.co.uk
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"

Firstly, it is showing the wrong DocumentRoot of /var/www/html , but this isn't what is loading for serverkb.co.uk as I tested using a test.txt + phpinfo.php page

Here is the 000-default as well as serverkb.co.uk sites-available config files:

cat /etc/apache2/sites-enabled/000-default.conf

<VirtualHost *:80>
        ServerAdmin remove@snotneeded.com

    DocumentRoot /home/vhosts
    <Directory />
            Options FollowSymLinks
            AllowOverride None

    <Directory /home/vhosts>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            allow from all
#               Require local
##              Require all granted

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Order allow,deny
            Allow from all

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/access.log combined

EDIT: Looks like my friend left the unstable distribution sid in sources.list so it upgraded Apache and PHP. Now disabled, downgraded Apache and PHP and my sites are working again as normal.

share|improve this question
What apache mods enabled? Using APC? –  QuentinMoss Jul 22 '14 at 0:07
Here are the Apache mods enabled: pastebin.com/hvzt7U3B I don't believe I have APC installed. I believe I have XCache installed which has always worked fine. –  Zippyduda Jul 22 '14 at 14:17
Nevermind, looks like my friend left the unstable distribution sid in sources.list so it upgraded Apache and PHP. Now downgraded and working again. –  Zippyduda Jul 23 '14 at 13:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.