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

Упал и не запускается httpd

Вопросы по работе Веб сервера
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
YADRIKK
Posts: 4
Joined: Fri Jul 15, 2016 1:41 pm

Упал и не запускается httpd
  • Quote

Post by YADRIKK » Fri Jul 15, 2016 1:44 pm

Упал и не запускается httpd
Вот логи
[root@ns2 ~]# v-rebuild-web-domains admin
Error: httpd restart failed
[root@ns2 ~]# v-rebuild-web-domains admin
Error: httpd restart failed
[root@ns2 ~]# /usr/local/vesta/bin/v-rebuild-web-domains admin
Error: httpd restart failed
[root@ns2 ~]# sudo /usr/local/vesta/bin/v-rebuild-web-domains admin
/usr/local/vesta/bin/v-rebuild-web-domains: line 67: v-list-web-domains: command not found
Error: httpd restart failed
[root@ns2 ~]# sudo service httpd start
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service " and "journalctl -xe" for details.
[root@ns2 ~]# service vesta restart
Restarting vesta (via systemctl): [ OK ]
[root@ns2 ~]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service " and "journalctl -xe" for details.
[root@ns2 ~]# chkconfig --list httpd

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.

error reading information on service httpd: No such file or directory
[root@ns2 ~]# service httpd start
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service " and "journalctl -xe" for details.
[root@ns2 ~]# server-status
-bash: server-status: command not found
[root@ns2 ~]# systemctl status httpd.service -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-07-15 16:37:07 MSK; 1min 57s ago
Process: 8183 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 8181 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 8181 (code=exited, status=1/FAILURE)

Jul 15 16:37:07 ns2.games.ru systemd[1]: Starting The Apache HTTP Server...
Jul 15 16:37:07 ns2.games.ru httpd[8181]: [Fri Jul 15 16:37:07.175639 2016] [so:warn] [pid 8181] AH01574: module ruid2_module is already loaded, skipping
Jul 15 16:37:07 ns2.games.ru httpd[8181]: httpd: Syntax error on line 58 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/vesta.conf: Syntax error on line 2 of /home/mm7sale/conf/web/httpd.conf: </IfModule> without matching <IfModule> section
Jul 15 16:37:07 ns2.games.ru systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 15 16:37:07 ns2.games.ru kill[8183]: kill: cannot find process ""
Jul 15 16:37:07 ns2.games.ru systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 15 16:37:07 ns2.games.ru systemd[1]: Failed to start The Apache HTTP Server.
Jul 15 16:37:07 ns2.games.ru systemd[1]: Unit httpd.service entered failed state.
Jul 15 16:37:07 ns2.games.ru systemd[1]: httpd.service failed.
Top

linux81
Posts: 78
Joined: Wed Mar 18, 2015 10:11 pm
Contact:
Contact linux81
Website

Os: CentOS 6x
Web: apache + nginx
Re: Упал и не запускается httpd
  • Quote

Post by linux81 » Fri Jul 15, 2016 4:17 pm

on line 4 of /etc/httpd/conf.d/vesta.conf: Syntax error on line 2 of /home/mm7sale/conf/web/httpd.conf: </IfModule> without matching <IfModule> section
присутствует </IfModule>, но нет открывающего <IfModule>.
Попробуйте это исправить в конф-файле /home/mm7sale/conf/web/httpd.conf
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