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
3 posts • Page 1 of 1
SPEC1AL1ST
Posts: 142
Joined: Sun Aug 10, 2014 1:32 pm

Не запускаются веб службы на чистой системе
  • Quote

Post by SPEC1AL1ST » Sat Feb 27, 2016 9:26 pm

Установил Centos 7.2 на VPS
Установил VestaCP посредством команды:
bash vst-install.sh --nginx yes --apache yes --phpfpm no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes --clamav yes --named yes --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname xxx --email xxx --password xxx

После чего перезагрузил сервер командой reboot.

При загрузке сервера не запускаются веб службы:
Image

nginx error log:

Code: Select all

2016/02/27 21:02:33 [alert] 10296#0: *1 open socket #13 left in connection 3
2016/02/27 21:02:33 [alert] 10296#0: *14 open socket #18 left in connection 7
2016/02/27 21:02:33 [alert] 10296#0: *45 open socket #20 left in connection 9
2016/02/27 21:02:33 [alert] 10296#0: aborting
2016/02/27 21:19:58 [emerg] 640#0: bind() to 185.53.168.101:80 failed (99: Cannot assign requested address)
httpd error log:

Code: Select all

[Sat Feb 27 20:59:32.333651 2016] [suexec:notice] [pid 9079] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 27 20:59:32.382391 2016] [so:warn] [pid 9079] AH01574: module ruid2_module is already loaded, skipping
[Sat Feb 27 20:59:32.388480 2016] [auth_digest:notice] [pid 9079] AH01757: generating secret for digest authentication ...
[Sat Feb 27 20:59:32.397153 2016] [:notice] [pid 9079] mod_ruid2/0.9.8 enabled
[Sat Feb 27 20:59:32.616182 2016] [mpm_prefork:notice] [pid 9079] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Sat Feb 27 20:59:32.616282 2016] [core:notice] [pid 9079] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Feb 27 21:02:28.888875 2016] [mpm_prefork:notice] [pid 9079] AH00171: Graceful restart requested, doing restart
[Sat Feb 27 21:02:29.042977 2016] [so:warn] [pid 9079] AH01574: module ruid2_module is already loaded, skipping
[Sat Feb 27 21:02:29.050231 2016] [auth_digest:notice] [pid 9079] AH01757: generating secret for digest authentication ...
[Sat Feb 27 21:02:29.059527 2016] [:notice] [pid 9079] mod_ruid2/0.9.8 enabled
[Sat Feb 27 21:02:29.163500 2016] [mpm_prefork:notice] [pid 9079] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Sat Feb 27 21:02:29.163550 2016] [core:notice] [pid 9079] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Feb 27 21:02:33.434698 2016] [mpm_prefork:notice] [pid 9079] AH00171: Graceful restart requested, doing restart
[Sat Feb 27 21:02:33.606751 2016] [so:warn] [pid 9079] AH01574: module ruid2_module is already loaded, skipping
[Sat Feb 27 21:02:33.614331 2016] [auth_digest:notice] [pid 9079] AH01757: generating secret for digest authentication ...
[Sat Feb 27 21:02:33.624966 2016] [:notice] [pid 9079] mod_ruid2/0.9.8 enabled
[Sat Feb 27 21:02:33.697725 2016] [mpm_prefork:notice] [pid 9079] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Sat Feb 27 21:02:33.697851 2016] [core:notice] [pid 9079] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Feb 27 21:19:13.475709 2016] [mpm_prefork:notice] [pid 9079] AH00170: caught SIGWINCH, shutting down gracefully

Как исправить и почему это произошло? Вроде должна VestaCP отлично работать "с коробки", ставилось все без изменений.
В ручную потом все нормально запускается...
Top

SPEC1AL1ST
Posts: 142
Joined: Sun Aug 10, 2014 1:32 pm

Re: Не запускаются веб службы на чистой системе
  • Quote

Post by SPEC1AL1ST » Sat Feb 27, 2016 10:21 pm

Upd: при связке nginx + php-fpm такая же проблема.
Top

svs
Posts: 3
Joined: Tue Mar 19, 2013 1:04 pm

Re: Не запускаются веб службы на чистой системе
  • Quote

Post by svs » Sat Oct 29, 2016 2:34 pm

Это проблема VPS с виртуальными сетевыми интерфейсами. Дело в том, что на момент запуска веб-сервера еще нет сети и веб-сервер поэтому не стартует. В конфиге nginx есть параметр, позволяющий изменить это поведение.

Сам с этим столкнулся, решение подсказали в саппорте хостинга
Top


Post Reply
  • Print view

3 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