Page 1 of 1

Не запускается апач

Posted: Sun Apr 30, 2017 7:15 pm
by a1exDi
Привет. Обновился с php5 на php7 и при старте апача получаю такое вот в логах:

Code: Select all

[Sun Apr 30 07:03:59.480937 2017] [:notice] [pid 1730] mod_ruid2/0.9.8 enabled
[Sun Apr 30 07:03:59.481455 2017] [mpm_prefork:notice] [pid 1730] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.21 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Apr 30 07:03:59.481470 2017] [core:notice] [pid 1730] AH00094: Command line: '/usr/sbin/apache2'
[Sun Apr 30 20:28:25.281785 2017] [mpm_prefork:notice] [pid 1730] AH00171: Graceful restart requested, doing restart
apache2: Syntax error on line 83 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/apache.conf: No such file or directory
[Sun Apr 30 20:39:46.701912 2017] [suexec:notice] [pid 23288] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Apr 30 20:39:46.750616 2017] [:notice] [pid 23289] mod_ruid2/0.9.8 enabled
[Sun Apr 30 20:39:46.751160 2017] [core:warn] [pid 23289] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Apr 30 20:39:46.754514 2017] [mpm_prefork:notice] [pid 23289] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Apr 30 20:39:46.754553 2017] [core:notice] [pid 23289] AH00094: Command line: '/usr/sbin/apache2'
[Sun Apr 30 20:40:24.858273 2017] [mpm_prefork:notice] [pid 23289] AH00169: caught SIGTERM, shutting down
[Sun Apr 30 20:43:27.826085 2017] [suexec:notice] [pid 6796] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Apr 30 20:43:27.917107 2017] [:notice] [pid 6797] mod_ruid2/0.9.8 enabled
[Sun Apr 30 20:43:27.922102 2017] [mpm_prefork:notice] [pid 6797] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Apr 30 20:43:27.922185 2017] [core:notice] [pid 6797] AH00094: Command line: '/usr/sbin/apache2'
[Sun Apr 30 20:45:05.038931 2017] [mpm_prefork:notice] [pid 6797] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Sun Apr 30 20:45:05.225449 2017] [:notice] [pid 6797] mod_ruid2/0.9.8 enabled
[Sun Apr 30 20:45:05.226609 2017] [mpm_prefork:notice] [pid 6797] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Apr 30 20:45:05.226624 2017] [core:notice] [pid 6797] AH00094: Command line: '/usr/sbin/apache2'
[Sun Apr 30 20:45:40.398258 2017] [mpm_prefork:notice] [pid 6797] AH00169: caught SIGTERM, shutting down
[Sun Apr 30 20:45:56.022100 2017] [suexec:notice] [pid 1729] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Apr 30 20:45:56.077405 2017] [:notice] [pid 1730] mod_ruid2/0.9.8 enabled
[Sun Apr 30 20:45:56.081137 2017] [mpm_prefork:notice] [pid 1730] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Apr 30 20:45:56.081169 2017] [core:notice] [pid 1730] AH00094: Command line: '/usr/sbin/apache2'
[Sun Apr 30 20:47:20.042493 2017] [mpm_prefork:notice] [pid 1730] AH00169: caught SIGTERM, shutting down
при попытке запустить через vestacp вываливается ошибка Image

UPD.
Причем, если закоментировать в /etc/apache2/apache2.conf строчку #Include conf.d/, то апач запускается

UPD2.
И вообще, странно, сайт вроде на апаче работает, а при попытке зайти на сайт вываливается ошибка:
502 Bad Gateway

nginx

UPD3.

Code: Select all

<VirtualHost 78.155.111.111:8080>

    ServerName site
    ServerAlias www.site
    ServerAdmin info@site
    DocumentRoot /home/admin/web/site/public_html
    ScriptAlias /cgi-bin/ /home/admin/web/site/cgi-bin/
    Alias /vstats/ /home/admin/web/site/stats/
    Alias /error/ /home/admin/web/site/document_errors/
    #SuexecUserGroup admin admin
    CustomLog /var/log/apache2/domains/site.bytes bytes
    CustomLog /var/log/apache2/domains/site.log combined
    ErrorLog /var/log/apache2/domains/site.error.log
    <Directory /home/admin/web/site/public_html>
        AllowOverride All
        Options +Includes -Indexes +ExecCGI
    </Directory>
    <Directory /home/admin/web/site/stats>
        AllowOverride All
    </Directory>

   
    <IfModule itk.c>
        AssignUserID admin admin
    </IfModule>

    IncludeOptional /home/admin/conf/web/apache2.site.conf*

</VirtualHost>
Все следы ппривели к файлу выше, не пойму, что тут не так