Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Веб сервер
  • Search

Упал веб-сервер! Админка работает!

Вопросы по работе Веб сервера
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
mdmatic
Posts: 11
Joined: Wed Apr 11, 2018 7:46 am

Os: Ubuntu 13x
Web: apache + nginx
Упал веб-сервер! Админка работает!
  • Quote

Post by mdmatic » Sun Dec 30, 2018 7:50 am

Ребята! всё работало, решил бля добавить кое-что, упало! нарушил золотую заповедь админа - "работает - не трожь". каюсь, виноват, но, по-быстрому, подскажите плиз!

стоит

Code: Select all

uname -a
Linux betafuture.txt 3.13.0-143-generic #192-Ubuntu SMP Tue Feb 27 10:45:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

с вестой (vestacp)

При заходе на домен, выдаётся 500 internal server error
При заходе на ip vps-сервера выдаётся 502 bad gateway

у меня сайт (домен) с сертификатом, стоял редирект с http на https.
я запутался с портами, объясните плиз содержимое /usr/local/vesta/confvesta.conf

в чём отличие WEB_PORT='80'
от PROXY_PORT='8000'

что это нахрен ха прокси и нахрена он нужен?
какое значение должно стоять?
SpoilerShow

Code: Select all

WEB_SYSTEM='apache2'
WEB_RGROUPS='www-data'
WEB_PORT='80' <<< за что отвечает этот параметр
WEB_SSL_PORT='443'  <<< с этим понятно, что это порт SSL
WEB_SSL='mod_ssl'
PROXY_SYSTEM='nginx'
PROXY_PORT='8000' << какого хрена здесь тоже может стоять 80 порт
PROXY_SSL_PORT='8443' <<< С этим тоже понятно!
STATS_SYSTEM='webalizer,awstats'
FTP_SYSTEM='vsftpd'
DNS_SYSTEM='bind9'
MAIL_SYSTEM='exim4'
IMAP_SYSTEM='dovecot'
CRON_SYSTEM='cron'
FIREWALL_SYSTEM='iptables'
FIREWALL_EXTENSION='fail2ban'
BACKUP_SYSTEM='local'
LANGUAGE='en'
VERSION='0.9.8'
DB_SYSTEM='mysql'
в логах следующее:
/var/log/apache2/domains/veles.shop.error.log
SpoilerShow

Code: Select all


2018/12/30 07:42:25 [error] 1525#1525: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.66.203, server: veles.shop, request: "GET /products/disk-soshnika-va-01688-quivogne-analog HTTP/1.1", upstream: "http://159.65.80.170:8080/products/disk-soshnika-va-01688-quivogne-analog", host: "veles.shop"
2018/12/30 07:48:15 [error] 1525#1525: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 95.163.255.218, server: veles.shop, request: "GET /blacklist HTTP/1.1", upstream: "https://159.65.80.170:8443/blacklist", host: "veles.shop"
2018/12/30 07:57:04 [error] 1525#1525: *34 connect() failed (111: Connection refused) while connecting to upstream, client: 91.244.17.45, server: veles.shop, request: "GET / HTTP/1.1", upstream: "http://159.65.80.170:8080/", host: "veles.shop"
2018/12/30 07:59:29 [error] 1525#1525: *39 connect() failed (111: Connection refused) while connecting to upstream, client: 40.77.167.110, server: veles.shop, request: "GET /catalog/seyalki-propashnye HTTP/1.1", upstream: "https://159.65.80.170:8443/catalog/seyalki-propashnye", host: "veles.shop"
2018/12/30 08:01:02 [error] 1525#1525: *42 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.66.222, server: veles.shop, request: "GET /files/products/dc0a1025-924b-11e8-abce-902b3450ae57.200x200.jpeg?5e01a7fa8565b02fd8de1bb3c06d05aa HTTP/1.1", upstream: "http://159.65.80.170:8080/files/products/dc0a1025-924b-11e8-abce-902b3450ae57.200x200.jpeg?5e01a7fa8565b02fd8de1bb3c06d05aa", host: "www.veles.shop"
2018/12/30 08:02:30 [error] 1525#1525: *44 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.66.217, server: veles.shop, request: "GET /products/korpus-pd-25-71329-neobslugov-golij- HTTP/1.1", upstream: "https://159.65.80.170:8443/products/korpus-pd-25-71329-neobslugov-golij-", host: "veles.shop" 
/usr/local/vesta/php/var/log
SpoilerShow

Code: Select all

[27-Jul-2014 19:41:12] NOTICE: fpm is running, pid 21569
[27-Jul-2014 19:41:12] NOTICE: ready to handle connections
[11-Jan-2015 14:28:26] NOTICE: Terminating ...
[11-Jan-2015 14:28:26] NOTICE: exiting, bye-bye!
[11-Jan-2015 14:28:47] NOTICE: fpm is running, pid 1277
[11-Jan-2015 14:28:47] NOTICE: ready to handle connections
[27-Jan-2015 12:34:04] NOTICE: Terminating ...
[27-Jan-2015 12:34:04] NOTICE: exiting, bye-bye!
[27-Jan-2015 12:34:05] NOTICE: fpm is running, pid 8190
[27-Jan-2015 12:34:05] NOTICE: ready to handle connections
[27-Jan-2015 12:37:54] NOTICE: Terminating ...
[27-Jan-2015 12:37:54] NOTICE: exiting, bye-bye!
[27-Jan-2015 12:37:55] NOTICE: fpm is running, pid 8532
[27-Jan-2015 12:37:55] NOTICE: ready to handle connections
[15-Apr-2015 02:40:35] NOTICE: Terminating ...
[15-Apr-2015 02:40:35] NOTICE: exiting, bye-bye!
[15-Apr-2015 03:08:02] NOTICE: fpm is running, pid 1359
[15-Apr-2015 03:08:02] NOTICE: ready to handle connections
[17-May-2015 05:04:54] NOTICE: Terminating ...
[17-May-2015 05:04:54] NOTICE: exiting, bye-bye!
[17-May-2015 05:05:14] NOTICE: fpm is running, pid 1765
[17-May-2015 05:05:14] NOTICE: ready to handle connections
[18-May-2015 06:30:57] NOTICE: Terminating ...
[18-May-2015 06:30:57] NOTICE: exiting, bye-bye!
[18-May-2015 06:31:14] NOTICE: fpm is running, pid 1611
[18-May-2015 06:31:14] NOTICE: ready to handle connections
[18-May-2015 08:03:05] NOTICE: Terminating ...
[18-May-2015 08:03:05] NOTICE: exiting, bye-bye!
[18-May-2015 08:08:49] NOTICE: fpm is running, pid 1438
[18-May-2015 08:08:49] NOTICE: ready to handle connections
[26-May-2015 00:50:27] NOTICE: Terminating ...
[26-May-2015 00:50:28] NOTICE: exiting, bye-bye!
[26-May-2015 00:50:41] NOTICE: fpm is running, pid 1396
[26-May-2015 00:50:41] NOTICE: ready to handle connections
[18-Jun-2015 00:58:12] NOTICE: Terminating ...
[18-Jun-2015 00:58:13] NOTICE: exiting, bye-bye!
[18-Jun-2015 00:58:27] NOTICE: fpm is running, pid 1616
[18-Jun-2015 00:58:27] NOTICE: ready to handle connections
[21-Oct-2015 21:16:59] NOTICE: Terminating ...
[21-Oct-2015 21:16:59] NOTICE: exiting, bye-bye!
[22-Oct-2015 07:54:39] NOTICE: fpm is running, pid 1731
[22-Oct-2015 07:54:39] NOTICE: ready to handle connections
[30-Jan-2016 16:31:05] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[08-Feb-2016 12:34:11] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[08-Feb-2016 12:52:32] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[08-Feb-2016 12:53:47] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[08-Feb-2016 13:40:46] NOTICE: Terminating ...
[08-Feb-2016 13:40:46] NOTICE: exiting, bye-bye!
[08-Feb-2016 13:40:58] NOTICE: fpm is running, pid 1436
[08-Feb-2016 13:40:58] NOTICE: ready to handle connections
[07-Jul-2016 20:09:28] NOTICE: using inherited socket fd=7, "/var/run/vesta-php.sock"
[07-Jul-2016 20:09:28] NOTICE: fpm is running, pid 5771
[07-Jul-2016 20:09:28] NOTICE: ready to handle connections
[08-Jul-2016 05:14:00] NOTICE: Terminating ...
[08-Jul-2016 05:14:00] NOTICE: exiting, bye-bye!
[08-Jul-2016 05:14:01] NOTICE: fpm is running, pid 14554
[08-Jul-2016 05:14:01] NOTICE: ready to handle connections
[23-Jul-2016 14:51:02] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[19-Aug-2016 17:09:15] NOTICE: Terminating ...
[19-Aug-2016 17:09:15] NOTICE: exiting, bye-bye!
[19-Aug-2016 17:09:54] NOTICE: fpm is running, pid 1612
[19-Aug-2016 17:09:54] NOTICE: ready to handle connections
[19-Aug-2016 17:17:16] NOTICE: Terminating ...
[19-Aug-2016 17:17:16] NOTICE: exiting, bye-bye!
[19-Aug-2016 17:17:18] NOTICE: fpm is running, pid 2489
[19-Aug-2016 17:17:18] NOTICE: ready to handle connections
[29-Dec-2017 11:55:06] NOTICE: fpm is running, pid 11144
[29-Dec-2017 11:55:06] NOTICE: ready to handle connections
[10-Apr-2018 11:58:23] NOTICE: fpm is running, pid 30111
[10-Apr-2018 11:58:23] NOTICE: ready to handle connections
[10-Apr-2018 13:58:34] NOTICE: Terminating ...
[10-Apr-2018 13:58:34] NOTICE: exiting, bye-bye!
[10-Apr-2018 14:05:52] NOTICE: fpm is running, pid 1829
[10-Apr-2018 14:05:52] NOTICE: ready to handle connections
[11-Apr-2018 15:48:31] NOTICE: Terminating ...
[11-Apr-2018 15:48:31] NOTICE: exiting, bye-bye!
[11-Apr-2018 15:48:32] NOTICE: fpm is running, pid 20983
[11-Apr-2018 15:48:32] NOTICE: ready to handle connections
[11-Apr-2018 15:53:15] NOTICE: Terminating ...
[11-Apr-2018 15:53:15] NOTICE: exiting, bye-bye!
[11-Apr-2018 15:53:16] NOTICE: fpm is running, pid 22510
[11-Apr-2018 15:53:16] NOTICE: ready to handle connections
[24-Jun-2018 13:41:02] NOTICE: fpm is running, pid 18135
[24-Jun-2018 13:41:02] NOTICE: ready to handle connections
[24-Jun-2018 13:41:10] NOTICE: Terminating ...
[24-Jun-2018 13:41:10] NOTICE: exiting, bye-bye!
[24-Jun-2018 13:41:11] NOTICE: fpm is running, pid 18251
[24-Jun-2018 13:41:11] NOTICE: ready to handle connections
[24-Jun-2018 13:41:12] NOTICE: Terminating ...
[24-Jun-2018 13:41:12] NOTICE: exiting, bye-bye!
[24-Jun-2018 13:41:13] NOTICE: fpm is running, pid 18293
[24-Jun-2018 13:41:13] NOTICE: ready to handle connections
[19-Oct-2018 03:51:29] NOTICE: fpm is running, pid 18913
[19-Oct-2018 03:51:29] NOTICE: ready to handle connections
[19-Oct-2018 03:51:37] NOTICE: Terminating ...
[19-Oct-2018 03:51:37] NOTICE: exiting, bye-bye!
[19-Oct-2018 03:51:38] NOTICE: fpm is running, pid 18986
[19-Oct-2018 03:51:38] NOTICE: ready to handle connections
[19-Oct-2018 03:51:39] NOTICE: Terminating ...
[19-Oct-2018 03:51:39] NOTICE: exiting, bye-bye!
[19-Oct-2018 03:51:40] NOTICE: fpm is running, pid 19008
[19-Oct-2018 03:51:40] NOTICE: ready to handle connections
[09-Nov-2018 14:10:30] NOTICE: Terminating ...
[09-Nov-2018 14:10:30] NOTICE: exiting, bye-bye!
[09-Nov-2018 14:10:40] NOTICE: fpm is running, pid 1698
[09-Nov-2018 14:10:40] NOTICE: ready to handle connections
[10-Nov-2018 11:26:06] NOTICE: Terminating ...
[10-Nov-2018 11:26:06] NOTICE: exiting, bye-bye!
[10-Nov-2018 11:26:07] NOTICE: fpm is running, pid 30988
[10-Nov-2018 11:26:07] NOTICE: ready to handle connections
[10-Nov-2018 11:27:57] NOTICE: Terminating ...
[10-Nov-2018 11:27:57] NOTICE: exiting, bye-bye!
[10-Nov-2018 11:28:07] NOTICE: fpm is running, pid 1662
[10-Nov-2018 11:28:07] NOTICE: ready to handle connections
[10-Nov-2018 12:38:00] NOTICE: Terminating ...
[10-Nov-2018 12:38:00] NOTICE: exiting, bye-bye!
[10-Nov-2018 12:38:24] NOTICE: fpm is running, pid 26473
[10-Nov-2018 12:38:24] NOTICE: ready to handle connections
[10-Nov-2018 13:03:39] NOTICE: Terminating ...
[10-Nov-2018 13:03:39] NOTICE: exiting, bye-bye!
[10-Nov-2018 13:03:40] NOTICE: fpm is running, pid 32058
[10-Nov-2018 13:03:40] NOTICE: ready to handle connections
[10-Nov-2018 13:08:23] NOTICE: Terminating ...
[10-Nov-2018 13:08:23] NOTICE: exiting, bye-bye!
[10-Nov-2018 13:08:24] NOTICE: fpm is running, pid 32422
[10-Nov-2018 13:08:24] NOTICE: ready to handle connections
[10-Nov-2018 13:13:13] NOTICE: Terminating ...
[10-Nov-2018 13:13:13] NOTICE: exiting, bye-bye!
[10-Nov-2018 13:13:23] NOTICE: fpm is running, pid 1667
[10-Nov-2018 13:13:23] NOTICE: ready to handle connections
[22-Nov-2018 06:45:11] NOTICE: Terminating ...
[22-Nov-2018 06:45:11] NOTICE: exiting, bye-bye!
[26-Nov-2018 09:11:52] NOTICE: fpm is running, pid 1603
[26-Nov-2018 09:11:52] NOTICE: ready to handle connections
[25-Dec-2018 00:35:52] NOTICE: Terminating ...
[25-Dec-2018 00:35:52] NOTICE: exiting, bye-bye!
[25-Dec-2018 00:35:54] NOTICE: fpm is running, pid 18472
[25-Dec-2018 00:35:54] NOTICE: ready to handle connections
[25-Dec-2018 00:38:59] NOTICE: Terminating ...
[25-Dec-2018 00:38:59] NOTICE: exiting, bye-bye!
[25-Dec-2018 00:39:10] NOTICE: fpm is running, pid 1660
[25-Dec-2018 00:39:10] NOTICE: ready to handle connections
[25-Dec-2018 01:15:49] NOTICE: Terminating ...
[25-Dec-2018 01:15:49] NOTICE: exiting, bye-bye!
[25-Dec-2018 01:15:50] NOTICE: fpm is running, pid 9428
[25-Dec-2018 01:15:50] NOTICE: ready to handle connections
[25-Dec-2018 01:27:01] NOTICE: Terminating ...
[25-Dec-2018 01:27:01] NOTICE: exiting, bye-bye!
[25-Dec-2018 01:27:02] NOTICE: fpm is running, pid 10131
[25-Dec-2018 01:27:02] NOTICE: ready to handle connections
[25-Dec-2018 01:31:03] NOTICE: Terminating ...
[25-Dec-2018 01:31:03] NOTICE: exiting, bye-bye!
[25-Dec-2018 01:31:04] NOTICE: fpm is running, pid 10485
[25-Dec-2018 01:31:04] NOTICE: ready to handle connections
[25-Dec-2018 01:31:16] NOTICE: Terminating ...
[25-Dec-2018 01:31:16] NOTICE: exiting, bye-bye!
[25-Dec-2018 01:31:26] NOTICE: fpm is running, pid 1684
[25-Dec-2018 01:31:26] NOTICE: ready to handle connections
[25-Dec-2018 01:33:34] NOTICE: Terminating ...
[25-Dec-2018 01:33:34] NOTICE: exiting, bye-bye!
[25-Dec-2018 01:33:44] NOTICE: fpm is running, pid 1685
[25-Dec-2018 01:33:44] NOTICE: ready to handle connections
[30-Dec-2018 06:10:51] NOTICE: Terminating ...
[30-Dec-2018 06:10:51] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:10:52] NOTICE: fpm is running, pid 12995
[30-Dec-2018 06:10:52] NOTICE: ready to handle connections
[30-Dec-2018 06:13:22] NOTICE: Terminating ...
[30-Dec-2018 06:13:22] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:13:23] NOTICE: fpm is running, pid 13071
[30-Dec-2018 06:13:23] NOTICE: ready to handle connections
[30-Dec-2018 06:15:10] NOTICE: Terminating ...
[30-Dec-2018 06:15:10] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:15:11] NOTICE: fpm is running, pid 13436
[30-Dec-2018 06:15:11] NOTICE: ready to handle connections
[30-Dec-2018 06:18:15] NOTICE: Terminating ...
[30-Dec-2018 06:18:15] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:18:16] NOTICE: fpm is running, pid 13613
[30-Dec-2018 06:18:16] NOTICE: ready to handle connections
[30-Dec-2018 06:33:38] NOTICE: Terminating ...
[30-Dec-2018 06:33:38] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:33:39] NOTICE: fpm is running, pid 16444
[30-Dec-2018 06:33:39] NOTICE: ready to handle connections
[30-Dec-2018 06:33:44] NOTICE: Terminating ...
[30-Dec-2018 06:33:44] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:33:55] NOTICE: fpm is running, pid 1719
[30-Dec-2018 06:33:55] NOTICE: ready to handle connections
[30-Dec-2018 06:43:30] NOTICE: Terminating ...
[30-Dec-2018 06:43:30] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:43:31] NOTICE: fpm is running, pid 8710
[30-Dec-2018 06:43:31] NOTICE: ready to handle connections
[30-Dec-2018 06:45:56] NOTICE: Terminating ...
[30-Dec-2018 06:45:56] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:45:57] NOTICE: fpm is running, pid 9114
[30-Dec-2018 06:45:57] NOTICE: ready to handle connections
[30-Dec-2018 06:46:27] NOTICE: Terminating ...
[30-Dec-2018 06:46:27] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:46:28] NOTICE: fpm is running, pid 9207
[30-Dec-2018 06:46:28] NOTICE: ready to handle connections
[30-Dec-2018 06:46:43] NOTICE: Terminating ...
[30-Dec-2018 06:46:43] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:46:55] NOTICE: fpm is running, pid 1519
[30-Dec-2018 06:46:55] NOTICE: ready to handle connections
[30-Dec-2018 06:49:00] NOTICE: Terminating ...
[30-Dec-2018 06:49:00] NOTICE: exiting, bye-bye!
[30-Dec-2018 06:49:01] NOTICE: fpm is running, pid 1876
[30-Dec-2018 06:49:01] NOTICE: ready to handle connections
[30-Dec-2018 07:02:31] NOTICE: Terminating ...
[30-Dec-2018 07:02:31] NOTICE: exiting, bye-bye!
[30-Dec-2018 07:02:32] NOTICE: fpm is running, pid 3424
[30-Dec-2018 07:02:32] NOTICE: ready to handle connections
[30-Dec-2018 07:05:37] NOTICE: Terminating ...
[30-Dec-2018 07:05:37] NOTICE: exiting, bye-bye!
[30-Dec-2018 07:05:48] NOTICE: fpm is running, pid 1666
[30-Dec-2018 07:05:48] NOTICE: ready to handle connections
[30-Dec-2018 07:28:41] NOTICE: Terminating ...
[30-Dec-2018 07:28:41] NOTICE: exiting, bye-bye!
[30-Dec-2018 07:28:42] NOTICE: fpm is running, pid 6960
[30-Dec-2018 07:28:42] NOTICE: ready to handle connections
[30-Dec-2018 07:33:29] NOTICE: Terminating ...
[30-Dec-2018 07:33:29] NOTICE: exiting, bye-bye! 
/var/log/apache2/error.log
SpoilerShow

Code: Select all

[Sun Dec 23 06:41:37.799238 2018] [:notice] [pid 1774] mod_ruid2/0.9.8 enabled
[Sun Dec 23 06:41:37.802007 2018] [mpm_prefork:notice] [pid 1774] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 23 06:41:37.802020 2018] [core:notice] [pid 1774] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 00:17:13.825069 2018] [mpm_prefork:notice] [pid 1774] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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
[Tue Dec 25 00:17:14.104918 2018] [:notice] [pid 1774] mod_ruid2/0.9.8 enabled
[Tue Dec 25 00:17:14.116916 2018] [mpm_prefork:notice] [pid 1774] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 00:17:14.116941 2018] [core:notice] [pid 1774] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 00:38:58.631025 2018] [mpm_prefork:notice] [pid 1774] AH00169: caught SIGTERM, shutting down
[Tue Dec 25 00:39:11.101560 2018] [suexec:notice] [pid 1931] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Dec 25 00:39:11.261905 2018] [:notice] [pid 1994] mod_ruid2/0.9.8 enabled
[Tue Dec 25 00:39:11.273861 2018] [mpm_prefork:notice] [pid 1994] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 00:39:11.273886 2018] [core:notice] [pid 1994] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 01:31:14.892199 2018] [mpm_prefork:notice] [pid 1994] AH00169: caught SIGTERM, shutting down
[Tue Dec 25 01:31:27.150531 2018] [suexec:notice] [pid 1935] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Dec 25 01:31:27.279422 2018] [:notice] [pid 2018] mod_ruid2/0.9.8 enabled
[Tue Dec 25 01:31:27.288681 2018] [mpm_prefork:notice] [pid 2018] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 01:31:27.288703 2018] [core:notice] [pid 2018] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 01:33:33.547643 2018] [mpm_prefork:notice] [pid 2018] AH00169: caught SIGTERM, shutting down
[Tue Dec 25 01:33:45.098472 2018] [suexec:notice] [pid 1964] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Dec 25 01:33:45.219318 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Tue Dec 25 01:33:45.224304 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 01:33:45.224327 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 01:34:58.737100 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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
[Tue Dec 25 01:34:58.996520 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Tue Dec 25 01:34:59.007506 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 01:34:59.007526 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 01:35:27.209370 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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
[Tue Dec 25 01:35:27.375322 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Tue Dec 25 01:35:27.376481 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 01:35:27.376505 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Tue Dec 25 01:35:33.047137 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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
[Tue Dec 25 01:35:33.199217 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Tue Dec 25 01:35:33.200396 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Tue Dec 25 01:35:33.200410 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 05:56:44.287954 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/home/admin/web/betafuture.tk/public_html] does not exist
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 Dec 30 05:56:44.510748 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Sun Dec 30 05:56:44.517239 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 30 05:56:44.517284 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 05:56:48.662140 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 Dec 30 05:56:48.832068 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Sun Dec 30 05:56:48.833921 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 30 05:56:48.833939 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 05:57:02.721493 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 Dec 30 05:57:02.999778 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Sun Dec 30 05:57:03.000977 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 30 05:57:03.000995 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 05:58:13.558926 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 Dec 30 05:58:13.863564 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Sun Dec 30 05:58:13.864957 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 30 05:58:13.864973 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 06:32:30.319402 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 Dec 30 06:32:30.513625 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Sun Dec 30 06:32:30.515387 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 30 06:32:30.515408 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 06:33:08.050036 2018] [mpm_prefork:notice] [pid 2030] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 Dec 30 06:33:08.271401 2018] [:notice] [pid 2030] mod_ruid2/0.9.8 enabled
[Sun Dec 30 06:33:08.272802 2018] [mpm_prefork:notice] [pid 2030] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 30 06:33:08.272820 2018] [core:notice] [pid 2030] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 30 06:33:43.024667 2018] [mpm_prefork:notice] [pid 2030] AH00169: caught SIGTERM, shutting down 
/var/log/apache2/error.log1
SpoilerShow

Code: Select all

[Sun Dec 16 06:37:15.799135 2018] [:notice] [pid 1774] mod_ruid2/0.9.8 enabled
[Sun Dec 16 06:37:15.803022 2018] [mpm_prefork:notice] [pid 1774] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Sun Dec 16 06:37:15.803034 2018] [core:notice] [pid 1774] AH00094: Command line: '/usr/sbin/apache2'
[Sun Dec 23 06:41:37.544203 2018] [mpm_prefork:notice] [pid 1774] AH00171: Graceful restart requested, doing restart
AH00557: apache2: apr_sockaddr_info_get() failed for betafuture.txt
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 
дальше - конфиги:
/home/admin/conf/web/nginx.conf
SpoilerShow

Code: Select all

user                    admin;
worker_processes        1;
error_log               /usr/local/vesta/log/nginx-error.log;
pid                     /var/run/vesta-nginx.pid;

events {
        worker_connections  128;
        use                 epoll;
}

http {
    # Main settings
    sendfile                        on;
    tcp_nopush                      on;
    tcp_nodelay                     on;
    client_header_timeout           1m;
    client_body_timeout             3m;
    client_header_buffer_size       2k;
    client_body_buffer_size         256k;
    client_max_body_size            256m;
    large_client_header_buffers     4   8k;
    send_timeout                    30;
    keepalive_timeout               60 60;
    reset_timedout_connection       on;
    server_tokens                   off;
    server_name_in_redirect         off;
    server_names_hash_max_size      512;
    server_names_hash_bucket_size   512;


    # Log format
    log_format  main    '$remote_addr - $remote_user [$time_local] $request '
                        '"$status" $body_bytes_sent "$http_referer" '
                        '"$http_user_agent" "$http_x_forwarded_for"';
    log_format  bytes   '$body_bytes_sent';
    access_log          /usr/local/vesta/log/nginx-access.log main;


    # SSL PCI Compliance
    ssl_protocols               TLSv1.2 TLSv1.1 TLSv1;
    ssl_ciphers                 EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
    ssl_session_cache           shared:SSL:10m;
    ssl_prefer_server_ciphers   on;


    # Mime settings
    include             /usr/local/vesta/nginx/conf/mime.types;
    default_type        application/octet-stream;


    # Compression
    gzip                on;
    gzip_comp_level     9;
    gzip_min_length     512;
    gzip_buffers        8 64k;
    gzip_types          text/plain text/css text/javascript
                        application/x-javascript application/javascript;
    gzip_proxied        any;


    # Proxy settings
    proxy_redirect      off;
    proxy_set_header    Host            $host;
    proxy_set_header    X-Real-IP       $remote_addr;
    proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass_header   Set-Cookie;
    proxy_connect_timeout   90;
    proxy_send_timeout  90;
    proxy_read_timeout  90;
    proxy_buffers       32 4k;
    fastcgi_read_timeout 300;

    # Error pages
    error_page          403          /error/403.html;
    error_page          404          /error/404.html;
    error_page          502 503 504  /error/50x.html;


    # Vhost
    server {
        listen          8008;
        server_name     _;
        root            /usr/local/vesta/web;
        charset         utf-8;

        # Fix error "The plain HTTP request was sent to HTTPS port"
        error_page      497 https://$host:$server_port$request_uri;

        ssl                  on;
        ssl_certificate      /usr/local/vesta/ssl/certificate.crt;
        ssl_certificate_key  /usr/local/vesta/ssl/certificate.key;
        ssl_session_cache    shared:SSL:10m;
        ssl_session_timeout  10m;

        error_page      404     /error/404/index.html;
        error_page      403     /error/index.html;
        error_page      500     /error/index.html;

        location / {
            expires max;
            index   index.php;
        }

        location /error/ {
            expires max;
            index   index.html;
        }

        location /rrd/ {
            expires off;
            internal;
        }

        location /backup/ {
            root    /;
            internal;
        }

        location ~ \.php$ {
            include         /usr/local/vesta/nginx/conf/fastcgi_params;
            fastcgi_param   SCRIPT_FILENAME /usr/local/vesta/web/$fastcgi_script_name;
            fastcgi_param   QUERY_STRING    $query_string;
            fastcgi_pass    unix:/var/run/vesta-php.sock;
            fastcgi_intercept_errors        on;
            break;
        }
    }
}

/home/admin/conf/web/apache2.conf
SpoilerShow

Code: Select all

<VirtualHost 159.65.80.170:8080>

    ServerName veles.shop
    ServerAlias www.veles.shop
    ServerAdmin [email protected]
    DocumentRoot /home/admin/web/veles.shop/public_html
    ScriptAlias /cgi-bin/ /home/admin/web/veles.shop/cgi-bin/
    Alias /vstats/ /home/admin/web/veles.shop/stats/
    Alias /error/ /home/admin/web/veles.shop/document_errors/
    #SuexecUserGroup admin admin
    CustomLog /var/log/apache2/domains/veles.shop.bytes bytes
    CustomLog /var/log/apache2/domains/veles.shop.log combined
    ErrorLog /var/log/apache2/domains/veles.shop.error.log
    <Directory /home/admin/web/veles.shop/public_html>
        AllowOverride All
        Options +Includes -Indexes +ExecCGI
        php_admin_value open_basedir /home/admin/web/veles.shop/public_html:/home/admin/tmp
        php_admin_value upload_tmp_dir /home/admin/tmp
        php_admin_value session.save_path /home/admin/tmp
    </Directory>
    <Directory /home/admin/web/veles.shop/stats>
        AllowOverride All
    </Directory>

    <IfModule mod_ruid2.c>
        RMode config
        RUidGid admin admin
        RGroups www-data
    </IfModule>
    <IfModule itk.c>
        AssignUserID admin admin
    </IfModule>

    IncludeOptional /home/admin/conf/web/apache2.veles.shop.conf*

</VirtualHost>
[/spoiler]
/home/admin/conf/web/nginx.conf
SpoilerShow

Code: Select all

server {
    listen      159.65.80.170:80;
    server_name veles.shop www.veles.shop;
    error_log  /var/log/apache2/domains/veles.shop.error.log error;

    location / {
        proxy_pass      http://159.65.80.170:8080;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/admin/web/veles.shop/public_html;
            access_log     /var/log/apache2/domains/veles.shop.log combined;
            access_log     /var/log/apache2/domains/veles.shop.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/admin/web/veles.shop/document_errors/;
    }

    location @fallback {
        proxy_pass      http://159.65.80.170:8080;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/admin/conf/web/nginx.veles.shop.conf*;
}

[/spoiler]
подскажите плиз!!!
Top

yariksat
Posts: 551
Joined: Sat Nov 19, 2016 5:39 pm

Os: CentOS 4x
Web: apache
Re: Упал веб-сервер! Админка работает!
  • Quote

Post by yariksat » Sun Dec 30, 2018 2:11 pm

Ребильд WEB попробуйте в админке сделать.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Веб сервер”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password