Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : All VPS stopped



Threaded Mode | Print  

 All VPS stopped (12 Replies, Read 1537 times)
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
We have Vitualizor KVM with 4 working vm, all of a sudden they ALL stopped, no ssh not sites work on any of them, although virtualizor is showing they are all running.

We have restarted each VM and rebooted the main server nothing helps  :??:

Board Image

-----------------------
Buildz Hosting
IP: --   

All VPS stopped
wolke
Group: NOC
Post Group: Elite Member
Posts: 366
Status:
If this happens after a reboot of the Node, you can try the following as root:

Code
/sbin/iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT
service libvirtd restart



You may need to do this after each reboot. I use csf (csfpost.sh) for this task.
IP: --   

All VPS stopped
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
Thanks wolke, thats fixed it :angel:

Wonder why it happened in the first place?

-----------------------
Buildz Hosting
IP: --   

All VPS stopped
wolke
Group: NOC
Post Group: Elite Member
Posts: 366
Status:
It surprised me too. It starts out of nowhere (after doing reboots over and over without any issue) .
But this is a working solution for more than a year now.

Just make sure it is called on systemstart or (if you use csf) put it in csfpost.sh. That way it will run every time csf is started and do the job automatically.
IP: --   

All VPS stopped
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
Quote From : wolke October 20, 2020, 9:56 am
It surprised me too. It starts out of nowhere (after doing reboots over and over without any issue) .
But this is a working solution for more than a year now.

Just make sure it is called on systemstart or (if you use csf) put it in csfpost.sh. That way it will run every time csf is started and do the job automatically.


We use csf, but I can't find that file csfpost.sh

-----------------------
Buildz Hosting
IP: --   

All VPS stopped
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
Also forgot to mention, the server was not rebooted at any stage before this happened :(

-----------------------
Buildz Hosting
IP: --   

All VPS stopped
wolke
Group: NOC
Post Group: Elite Member
Posts: 366
Status:
This file does not exist after installation, so you need to create it and put the following in it:

Code
#!/bin/bash
/sbin/iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT
service libvirtd restart


Then restart csf
IP: --   

All VPS stopped
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
So I added the file and restarted csf, after this came up :

Code
Running /etc/csf/csfpost.sh
sh: /etc/csf/csfpost.sh: /bin/bash: bad interpreter: Text file busy
*WARNING* Binary location for [HOST] [/usr/bin/host] in /etc/csf/csf.conf is either incorrect, is not installed or is not executable
*WARNING* Missing or incorrect binary locations will break csf and lfd functionality


-----------------------
Buildz Hosting
IP: --   

All VPS stopped
wolke
Group: NOC
Post Group: Elite Member
Posts: 366
Status:
you may need to replace bin/bash with your shell (e.g. /bin/sh )
IP: --   

All VPS stopped
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
I fixed the 2 warning by installing installing bind-utils

-----------------------
Buildz Hosting
IP: --   

All VPS stopped
wolke
Group: NOC
Post Group: Elite Member
Posts: 366
Status:
The *"warning* thing had nothing to do with the csfpost.sh script.
IP: --   

All VPS stopped
lesmond
Group: Member
Post Group: Working Member
Posts: 104
Status:
I think I fixed it now

Code
Running /etc/csf/csfpost.sh




-----------------------
Buildz Hosting
IP: --   

All VPS stopped
wolke
Group: NOC
Post Group: Elite Member
Posts: 366
Status:
Yes, that looks good.  :)
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 25, 2020, 1:38 pm.

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