Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

service httpd restart FAILED

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

service httpd restart FAILED
  • Quote

Post by misak35 » Sun Feb 02, 2014 12:19 am

Code: Select all

service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 89 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/vesta.conf: Syntax error on line 152 of /home/admin/conf/web/httpd.conf: </VirtualHost> without matching <VirtualHost> section
Whats wrong here?
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: service httpd restart FAILED
  • Quote

Post by misak35 » Sun Feb 02, 2014 1:12 am

fixed.

Code: Select all

v-rebuild-web-domains admin
now everything is OK :)
Top

r0ber
Posts: 1
Joined: Tue Feb 25, 2014 1:44 pm

Re: service httpd restart FAILED
  • Quote

Post by r0ber » Tue Feb 25, 2014 1:46 pm

Hi, I have te same problem, but I don not understand how you fix the problem. Can you tell me what did yoy made?.

Thanks !
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: service httpd restart FAILED
  • Quote

Post by misak35 » Tue Feb 25, 2014 2:56 pm

r0ber wrote:Hi, I have te same problem, but I don not understand how you fix the problem. Can you tell me what did yoy made?.

Thanks !
well log into terminal and type

Code: Select all

v-rebuild-web-domains admin
admin is user :)
Top

alanms
Posts: 15
Joined: Sun Aug 16, 2015 12:03 pm

Re: service httpd restart FAILED
  • Quote

Post by alanms » Mon Mar 14, 2016 6:40 pm

I've done exactly what you said, but it just says:

Code: Select all

-bash: v-rebuild-web-domains: command not found
I've also tried going to the User tab, selecting the user and using the Rebuild options there through the web interface, but that doesn't do anything either. The page just refreshes, no feedback to indicate whether Vesta actually did anything or not.

If I instead run it as:

Code: Select all

/usr/local/vesta/bin/v-rebuild-web-domains admin
...I get this:

Code: Select all

/usr/local/vesta/bin/v-rebuild-web-domains: line 21: /usr/local/vesta/conf/vesta.conf: Permission denied
Error: WEB_SYSTEM is not enabled in the /usr/local/vesta/conf/vesta.conf
/usr/local/vesta/func/main.sh: line 59: /usr/local/vesta/log/error.log: Permission denied
What is going on? Why is Vesta doing this? The settings file it claims has a syntax error has been unchanged since 2013. What have Vesta done to make it fail so badly? How the heck did they manage to break Apache itself?

I seriously think I have no option here but to start again using a different control panel made by competent people. This is hopeless
Top

alanms
Posts: 15
Joined: Sun Aug 16, 2015 12:03 pm

Re: service httpd restart FAILED
  • Quote

Post by alanms » Mon Mar 14, 2016 7:12 pm

I think I've got it working again. But with Vesta, who knows?

For me (on Centos) Admin user was getting permissions errors despite having all permissisons so I ran these instead of everything above:

Code: Select all

sudo /usr/local/vesta/bin/v-rebuild-web-domains admin

sudo service httpd start
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • 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