Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Make services auto restart if down / Make the site & webuzo not down often



Threaded Mode | Print  

 Make services auto restart if down / Make the site & webuzo not down often (5 Replies, Read 33915 times)
zalgu
Group: Member
Post Group: Newbie
Posts: 23
Status:
My site down each few days

to make the site live again, i need to run this ssh command to open webuzo page : service webuzo restart

and do restart in Services page, like Bind & Mysql


its there a way to make the services auto restart if down, maybe like automagically restart in cpanel or to make the site & webuzo not down often



my vps details
+ 4 vCPU Cores

+ 30 GB Disk Space Storage (Hardware RAID10)

+ 1GB Guaranteed RAM + 1.2 GB vSwap
IP: --   

Make services auto restart if down / Make the site & webuzo not down often
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
For the Webuzo service, execute the following two commands

chkconfig webuzo off

chkconfig webuzo on

The above command should start the Webuzo service on boot.

For the services like MySQL, Bind, etc, Webuzo checks every 8 mins and restarts them if not running. You should not face this issue.
Could you monitor the resources usage while the services get shut down ??

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Make services auto restart if down / Make the site & webuzo not down often
zalgu
Group: Member
Post Group: Newbie
Posts: 23
Status:
the site down again right now, but can open webuzo page

in Services page only BIND that is down

i tried run this ssh command
chkconfig webuzo off
chkconfig webuzo on
but BIND still down, not running


here is screenshot SSH top
Board Image

and solusvm
Board Image
IP: --   

Make services auto restart if down / Make the site & webuzo not down often
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Execute the following command

service named restart

This restarts the Bind service..

chkconfig named off
chkconfig named on

You should not face this issue again on reboot.
Hope this helps :)

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Make services auto restart if down / Make the site & webuzo not down often
zalgu
Group: Member
Post Group: Newbie
Posts: 23
Status:
the website still get down again today

so i need to restart bind again

are you sure the services checks every 8 mins and restarts them if not running? how to check it works?


IP: --   

Make services auto restart if down / Make the site & webuzo not down often
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
You must be running out of resources at that point restricting the process from starting.
Could you confirm that ??

Shut a service from the command line

service named restart

Check after 10 mins. The service should be up and running by itself.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is September 23, 2024, 8:02 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.027