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 не активны и не включаются.

Общие вопросы о панели управления Vesta
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
ddmxx
Posts: 6
Joined: Thu Feb 09, 2017 10:00 am

apache и nginx не активны и не включаются.
  • Quote

Post by ddmxx » Fri Mar 10, 2017 12:15 pm

Здравствуйте!
Что-то пошло не так после перезапуска сервера. В панельке apache и nginx стали не активны и не запускаются.
Как можно включить?


Версия:
0.9.8 (amd64)

OS ubuntu
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: apache и nginx не активны и не включаются.
  • Quote

Post by Mr.Erbutw » Fri Mar 10, 2017 1:22 pm

ddmxx wrote:Здравствуйте!
Что-то пошло не так после перезапуска сервера. В панельке apache и nginx стали не активны и не запускаются.
Как можно включить?


Версия:
0.9.8 (amd64)

OS ubuntu
А в логах что ?

Code: Select all

/var/log/nginx/error.log
/var/log/apache2/error.log
Последние строчки на что-то указывают , вот как исправите их тогда и запустятся сервисы.
Top

ddmxx
Posts: 6
Joined: Thu Feb 09, 2017 10:00 am

Re: apache и nginx не активны и не включаются.
  • Quote

Post by ddmxx » Fri Mar 10, 2017 1:39 pm

хм... вроде нормально всё. не ?
/var/log/apache2/error.logShow
[Sun Mar 05 06:31:03.243562 2017] [:notice] [pid 18651] mod_ruid2/0.9.8 enabled
[Sun Mar 05 06:31:03.244404 2017] [mpm_prefork:notice] [pid 18651] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Sun Mar 05 06:31:03.244434 2017] [core:notice] [pid 18651] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 06 06:25:17.525883 2017] [mpm_prefork:notice] [pid 18651] AH00171: Graceful restart requested, doing restart
[Mon Mar 06 06:25:18.136792 2017] [:notice] [pid 18651] mod_ruid2/0.9.8 enabled
[Mon Mar 06 06:25:18.137605 2017] [mpm_prefork:notice] [pid 18651] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Mon Mar 06 06:25:18.137636 2017] [core:notice] [pid 18651] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:22:38.994620 2017] [core:notice] [pid 18651] AH00052: child pid 18948 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995654 2017] [core:notice] [pid 18651] AH00052: child pid 18598 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995685 2017] [core:notice] [pid 18651] AH00052: child pid 27770 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995726 2017] [core:notice] [pid 18651] AH00052: child pid 28177 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995780 2017] [core:notice] [pid 18651] AH00052: child pid 19272 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995829 2017] [core:notice] [pid 18651] AH00052: child pid 18637 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995866 2017] [core:notice] [pid 18651] AH00052: child pid 27803 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995926 2017] [core:notice] [pid 18651] AH00052: child pid 28074 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995971 2017] [mpm_prefork:notice] [pid 18651] AH00169: caught SIGTERM, shutting down
[Tue Mar 07 01:22:40.322427 2017] [suexec:notice] [pid 2479] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 07 01:22:40.446414 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:22:40.456322 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:22:40.456387 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:23:58.120187 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:23:58.761242 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:23:58.762066 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:23:58.762096 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:24:03.306983 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:24:03.534194 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:24:03.535007 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:24:03.535040 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:24:08.215637 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:24:08.683616 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:24:08.684438 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:24:08.684465 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:24:08.693320 2017] [core:error] [pid 2480] AH00546: no record of generation 1 of exiting child 4155
[Tue Mar 07 01:30:46.470764 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:30:46.707384 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:30:46.708164 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:30:46.708210 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:32:58.893559 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:32:59.241975 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
/var/log/nginx/error.logShow
2017/03/10 05:15:40 [emerg] 3559#3559: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 05:58:04 [emerg] 3540#3540: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:03:12 [emerg] 3715#3715: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:05:38 [emerg] 5294#5294: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:07:24 [emerg] 3596#3596: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:11:03 [emerg] 3538#3538: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 07:40:54 [emerg] 3512#3512: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 08:39:21 [emerg] 10233#10233: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 11:47:51 [emerg] 3699#3699: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 12:30:41 [emerg] 3578#3578: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 12:39:04 [emerg] 5472#5472: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 12:42:11 [emerg] 3685#3685: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 13:31:38 [emerg] 3708#3708: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: apache и nginx не активны и не включаются.
  • Quote

Post by Mr.Erbutw » Fri Mar 10, 2017 2:11 pm

ddmxx wrote:хм... вроде нормально всё. не ?
/var/log/apache2/error.logShow
[Sun Mar 05 06:31:03.243562 2017] [:notice] [pid 18651] mod_ruid2/0.9.8 enabled
[Sun Mar 05 06:31:03.244404 2017] [mpm_prefork:notice] [pid 18651] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Sun Mar 05 06:31:03.244434 2017] [core:notice] [pid 18651] AH00094: Command line: '/usr/sbin/apache2'
[Mon Mar 06 06:25:17.525883 2017] [mpm_prefork:notice] [pid 18651] AH00171: Graceful restart requested, doing restart
[Mon Mar 06 06:25:18.136792 2017] [:notice] [pid 18651] mod_ruid2/0.9.8 enabled
[Mon Mar 06 06:25:18.137605 2017] [mpm_prefork:notice] [pid 18651] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operati$
[Mon Mar 06 06:25:18.137636 2017] [core:notice] [pid 18651] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:22:38.994620 2017] [core:notice] [pid 18651] AH00052: child pid 18948 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995654 2017] [core:notice] [pid 18651] AH00052: child pid 18598 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995685 2017] [core:notice] [pid 18651] AH00052: child pid 27770 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995726 2017] [core:notice] [pid 18651] AH00052: child pid 28177 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995780 2017] [core:notice] [pid 18651] AH00052: child pid 19272 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995829 2017] [core:notice] [pid 18651] AH00052: child pid 18637 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995866 2017] [core:notice] [pid 18651] AH00052: child pid 27803 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995926 2017] [core:notice] [pid 18651] AH00052: child pid 28074 exit signal Segmentation fault (11)
[Tue Mar 07 01:22:38.995971 2017] [mpm_prefork:notice] [pid 18651] AH00169: caught SIGTERM, shutting down
[Tue Mar 07 01:22:40.322427 2017] [suexec:notice] [pid 2479] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 07 01:22:40.446414 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:22:40.456322 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:22:40.456387 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:23:58.120187 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:23:58.761242 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:23:58.762066 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:23:58.762096 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:24:03.306983 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:24:03.534194 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:24:03.535007 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:24:03.535040 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:24:08.215637 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:24:08.683616 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:24:08.684438 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:24:08.684465 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:24:08.693320 2017] [core:error] [pid 2480] AH00546: no record of generation 1 of exiting child 4155
[Tue Mar 07 01:30:46.470764 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:30:46.707384 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
[Tue Mar 07 01:30:46.708164 2017] [mpm_prefork:notice] [pid 2480] AH00163: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operatio$
[Tue Mar 07 01:30:46.708210 2017] [core:notice] [pid 2480] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 07 01:32:58.893559 2017] [mpm_prefork:notice] [pid 2480] AH00171: Graceful restart requested, doing restart
[Tue Mar 07 01:32:59.241975 2017] [:notice] [pid 2480] mod_ruid2/0.9.8 enabled
/var/log/nginx/error.logShow
2017/03/10 05:15:40 [emerg] 3559#3559: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 05:58:04 [emerg] 3540#3540: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:03:12 [emerg] 3715#3715: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:05:38 [emerg] 5294#5294: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:07:24 [emerg] 3596#3596: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 06:11:03 [emerg] 3538#3538: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 07:40:54 [emerg] 3512#3512: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 08:39:21 [emerg] 10233#10233: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 11:47:51 [emerg] 3699#3699: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 12:30:41 [emerg] 3578#3578: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 12:39:04 [emerg] 5472#5472: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 12:42:11 [emerg] 3685#3685: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
2017/03/10 13:31:38 [emerg] 3708#3708: bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
Ужасно,
viewtopic.php?p=10664#p10664
viewtopic.php?p=44104#p44104
И да поиском на форуме воспользуетесь.
Top

ddmxx
Posts: 6
Joined: Thu Feb 09, 2017 10:00 am

Re: apache и nginx не активны и не включаются.
  • Quote

Post by ddmxx » Fri Mar 10, 2017 5:22 pm

Спасибо!
Это значит IP сменился ?
Если он ругается на это IP ,
bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)

то он и указан в панельке в разделе IP.

Как можно посмотреть старый IP тогда чтоб заменить ?

И интересно почему он поменяться мог ?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: apache и nginx не активны и не включаются.
  • Quote

Post by skurudo » Fri Mar 10, 2017 7:18 pm

ddmxx wrote: Это значит IP сменился ?
Был один, стал другой :)
ddmxx wrote:Если он ругается на это IP ,
bind() to 10.6.7.103:80 failed (99: Cannot assign requested address)
то он и указан в панельке в разделе IP.
Видимо он был при установке.
ddmxx wrote:Как можно посмотреть старый IP тогда чтоб заменить ?
/etc/nginx/conf.d/
/home/$user/conf/web/
ddmxx wrote:И интересно почему он поменяться мог ?
Например, у вас dhcp - закончилось время аренды - магия и бац, новый адрес.
Вообще этот вопрос логичнее задать провайдеру услуг, где вы берете сервер или впс. :)
Top

ddmxx
Posts: 6
Joined: Thu Feb 09, 2017 10:00 am

Re: apache и nginx не активны и не включаются.
  • Quote

Post by ddmxx » Fri Mar 10, 2017 7:55 pm

ip сменил и nginx завелся,
а вот вебсервер apache не хочет.
В /var/log/apache2/error.log пусто.

Code: Select all

service apache2 restart
service nginx restart
показывает ок.

Может чего с конфигурацией apache ?
SpoilerShow
# It is split into several files forming the configuration hierarchy outlined
# below, all located in the /etc/apache2/ directory:
#
# /etc/apache2/
# |-- apache2.conf
# | `-- ports.conf
# |-- mods-enabled
# | |-- *.load
# | `-- *.conf
# |-- conf.d
# | `-- *

# Global configuration
PidFile ${APACHE_PID_FILE}
Timeout 30
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 10

<IfModule mpm_prefork_module>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 200
MaxRequestsPerChild 4000
</IfModule>

<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 200
MaxRequestsPerChild 4000
</IfModule>

<IfModule mpm_event_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 200
MaxRequestsPerChild 4000
</IfModule>

# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
#User www-data
#Group www-data

AccessFileName .htaccess

<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy all
</Files>

DefaultType None
HostnameLookups Off

ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn

# Include module configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf

# Include list of ports to listen on and which to use for name based vhosts
Include ports.conf

LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%b" bytes

Include conf.d/

# Include the virtual host configurations:
#Include sites-enabled/
Вроде нормально, на первый взгляд )

Что ещё можно посмотреть или команду какую запустить для ubuntu чтоб запустился веб сервер ?

apt-get remove php-pecl-apc - почистил.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: apache и nginx не активны и не включаются.
  • Quote

Post by skurudo » Sat Mar 11, 2017 10:18 pm

Пройдитесь скриптом и проверьте, что везде поменялся:
viewtopic.php?f=10&t=5975
Top


Post Reply
  • Print view

8 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