The httpd service does not start automatically in VestaCP?

StrangeDays

Member
Registered
Joined
Dec 30, 2016
Messages
26
Points
0
Hi Guys,

I am a WHM / cPanel man but recently decided to try Vesta CP. I have to say that I am very impressed with the speed although it has taken a to get used to the interface / options etc.

I do have a problem though and I am hoping you can assist. For some reason the httpd service does not start automatically and I have to do this manually after every reboot. Has anyone else experienced this?

Many thanks.
 
Last edited:

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
What OS and web server are you using on your VPS? Nginx or Apache?

I have ever installed and used VestaCP for a while but I saw its issues and moved to a paid hosting panel.
Your problem seems to be a bug in VestaCP startup script, here is an easy work around that you can use to solve this issue if you are using Nginx

create a file /usr/local/bin/restartnginx
Code:
nano /usr/local/bin/restartnginx
Paste this code

Code:
#!/bin/sh
#
sleep 30
service nginx restart

Change and make the file executable

Code:
chmod +x /usr/local/bin/restartnginx

Edit the file /etc/rc.local

Code:
nano  /etc/rc.local

Then add the following code to your /etc/rc.local before the exit 0 line

Code:
/usr/local/bin/restartnginx &
 

mattnz

Member
Registered
Joined
Jul 16, 2016
Messages
48
Points
8
Hi Guys,

I am a WHM / cPanel man but recently decided to try Vesta CP. I have to say that I am very impressed with the speed although it has taken a to get used to the interface / options etc.

I do have a problem though and I am hoping you can assist. For some reason the httpd service does not start automatically and I have to do this manually after every reboot. Has anyone else experienced this?

Many thanks.
You should check out this post and find some better than VestaCP
https://forumweb.hosting/13069-which-is-the-best-control-panel-for-linux-vps-server.html
 
Older Threads
Replies
8
Views
7,367
Replies
7
Views
4,569
Replies
91
Views
68,502
Latest Threads
Replies
0
Views
123
Replies
1
Views
79

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top