Page 1 of 1
service httpd restart FAILED
Posted: Sun Feb 02, 2014 12:19 am
by misak35
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?
Re: service httpd restart FAILED
Posted: Sun Feb 02, 2014 1:12 am
by misak35
fixed.
now everything is OK :)
Re: service httpd restart FAILED
Posted: Tue Feb 25, 2014 1:46 pm
by r0ber
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 !
Re: service httpd restart FAILED
Posted: Tue Feb 25, 2014 2:56 pm
by misak35
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
admin is user :)
Re: service httpd restart FAILED
Posted: Mon Mar 14, 2016 6:40 pm
by alanms
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
Re: service httpd restart FAILED
Posted: Mon Mar 14, 2016 7:12 pm
by alanms
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