virtual host not working for new sites.

Discussion in 'Server Operation' started by SVL, Jul 29, 2016.

  1. SVL

    SVL New Member

    I'm having trouble when adding new sites;
    Going to the respective website invariably ends up on de default Apache "It Works!" page, instead of the virtual host folder.

    I have verified the folders are being created successfuly, all the links are there.
    However when i check /etc/apache2/sites-available i see that some of domains have .vhost.err files;
    The respecitive .vhost and vhost.err duplicates seem to have exactly the same content.
    Except for one of the new domains for which the .vhost file reads:
    # Apache did not start after modifying this vhost file.
    # Please check file /etc/apache2/sites-available/sportraadboutersem.be.vhost.err for syntax errors.

    I haven't manually edited or created any of these files.

    "apachectl -S" reads (domains removed):
    [Fri Jul 29 13:04:43 2016] [warn] NameVirtualHost -ip-:80 has no VirtualHosts
    [Fri Jul 29 13:04:43 2016] [warn] NameVirtualHost -ip-:443 has no VirtualHosts
    [Fri Jul 29 13:04:43 2016] [warn] NameVirtualHost *:443 has no VirtualHosts
    VirtualHost configuration:
    wildcard NameVirtualHosts and _default_ servers:
    _default_:8081 -edited- (/etc/apache2/sites-enabled/000-apps.vhost:9)
    *:8080 is a NameVirtualHost
    default server -edited- (/etc/apache2/sites-enabled/000-ispconfig.vhost:9)
    port 8080 namevhost -edited- (/etc/apache2/sites-enabled/000-ispconfig.vhost:9)
    *:80 is a NameVirtualHost
    default server -edited- (/etc/apache2/sites-enabled/000-default:1)
    port 80 namevhost -edited- -a bunch of these-
    Syntax OK

    As far as i can tell nothing wrong here?
    Some of the existing websites seemingly work flaflwessly in spite of also having a vhost.err file.
    I've seen that on one of such site which has joomla installed, i can see from the folder rights status that all the sites folders are "unwriteable"
    - perhaps this is relevant?

    I can't pinpoint when this started happening.
    The only changes we've made since everything was working was updating ISPconfig to the latest version (3.0.5.4p9 on debian), and installing an additional PHP version.
    Both of these installations went without a hitch (for PHP i had to un-dos the init script, other than that no problems).

    The only error in the log is
    "CA path error, file does not exist:Admin/openssl.cnf"
    I've stumbled on this thread, but i don't think the certificate is an issue:
    https://www.howtoforge.com/communit...ot-writing-vhost-changes-to-disk.56212/page-2

    Any ideas would be greatly appreciated!
     
    Last edited: Aug 1, 2016
  2. ruliezz

    ruliezz Member HowtoForge Supporter

    Please run this command and post the outcomes here:
    Code:
    ls -al /etc/apache2/*
    and 
    ls -al /etc/apache2/*/*
    
    
    and please paste the vhost conf from the domainname what is not working. I guess: sportraadboutersem.be

    Let's see if I can help you
     
  3. SVL

    SVL New Member

    Here's the apache output:
    -rw-r--r-- 1 root root 9640 Mar 4 2013 /etc/apache2/apache2.conf
    -rw-r--r-- 1 root root 1465 Mar 4 2013 /etc/apache2/envvars
    -rw-r--r-- 1 root root 31063 Oct 21 2012 /etc/apache2/magic
    -rw-r--r-- 1 root root 768 Apr 22 16:14 /etc/apache2/ports.conf

    /etc/apache2/conf.d:
    total 28
    drwxr-xr-x 2 root root 4096 Dec 9 2015 .
    drwxr-xr-x 7 root root 4096 Dec 9 2015 ..
    -rw-r--r-- 1 root root 237 Mar 4 2013 apache2-doc
    -rw-r--r-- 1 root root 269 Mar 3 2013 charset
    -rw-r--r-- 1 root root 3296 Mar 3 2013 localized-error-pages
    lrwxrwxrwx 1 root root 24 Dec 19 2013 mailman.conf -> /etc/mailman/apache.conf
    -rw-r--r-- 1 root root 143 Mar 3 2013 other-vhosts-access-log
    lrwxrwxrwx 1 root root 28 Dec 19 2013 phpmyadmin.conf -> ../../phpmyadmin/apache.conf
    -rw-r--r-- 1 root root 2590 Mar 4 2013 security
    lrwxrwxrwx 1 root root 30 Dec 19 2013 squirrelmail.conf -> ../../squirrelmail/apache.conf

    /etc/apache2/mods-available:
    total 416
    drwxr-xr-x 2 root root 12288 Dec 9 2015 .
    drwxr-xr-x 7 root root 4096 Dec 9 2015 ..
    -rw-r--r-- 1 root root 332 Mar 3 2013 actions.conf
    -rw-r--r-- 1 root root 66 Oct 21 2012 actions.load
    -rw-r--r-- 1 root root 811 Mar 4 2013 alias.conf
    -rw-r--r-- 1 root root 62 Oct 21 2012 alias.load
    -rw-r--r-- 1 root root 60 Mar 3 2013 asis.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 auth_basic.load
    -rw-r--r-- 1 root root 74 Oct 21 2012 auth_digest.load
    -rw-r--r-- 1 root root 74 Mar 3 2013 authn_alias.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 authn_anon.load
    -rw-r--r-- 1 root root 85 Oct 21 2012 authn_dbd.load
    -rw-r--r-- 1 root root 70 Oct 21 2012 authn_dbm.load
    -rw-r--r-- 1 root root 78 Mar 3 2013 authn_default.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 authn_file.load
    -rw-r--r-- 1 root root 90 Oct 21 2012 authnz_ldap.load
    -rw-r--r-- 1 root root 70 Mar 3 2013 authz_dbm.load
    -rw-r--r-- 1 root root 78 Mar 3 2013 authz_default.load
    -rw-r--r-- 1 root root 82 Mar 3 2013 authz_groupfile.load
    -rw-r--r-- 1 root root 72 Mar 3 2013 authz_host.load
    -rw-r--r-- 1 root root 74 Oct 21 2012 authz_owner.load
    -rw-r--r-- 1 root root 72 Mar 3 2013 authz_user.load
    -rw-r--r-- 1 root root 3265 Mar 3 2013 autoindex.conf
    -rw-r--r-- 1 root root 70 Oct 21 2012 autoindex.load
    -rw-r--r-- 1 root root 62 Oct 21 2012 cache.load
    -rw-r--r-- 1 root root 70 Mar 3 2013 cern_meta.load
    -rw-r--r-- 1 root root 69 Mar 3 2013 cgid.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 cgid.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 cgi.load
    -rw-r--r-- 1 root root 76 Oct 21 2012 charset_lite.load
    -rw-r--r-- 1 root root 37 Mar 3 2013 dav_fs.conf
    -rw-r--r-- 1 root root 79 Oct 21 2012 dav_fs.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 dav.load
    -rw-r--r-- 1 root root 68 Oct 21 2012 dav_lock.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 dbd.load
    -rw-r--r-- 1 root root 438 Mar 3 2013 deflate.conf
    -rw-r--r-- 1 root root 66 Mar 3 2013 deflate.load
    -rw-r--r-- 1 root root 122 Mar 3 2013 dir.conf
    -rw-r--r-- 1 root root 58 Oct 21 2012 dir.load
    -rw-r--r-- 1 root root 887 Mar 4 2013 disk_cache.conf
    -rw-r--r-- 1 root root 89 Mar 3 2013 disk_cache.load
    -rw-r--r-- 1 root root 64 Oct 21 2012 dump_io.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 env.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 expires.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 ext_filter.load
    -rw-r--r-- 1 root root 115 Apr 22 16:14 fcgid.conf
    -rw-r--r-- 1 root root 62 Oct 11 2013 fcgid.load
    -rw-r--r-- 1 root root 89 Oct 21 2012 file_cache.load
    -rw-r--r-- 1 root root 64 Oct 21 2012 filter.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 headers.load
    -rw-r--r-- 1 root root 62 Mar 3 2013 ident.load
    -rw-r--r-- 1 root root 68 Mar 3 2013 imagemap.load
    -rw-r--r-- 1 root root 66 Mar 3 2013 include.load
    -rw-r--r-- 1 root root 408 Mar 3 2013 info.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 info.load
    -rw-r--r-- 1 root root 176 Mar 3 2013 ldap.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 ldap.load
    -rw-r--r-- 1 root root 76 Oct 21 2012 log_forensic.load
    -rw-r--r-- 1 root root 185 Mar 3 2013 mem_cache.conf
    -rw-r--r-- 1 root root 87 Mar 3 2013 mem_cache.load
    -rw-r--r-- 1 root root 7439 Mar 4 2013 mime.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 mime.load
    -rw-r--r-- 1 root root 81 Mar 3 2013 mime_magic.conf
    -rw-r--r-- 1 root root 72 Oct 21 2012 mime_magic.load
    -rw-r--r-- 1 root root 666 Mar 3 2013 negotiation.conf
    -rw-r--r-- 1 root root 74 Oct 21 2012 negotiation.load
    -rw-r--r-- 1 root root 1344 Dec 12 2013 php5_cgi.conf
    -rw-r--r-- 1 root root 75 Dec 12 2013 php5_cgi.load
    -rw-r--r-- 1 root root 898 Dec 12 2013 php5.conf
    -rw-r--r-- 1 root root 59 Dec 12 2013 php5.load
    -rw-r--r-- 1 root root 87 Oct 21 2012 proxy_ajp.load
    -rw-r--r-- 1 root root 355 Mar 3 2013 proxy_balancer.conf
    -rw-r--r-- 1 root root 97 Mar 3 2013 proxy_balancer.load
    -rw-r--r-- 1 root root 803 Mar 3 2013 proxy.conf
    -rw-r--r-- 1 root root 95 Oct 21 2012 proxy_connect.load
    -rw-r--r-- 1 root root 141 Mar 3 2013 proxy_ftp.conf
    -rw-r--r-- 1 root root 87 Oct 21 2012 proxy_ftp.load
    -rw-r--r-- 1 root root 89 Oct 21 2012 proxy_http.load
    -rw-r--r-- 1 root root 62 Oct 21 2012 proxy.load
    -rw-r--r-- 1 root root 89 Oct 21 2012 proxy_scgi.load
    -rw-r--r-- 1 root root 64 Sep 28 2011 python.load
    -rw-r--r-- 1 root root 1126 Mar 3 2013 reqtimeout.conf
    -rw-r--r-- 1 root root 72 Oct 21 2012 reqtimeout.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 rewrite.load
    -rw-r--r-- 1 root root 60 Jul 22 2008 ruby.load
    -rw-r--r-- 1 root root 1211 Mar 3 2013 setenvif.conf
    -rw-r--r-- 1 root root 68 Oct 21 2012 setenvif.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 speling.load
    -rw-r--r-- 1 root root 3112 Mar 4 2013 ssl.conf
    -rw-r--r-- 1 root root 58 Mar 3 2013 ssl.load
    -rw-r--r-- 1 root root 753 Mar 3 2013 status.conf
    -rw-r--r-- 1 root root 64 Oct 21 2012 status.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 substitute.load
    -rw-r--r-- 1 root root 64 Oct 21 2012 suexec.load
    -rw-r--r-- 1 root root 750 Dec 19 2013 suphp.conf
    -rw-r--r-- 1 root root 62 Nov 1 2008 suphp.load
    -rw-r--r-- 1 root root 70 Oct 21 2012 unique_id.load
    -rw-r--r-- 1 root root 604 Mar 3 2013 userdir.conf
    -rw-r--r-- 1 root root 66 Oct 21 2012 userdir.load
    -rw-r--r-- 1 root root 70 Oct 21 2012 usertrack.load
    -rw-r--r-- 1 root root 74 Oct 21 2012 vhost_alias.load
    (continued in next post)
     
    Last edited: Jul 29, 2016
  4. SVL

    SVL New Member

    /etc/apache2/mods-enabled:
    total 8
    drwxr-xr-x 2 root root 4096 Dec 19 2013 .
    drwxr-xr-x 7 root root 4096 Dec 9 2015 ..
    lrwxrwxrwx 1 root root 30 Dec 19 2013 actions.conf -> ../mods-available/actions.conf
    lrwxrwxrwx 1 root root 30 Dec 19 2013 actions.load -> ../mods-available/actions.load
    lrwxrwxrwx 1 root root 28 Dec 19 2013 alias.conf -> ../mods-available/alias.conf
    lrwxrwxrwx 1 root root 28 Dec 19 2013 alias.load -> ../mods-available/alias.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 auth_basic.load -> ../mods-available/auth_basic.load
    lrwxrwxrwx 1 root root 34 Dec 19 2013 auth_digest.load -> ../mods-available/auth_digest.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 authn_file.load -> ../mods-available/authn_file.load
    lrwxrwxrwx 1 root root 36 Dec 19 2013 authz_default.load -> ../mods-available/authz_default.load
    lrwxrwxrwx 1 root root 38 Dec 19 2013 authz_groupfile.load -> ../mods-available/authz_groupfile.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 authz_host.load -> ../mods-available/authz_host.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 authz_user.load -> ../mods-available/authz_user.load
    lrwxrwxrwx 1 root root 32 Dec 19 2013 autoindex.conf -> ../mods-available/autoindex.conf
    lrwxrwxrwx 1 root root 32 Dec 19 2013 autoindex.load -> ../mods-available/autoindex.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 cgi.load -> ../mods-available/cgi.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 dav_fs.conf -> ../mods-available/dav_fs.conf
    lrwxrwxrwx 1 root root 29 Dec 19 2013 dav_fs.load -> ../mods-available/dav_fs.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 dav.load -> ../mods-available/dav.load
    lrwxrwxrwx 1 root root 30 Dec 19 2013 deflate.conf -> ../mods-available/deflate.conf
    lrwxrwxrwx 1 root root 30 Dec 19 2013 deflate.load -> ../mods-available/deflate.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 dir.conf -> ../mods-available/dir.conf
    lrwxrwxrwx 1 root root 26 Dec 19 2013 dir.load -> ../mods-available/dir.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 env.load -> ../mods-available/env.load
    lrwxrwxrwx 1 root root 28 Dec 19 2013 fcgid.conf -> ../mods-available/fcgid.conf
    lrwxrwxrwx 1 root root 28 Dec 19 2013 fcgid.load -> ../mods-available/fcgid.load
    lrwxrwxrwx 1 root root 30 Dec 19 2013 include.load -> ../mods-available/include.load
    lrwxrwxrwx 1 root root 27 Dec 19 2013 mime.conf -> ../mods-available/mime.conf
    lrwxrwxrwx 1 root root 27 Dec 19 2013 mime.load -> ../mods-available/mime.load
    lrwxrwxrwx 1 root root 34 Dec 19 2013 negotiation.conf -> ../mods-available/negotiation.conf
    lrwxrwxrwx 1 root root 34 Dec 19 2013 negotiation.load -> ../mods-available/negotiation.load
    lrwxrwxrwx 1 root root 27 Dec 19 2013 php5.conf -> ../mods-available/php5.conf
    lrwxrwxrwx 1 root root 27 Dec 19 2013 php5.load -> ../mods-available/php5.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 python.load -> ../mods-available/python.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 reqtimeout.conf -> ../mods-available/reqtimeout.conf
    lrwxrwxrwx 1 root root 33 Dec 19 2013 reqtimeout.load -> ../mods-available/reqtimeout.load
    lrwxrwxrwx 1 root root 30 Dec 19 2013 rewrite.load -> ../mods-available/rewrite.load
    lrwxrwxrwx 1 root root 27 Dec 19 2013 ruby.load -> ../mods-available/ruby.load
    lrwxrwxrwx 1 root root 31 Dec 19 2013 setenvif.conf -> ../mods-available/setenvif.conf
    lrwxrwxrwx 1 root root 31 Dec 19 2013 setenvif.load -> ../mods-available/setenvif.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 ssl.conf -> ../mods-available/ssl.conf
    lrwxrwxrwx 1 root root 26 Dec 19 2013 ssl.load -> ../mods-available/ssl.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 status.conf -> ../mods-available/status.conf
    lrwxrwxrwx 1 root root 29 Dec 19 2013 status.load -> ../mods-available/status.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 suexec.load -> ../mods-available/suexec.load
    lrwxrwxrwx 1 root root 28 Dec 19 2013 suphp.conf -> ../mods-available/suphp.conf
    lrwxrwxrwx 1 root root 28 Dec 19 2013 suphp.load -> ../mods-available/suphp.load
    /etc/apache2/sites-available:
    total 328
    drwxr-xr-x 2 root root 4096 Jul 29 14:13 .
    drwxr-xr-x 7 root root 4096 Dec 9 2015 ..
    -rw-r--r-- 1 root root 1074 Jun 10 23:36 apps.vhost
    ...[bunch of sites with the same permissions]
    -rw-r--r-- 1 root root 3148 Jul 29 14:13 sportraadboutersem.be.vhost
    -rw-r--r-- 1 root root 155 Jul 29 14:13 sportraadboutersem.be.vhost~ [<-this one is weird, none other like it]
    -rw-r--r-- 1 root root 3148 Jul 28 16:31 sportraadboutersem.be.vhost.err
    ...

    /etc/apache2/sites-enabled:
    total 16
    drwxr-xr-x 2 root root 4096 Jul 29 14:13 .
    drwxr-xr-x 7 root root 4096 Dec 9 2015 ..
    lrwxrwxrwx 1 root root 39 Dec 19 2013 000-apps.vhost -> /etc/apache2/sites-available/apps.vhost
    lrwxrwxrwx 1 root root 26 Dec 19 2013 000-default -> ../sites-available/default
    lrwxrwxrwx 1 root root 43 Dec 19 2013 000-ispconfig.conf -> /etc/apache2/sites-available/ispconfig.conf
    lrwxrwxrwx 1 root root 44 Dec 19 2013 000-ispconfig.vhost -> /etc/apache2/sites-available/ispconfig.vhost
    ... [bunch of sites with the same permissions]
    lrwxrwxrwx 1 root root 56 Jul 29 14:13 100-sportraadboutersem.be.vhost -> /etc/apache2/sites-available/sportraadboutersem.be.vhost
    ...
     
    Last edited: Jul 29, 2016
  5. SVL

    SVL New Member

    And here's the .vhost.err file content:
    <Directory /var/www/sportraadboutersem.be>
    AllowOverride None
    Order Deny,Allow
    Deny from all
    </Directory>

    <VirtualHost *:80>
    DocumentRoot /var/www/sportraadboutersem.be/web

    ServerName sportraadboutersem.be
    ServerAlias www.sportraadboutersem.be
    ServerAdmin [email protected]

    ErrorLog /var/log/ispconfig/httpd/sportraadboutersem.be/error.log


    <IfModule mod_ssl.c>
    </IfModule>

    <Directory /var/www/sportraadboutersem.be/web>
    # Clear PHP settings of this website
    <FilesMatch ".+\.ph(p[345]?|t|tml)$">
    SetHandler None
    </FilesMatch>
    Options +FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/clients/client5/web116/web>
    # Clear PHP settings of this website
    <FilesMatch ".+\.ph(p[345]?|t|tml)$">
    SetHandler None
    </FilesMatch>
    Options +FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>




    # suexec enabled
    <IfModule mod_suexec.c>
    SuexecUserGroup web116 client5
    </IfModule>
    # php as fast-cgi enabled
    # For config options see: -link removed-
    <IfModule mod_fcgid.c>
    IdleTimeout 300
    ProcessLifeTime 3600
    # MaxProcessCount 1000
    DefaultMinClassProcessCount 0
    DefaultMaxClassProcessCount 100
    IPCConnectTimeout 3
    IPCCommTimeout 600
    BusyTimeout 3600
    </IfModule>
    <Directory /var/www/sportraadboutersem.be/web>
    <FilesMatch "\.php[345]?$">
    SetHandler fcgid-script
    </FilesMatch>
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php3
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php4
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php5
    Options +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <Directory /var/www/clients/client5/web116/web>
    <FilesMatch "\.php[345]?$">
    SetHandler fcgid-script
    </FilesMatch>
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php3
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php4
    FCGIWrapper /var/www/php-fcgi-scripts/web116/.php-fcgi-starter .php5
    Options +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>


    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
    AssignUserId web116 client5
    </IfModule>

    <IfModule mod_dav_fs.c>
    # Do not execute PHP files in webdav directory
    <Directory /var/www/clients/client5/web116/webdav>
    <ifModule mod_security2.c>
    SecRuleRemoveById 960015
    SecRuleRemoveById 960032
    </ifModule>
    <FilesMatch "\.ph(p3?|tml)$">
    SetHandler None
    </FilesMatch>
    </Directory>
    DavLockDB /var/www/clients/client5/web116/tmp/DavLock
    # DO NOT REMOVE THE COMMENTS!
    # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
    # WEBDAV BEGIN
    # WEBDAV END
    </IfModule>


    </VirtualHost>
     
  6. SVL

    SVL New Member

    -rw-r--r-- 1 root root 237 Mar 4 2013 /etc/apache2/conf.d/apache2-doc
    -rw-r--r-- 1 root root 269 Mar 3 2013 /etc/apache2/conf.d/charset
    -rw-r--r-- 1 root root 3296 Mar 3 2013 /etc/apache2/conf.d/localized-error-pages
    lrwxrwxrwx 1 root root 24 Dec 19 2013 /etc/apache2/conf.d/mailman.conf -> /etc/mailman/apache.conf
    -rw-r--r-- 1 root root 143 Mar 3 2013 /etc/apache2/conf.d/other-vhosts-access-log
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/conf.d/phpmyadmin.conf -> ../../phpmyadmin/apache.conf
    -rw-r--r-- 1 root root 2590 Mar 4 2013 /etc/apache2/conf.d/security
    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/conf.d/squirrelmail.conf -> ../../squirrelmail/apache.conf
    -rw-r--r-- 1 root root 332 Mar 3 2013 /etc/apache2/mods-available/actions.conf
    -rw-r--r-- 1 root root 66 Oct 21 2012 /etc/apache2/mods-available/actions.load
    -rw-r--r-- 1 root root 811 Mar 4 2013 /etc/apache2/mods-available/alias.conf
    -rw-r--r-- 1 root root 62 Oct 21 2012 /etc/apache2/mods-available/alias.load
    -rw-r--r-- 1 root root 60 Mar 3 2013 /etc/apache2/mods-available/asis.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/auth_basic.load
    -rw-r--r-- 1 root root 74 Oct 21 2012 /etc/apache2/mods-available/auth_digest.load
    -rw-r--r-- 1 root root 74 Mar 3 2013 /etc/apache2/mods-available/authn_alias.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/authn_anon.load
    -rw-r--r-- 1 root root 85 Oct 21 2012 /etc/apache2/mods-available/authn_dbd.load
    -rw-r--r-- 1 root root 70 Oct 21 2012 /etc/apache2/mods-available/authn_dbm.load
    -rw-r--r-- 1 root root 78 Mar 3 2013 /etc/apache2/mods-available/authn_default.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/authn_file.load
    -rw-r--r-- 1 root root 90 Oct 21 2012 /etc/apache2/mods-available/authnz_ldap.load
    -rw-r--r-- 1 root root 70 Mar 3 2013 /etc/apache2/mods-available/authz_dbm.load
    -rw-r--r-- 1 root root 78 Mar 3 2013 /etc/apache2/mods-available/authz_default.load
    -rw-r--r-- 1 root root 82 Mar 3 2013 /etc/apache2/mods-available/authz_groupfile.load
    -rw-r--r-- 1 root root 72 Mar 3 2013 /etc/apache2/mods-available/authz_host.load
    -rw-r--r-- 1 root root 74 Oct 21 2012 /etc/apache2/mods-available/authz_owner.load
    -rw-r--r-- 1 root root 72 Mar 3 2013 /etc/apache2/mods-available/authz_user.load
    -rw-r--r-- 1 root root 3265 Mar 3 2013 /etc/apache2/mods-available/autoindex.conf
    -rw-r--r-- 1 root root 70 Oct 21 2012 /etc/apache2/mods-available/autoindex.load
    -rw-r--r-- 1 root root 62 Oct 21 2012 /etc/apache2/mods-available/cache.load
    -rw-r--r-- 1 root root 70 Mar 3 2013 /etc/apache2/mods-available/cern_meta.load
    -rw-r--r-- 1 root root 69 Mar 3 2013 /etc/apache2/mods-available/cgid.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 /etc/apache2/mods-available/cgid.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 /etc/apache2/mods-available/cgi.load
    -rw-r--r-- 1 root root 76 Oct 21 2012 /etc/apache2/mods-available/charset_lite.load
    -rw-r--r-- 1 root root 37 Mar 3 2013 /etc/apache2/mods-available/dav_fs.conf
    -rw-r--r-- 1 root root 79 Oct 21 2012 /etc/apache2/mods-available/dav_fs.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 /etc/apache2/mods-available/dav.load
    -rw-r--r-- 1 root root 68 Oct 21 2012 /etc/apache2/mods-available/dav_lock.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 /etc/apache2/mods-available/dbd.load
    -rw-r--r-- 1 root root 438 Mar 3 2013 /etc/apache2/mods-available/deflate.conf
    -rw-r--r-- 1 root root 66 Mar 3 2013 /etc/apache2/mods-available/deflate.load
    -rw-r--r-- 1 root root 122 Mar 3 2013 /etc/apache2/mods-available/dir.conf
    -rw-r--r-- 1 root root 58 Oct 21 2012 /etc/apache2/mods-available/dir.load
    -rw-r--r-- 1 root root 887 Mar 4 2013 /etc/apache2/mods-available/disk_cache.conf
    -rw-r--r-- 1 root root 89 Mar 3 2013 /etc/apache2/mods-available/disk_cache.load
    -rw-r--r-- 1 root root 64 Oct 21 2012 /etc/apache2/mods-available/dump_io.load
    -rw-r--r-- 1 root root 58 Oct 21 2012 /etc/apache2/mods-available/env.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 /etc/apache2/mods-available/expires.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/ext_filter.load
    -rw-r--r-- 1 root root 115 Apr 22 16:14 /etc/apache2/mods-available/fcgid.conf
    -rw-r--r-- 1 root root 62 Oct 11 2013 /etc/apache2/mods-available/fcgid.load
    -rw-r--r-- 1 root root 89 Oct 21 2012 /etc/apache2/mods-available/file_cache.load
    -rw-r--r-- 1 root root 64 Oct 21 2012 /etc/apache2/mods-available/filter.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 /etc/apache2/mods-available/headers.load
    -rw-r--r-- 1 root root 62 Mar 3 2013 /etc/apache2/mods-available/ident.load
    -rw-r--r-- 1 root root 68 Mar 3 2013 /etc/apache2/mods-available/imagemap.load
    -rw-r--r-- 1 root root 66 Mar 3 2013 /etc/apache2/mods-available/include.load
    -rw-r--r-- 1 root root 408 Mar 3 2013 /etc/apache2/mods-available/info.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 /etc/apache2/mods-available/info.load
    -rw-r--r-- 1 root root 176 Mar 3 2013 /etc/apache2/mods-available/ldap.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 /etc/apache2/mods-available/ldap.load
    -rw-r--r-- 1 root root 76 Oct 21 2012 /etc/apache2/mods-available/log_forensic.load
    -rw-r--r-- 1 root root 185 Mar 3 2013 /etc/apache2/mods-available/mem_cache.conf
    -rw-r--r-- 1 root root 87 Mar 3 2013 /etc/apache2/mods-available/mem_cache.load
    -rw-r--r-- 1 root root 7439 Mar 4 2013 /etc/apache2/mods-available/mime.conf
    -rw-r--r-- 1 root root 60 Oct 21 2012 /etc/apache2/mods-available/mime.load
    -rw-r--r-- 1 root root 81 Mar 3 2013 /etc/apache2/mods-available/mime_magic.conf
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/mime_magic.load
    -rw-r--r-- 1 root root 666 Mar 3 2013 /etc/apache2/mods-available/negotiation.conf
    -rw-r--r-- 1 root root 74 Oct 21 2012 /etc/apache2/mods-available/negotiation.load
    -rw-r--r-- 1 root root 1344 Dec 12 2013 /etc/apache2/mods-available/php5_cgi.conf
    -rw-r--r-- 1 root root 75 Dec 12 2013 /etc/apache2/mods-available/php5_cgi.load
    -rw-r--r-- 1 root root 898 Dec 12 2013 /etc/apache2/mods-available/php5.conf
    -rw-r--r-- 1 root root 59 Dec 12 2013 /etc/apache2/mods-available/php5.load
    -rw-r--r-- 1 root root 87 Oct 21 2012 /etc/apache2/mods-available/proxy_ajp.load
    -rw-r--r-- 1 root root 355 Mar 3 2013 /etc/apache2/mods-available/proxy_balancer.conf
    -rw-r--r-- 1 root root 97 Mar 3 2013 /etc/apache2/mods-available/proxy_balancer.load
    -rw-r--r-- 1 root root 803 Mar 3 2013 /etc/apache2/mods-available/proxy.conf
    -rw-r--r-- 1 root root 95 Oct 21 2012 /etc/apache2/mods-available/proxy_connect.load
    -rw-r--r-- 1 root root 141 Mar 3 2013 /etc/apache2/mods-available/proxy_ftp.conf
    -rw-r--r-- 1 root root 87 Oct 21 2012 /etc/apache2/mods-available/proxy_ftp.load
    -rw-r--r-- 1 root root 89 Oct 21 2012 /etc/apache2/mods-available/proxy_http.load
    -rw-r--r-- 1 root root 62 Oct 21 2012 /etc/apache2/mods-available/proxy.load
    -rw-r--r-- 1 root root 89 Oct 21 2012 /etc/apache2/mods-available/proxy_scgi.load
    -rw-r--r-- 1 root root 64 Sep 28 2011 /etc/apache2/mods-available/python.load
    -rw-r--r-- 1 root root 1126 Mar 3 2013 /etc/apache2/mods-available/reqtimeout.conf
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/reqtimeout.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 /etc/apache2/mods-available/rewrite.load
    -rw-r--r-- 1 root root 60 Jul 22 2008 /etc/apache2/mods-available/ruby.load
    -rw-r--r-- 1 root root 1211 Mar 3 2013 /etc/apache2/mods-available/setenvif.conf
    -rw-r--r-- 1 root root 68 Oct 21 2012 /etc/apache2/mods-available/setenvif.load
    -rw-r--r-- 1 root root 66 Oct 21 2012 /etc/apache2/mods-available/speling.load
    -rw-r--r-- 1 root root 3112 Mar 4 2013 /etc/apache2/mods-available/ssl.conf
    -rw-r--r-- 1 root root 58 Mar 3 2013 /etc/apache2/mods-available/ssl.load
    -rw-r--r-- 1 root root 753 Mar 3 2013 /etc/apache2/mods-available/status.conf
    -rw-r--r-- 1 root root 64 Oct 21 2012 /etc/apache2/mods-available/status.load
    -rw-r--r-- 1 root root 72 Oct 21 2012 /etc/apache2/mods-available/substitute.load
    -rw-r--r-- 1 root root 64 Oct 21 2012 /etc/apache2/mods-available/suexec.load
    -rw-r--r-- 1 root root 750 Dec 19 2013 /etc/apache2/mods-available/suphp.conf
    -rw-r--r-- 1 root root 62 Nov 1 2008 /etc/apache2/mods-available/suphp.load
    -rw-r--r-- 1 root root 70 Oct 21 2012 /etc/apache2/mods-available/unique_id.load
    -rw-r--r-- 1 root root 604 Mar 3 2013 /etc/apache2/mods-available/userdir.conf
    -rw-r--r-- 1 root root 66 Oct 21 2012 /etc/apache2/mods-available/userdir.load
    -rw-r--r-- 1 root root 70 Oct 21 2012 /etc/apache2/mods-available/usertrack.load
    -rw-r--r-- 1 root root 74 Oct 21 2012 /etc/apache2/mods-available/vhost_alias.load

    continued in next post
     
  7. SVL

    SVL New Member

    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/mods-enabled/actions.conf -> ../mods-available/actions.conf
    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/mods-enabled/actions.load -> ../mods-available/actions.load
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/mods-enabled/alias.conf -> ../mods-available/alias.conf
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/mods-enabled/alias.load -> ../mods-available/alias.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 /etc/apache2/mods-enabled/auth_basic.load -> ../mods-available/auth_basic.load
    lrwxrwxrwx 1 root root 34 Dec 19 2013 /etc/apache2/mods-enabled/auth_digest.load -> ../mods-available/auth_digest.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 /etc/apache2/mods-enabled/authn_file.load -> ../mods-available/authn_file.load
    lrwxrwxrwx 1 root root 36 Dec 19 2013 /etc/apache2/mods-enabled/authz_default.load -> ../mods-available/authz_default.load
    lrwxrwxrwx 1 root root 38 Dec 19 2013 /etc/apache2/mods-enabled/authz_groupfile.load -> ../mods-available/authz_groupfile.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 /etc/apache2/mods-enabled/authz_host.load -> ../mods-available/authz_host.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 /etc/apache2/mods-enabled/authz_user.load -> ../mods-available/authz_user.load
    lrwxrwxrwx 1 root root 32 Dec 19 2013 /etc/apache2/mods-enabled/autoindex.conf -> ../mods-available/autoindex.conf
    lrwxrwxrwx 1 root root 32 Dec 19 2013 /etc/apache2/mods-enabled/autoindex.load -> ../mods-available/autoindex.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/cgi.load -> ../mods-available/cgi.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 /etc/apache2/mods-enabled/dav_fs.conf -> ../mods-available/dav_fs.conf
    lrwxrwxrwx 1 root root 29 Dec 19 2013 /etc/apache2/mods-enabled/dav_fs.load -> ../mods-available/dav_fs.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/dav.load -> ../mods-available/dav.load
    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/mods-enabled/deflate.conf -> ../mods-available/deflate.conf
    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/mods-enabled/deflate.load -> ../mods-available/deflate.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/dir.conf -> ../mods-available/dir.conf
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/dir.load -> ../mods-available/dir.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/env.load -> ../mods-available/env.load
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/mods-enabled/fcgid.conf -> ../mods-available/fcgid.conf
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/mods-enabled/fcgid.load -> ../mods-available/fcgid.load
    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/mods-enabled/include.load -> ../mods-available/include.load
    lrwxrwxrwx 1 root root 27 Dec 19 2013 /etc/apache2/mods-enabled/mime.conf -> ../mods-available/mime.conf
    lrwxrwxrwx 1 root root 27 Dec 19 2013 /etc/apache2/mods-enabled/mime.load -> ../mods-available/mime.load
    lrwxrwxrwx 1 root root 34 Dec 19 2013 /etc/apache2/mods-enabled/negotiation.conf -> ../mods-available/negotiation.conf
    lrwxrwxrwx 1 root root 34 Dec 19 2013 /etc/apache2/mods-enabled/negotiation.load -> ../mods-available/negotiation.load
    lrwxrwxrwx 1 root root 27 Dec 19 2013 /etc/apache2/mods-enabled/php5.conf -> ../mods-available/php5.conf
    lrwxrwxrwx 1 root root 27 Dec 19 2013 /etc/apache2/mods-enabled/php5.load -> ../mods-available/php5.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 /etc/apache2/mods-enabled/python.load -> ../mods-available/python.load
    lrwxrwxrwx 1 root root 33 Dec 19 2013 /etc/apache2/mods-enabled/reqtimeout.conf -> ../mods-available/reqtimeout.conf
    lrwxrwxrwx 1 root root 33 Dec 19 2013 /etc/apache2/mods-enabled/reqtimeout.load -> ../mods-available/reqtimeout.load
    lrwxrwxrwx 1 root root 30 Dec 19 2013 /etc/apache2/mods-enabled/rewrite.load -> ../mods-available/rewrite.load
    lrwxrwxrwx 1 root root 27 Dec 19 2013 /etc/apache2/mods-enabled/ruby.load -> ../mods-available/ruby.load
    lrwxrwxrwx 1 root root 31 Dec 19 2013 /etc/apache2/mods-enabled/setenvif.conf -> ../mods-available/setenvif.conf
    lrwxrwxrwx 1 root root 31 Dec 19 2013 /etc/apache2/mods-enabled/setenvif.load -> ../mods-available/setenvif.load
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/ssl.conf -> ../mods-available/ssl.conf
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/mods-enabled/ssl.load -> ../mods-available/ssl.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 /etc/apache2/mods-enabled/status.conf -> ../mods-available/status.conf
    lrwxrwxrwx 1 root root 29 Dec 19 2013 /etc/apache2/mods-enabled/status.load -> ../mods-available/status.load
    lrwxrwxrwx 1 root root 29 Dec 19 2013 /etc/apache2/mods-enabled/suexec.load -> ../mods-available/suexec.load
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/mods-enabled/suphp.conf -> ../mods-available/suphp.conf
    lrwxrwxrwx 1 root root 28 Dec 19 2013 /etc/apache2/mods-enabled/suphp.load -> ../mods-available/suphp.load
    ... bunch of sites
    -rw-r--r-- 1 root root 3148 Jul 29 14:13 /etc/apache2/sites-available/sportraadboutersem.be.vhost
    -rw-r--r-- 1 root root 155 Jul 29 14:13 /etc/apache2/sites-available/sportraadboutersem.be.vhost~
    -rw-r--r-- 1 root root 3148 Jul 28 16:31 /etc/apache2/sites-available/sportraadboutersem.be.vhost.err
    ...
    -rw-r--r-- 1 root root 159 Jul 29 14:13 /etc/apache2/sites-available/www.sportraadboutersem.be.vhost
    lrwxrwxrwx 1 root root 39 Dec 19 2013 /etc/apache2/sites-enabled/000-apps.vhost -> /etc/apache2/sites-available/apps.vhost
    lrwxrwxrwx 1 root root 26 Dec 19 2013 /etc/apache2/sites-enabled/000-default -> ../sites-available/default
    lrwxrwxrwx 1 root root 43 Dec 19 2013 /etc/apache2/sites-enabled/000-ispconfig.conf -> /etc/apache2/sites-available/ispconfig.conf
    lrwxrwxrwx 1 root root 44 Dec 19 2013 /etc/apache2/sites-enabled/000-ispconfig.vhost -> /etc/apache2/sites-available/ispconfig.vhost
    lrwxrwxrwx 1 root root 48 May 14 2014 /etc/apache2/sites-enabled/100-(..bunch of sites like this)
    lrwxrwxrwx 1 root root 56 Jul 29 14:13 /etc/apache2/sites-enabled/100-sportraadboutersem.be.vhost -> /etc/apache2/sites-available/sportraadboutersem.be.vhost
    ...
     
  8. SVL

    SVL New Member

    Okay, I'm stupid!

    The following messages were sent to my colleague who was in holiday ...
    "WARNING - Apache did not restart after the configuration change for website sportraadboutersem.be. Reverting the configuration. Saved non-working config as /etc/apache2/sites-available/sportraadboutersem.be.vhost.err"

    "WARNING - Reason for Apache restart failure: Failed to get D-Bus connection: No connection to service manager."

    So the actual problem lies ith the service manager, the .vhost issue is not an issue but just apache saving itself...
    Subsequently restoring the .vhost files restores the afflicted websites, at least until whatever issue with the service manager occurs again the .vhost file gets adjusted again.

    Right now only sportraadboutersem.be is afflicted,
    however when adding a new website for testing purposes it seems to happen as well.

    Running Debian 3.2.78-1,

    Trying a few things with the service manager results in the following:

    systemctl status
    Too few arguments.

    systemctl start ssh
    Failed to get D-Bus connection: No connection to service manager.
     

Share This Page