Posted By: lesmond on October 19, 2020, 8:27 pm |
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 ----------------------- Buildz Hosting |
Posted By: lesmond on October 20, 2020, 9:50 am | Post: 2 |
Thanks wolke, thats fixed it
Wonder why it happened in the first place? ----------------------- Buildz Hosting |
Posted By: lesmond on November 10, 2020, 7:59 pm | Post: 4 |
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 |
Posted By: lesmond on November 10, 2020, 8:01 pm | Post: 5 |
Also forgot to mention, the server was not rebooted at any stage before this happened :(
----------------------- Buildz Hosting |
Posted By: lesmond on November 11, 2020, 12:41 pm | Post: 7 |
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 |
Posted By: wolke on November 11, 2020, 12:44 pm | Post: 8 |
you may need to replace bin/bash with your shell (e.g. /bin/sh ) |
Posted By: lesmond on November 11, 2020, 12:54 pm | Post: 9 |
I fixed the 2 warning by installing installing bind-utils
----------------------- Buildz Hosting |
Posted By: wolke on November 11, 2020, 12:55 pm | Post: 10 |
The *"warning* thing had nothing to do with the csfpost.sh script. |
Posted By: lesmond on November 11, 2020, 1:13 pm | Post: 11 |
I think I fixed it now
Code Running /etc/csf/csfpost.sh ----------------------- Buildz Hosting |
Posted By: wolke on November 11, 2020, 1:25 pm | Post: 12 |
Yes, that looks good. |