VestaCP Multiple services stopped on boot (but still works)
VestaCP Multiple services stopped on boot (but still works)
Hi,
Im on Debian 7.8 (3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux)
since a couple of days my server says

It also reports that fail2ban is stopped (further down the list)
I've checked the services in the terminal and it says:
The only thing that differs from the standard core-vesta-package is that i installed MySQL 5.6.23, but i did that when i installed Vesta and it worked like a charm for like 3 weeks.
If i reboot the server, some services would not be recognized as started and i cant use the Vesta panel to admin them.
Anyone else got this? Saw a post from last year, but that thread was dead.
PS. I can restart the services in console with service exim4 restart or /etc/init.d/exim4 restart, and the server restarts and works, but dont show up in Vesta.
Thanks in advance.
Pierre
Im on Debian 7.8 (3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux)
since a couple of days my server says

It also reports that fail2ban is stopped (further down the list)
I've checked the services in the terminal and it says:
Code: Select all
root@xxxxx~ # service exim4 status
exim4.service - LSB: exim Mail Transport Agent
Loaded: loaded (/etc/init.d/exim4)
Active: active (running) since Thu, 26 Mar 2015 01:19:02 +0100; 6min ago
Process: 8917 ExecStop=/etc/init.d/exim4 stop (code=exited, status=0/SUCCESS)
Process: 8929 ExecStart=/etc/init.d/exim4 start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/exim4.service
â”” 8938 /usr/sbin/exim4 -bd -q30m
root@xxxxx~ # service apache2 status
apache2.service - LSB: Start/stop apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: active (running) since Thu, 26 Mar 2015 01:06:21 +0100; 18min ago
Process: 4510 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 4534 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/apache2.service
├ 4545 /usr/sbin/apache2 -k start
├ 4547 /usr/sbin/apache2 -k start
├ 4548 /usr/sbin/apache2 -k start
├ 4549 /usr/sbin/apache2 -k start
├ 4550 /usr/sbin/apache2 -k start
├ 4551 /usr/sbin/apache2 -k start
├ 4552 /usr/sbin/apache2 -k start
├ 4553 /usr/sbin/apache2 -k start
├ 4554 /usr/sbin/apache2 -k start
â”” 4555 /usr/sbin/apache2 -k start
root@xxxxx~ # service bind9 status
bind9.service - LSB: Start and stop bind9
Loaded: loaded (/etc/init.d/bind9)
Active: active (running) since Thu, 26 Mar 2015 01:11:18 +0100; 14min ago
Process: 6342 ExecStop=/etc/init.d/bind9 stop (code=exited, status=0/SUCCESS)
Process: 6353 ExecStart=/etc/init.d/bind9 start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/bind9.service
â”” 6362 /usr/sbin/named -u bind
If i reboot the server, some services would not be recognized as started and i cant use the Vesta panel to admin them.
Anyone else got this? Saw a post from last year, but that thread was dead.
PS. I can restart the services in console with service exim4 restart or /etc/init.d/exim4 restart, and the server restarts and works, but dont show up in Vesta.
Thanks in advance.
Pierre
Re: VestaCP Multiple services stopped on boot (but still wor
Need to check all and start with - disk space / inode
Then check logs in /var/log - dmsg/syslog/messages.
You can show us output and logs too
Code: Select all
df -h
df -i
You can show us output and logs too
Re: VestaCP Multiple services stopped on boot (but still wor
Code: Select all
root@xxxxx~ # df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1008G 3.7G 953G 1% /
udev 10M 0 10M 0% /dev
tmpfs 3.1G 4.9M 3.1G 1% /run
/dev/disk/by-uuid/c3bb119c-2a29-4435-92f4-41999f9a7e5b 1008G 3.7G 953G 1% /
tmpfs 7.8G 4.0K 7.8G 1% /dev/shm
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 100M 0 100M 0% /run/user
/dev/md1 496M 33M 438M 7% /boot
/dev/md3 1.7T 4.6G 1.7T 1% /home
root@xxxxx~ # df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 67100672 84730 67015942 1% /
udev 2017589 407 2017182 1% /dev
tmpfs 2019291 504 2018787 1% /run
/dev/disk/by-uuid/c3bb119c-2a29-4435-92f4-41999f9a7e5b 67100672 84730 67015942 1% /
tmpfs 2019291 2 2019289 1% /dev/shm
tmpfs 2019291 11 2019280 1% /sys/fs/cgroup
tmpfs 2019291 7 2019284 1% /run/lock
tmpfs 2019291 5 2019286 1% /run/user
/dev/md1 131072 453 130619 1% /boot
/dev/md3 115474432 23581 115450851 1% /home
Thanks in advance.
Pierre
Re: VestaCP Multiple services stopped on boot (but still wor
dmsgVazze wrote: Exactly wich logs / dmesg do you want? I dont have any error-logs in apache, bind9, fail2ban or exim4 as it sits. please tell me the dmesg-output you want.
syslog
messages.
after restart, what in those logs?
Re: VestaCP Multiple services stopped on boot (but still wor
Ok, here are the files (i restarted the services after 16.00 sometime, and the machine was restarted @ 03.00 this morning, so the logs are not so big.skurudo wrote:dmsgVazze wrote: Exactly wich logs / dmesg do you want? I dont have any error-logs in apache, bind9, fail2ban or exim4 as it sits. please tell me the dmesg-output you want.
syslog
messages.
after restart, what in those logs?
https://www.dropbox.com/s/v1d3n2u57v2au ... s.zip?dl=0
Re: VestaCP Multiple services stopped on boot (but still wor
Have you looked it over yet?
Re: VestaCP Multiple services stopped on boot (but still wor
Yep, and don't see nothing suspicios
Vazze pm me please with root pass from server, let's see, what's going on. (if you want, of cource)
Vazze pm me please with root pass from server, let's see, what's going on. (if you want, of cource)
Re: VestaCP Multiple services stopped on boot (but still wor
Code: Select all
/usr/local/vesta/bin/v-list-sys-services
NAME STATE CPU MEM RTIME
------ ------ ------ ------ ------
nginx running 0 207 304
apache2 stopped 0 0 0
bind9 stopped 0 0 0
exim4 running 0 93 303
dovecot running 0 21 304
clamav-daemon running 0 396 304
spamassassin running 0 0 304
mysql running 4 14079 304
proftpd running 0 43 304
cron running 0 21 304
iptables running 0 0 0
fail2ban stopped 0 0 0
Code: Select all
$ sudo /etc/init.d/apache2 restart
[ ok ] Restarting apache2 (via systemctl): apache2.service.
$ sudo /etc/init.d/bind9 restart
[ ok ] Restarting bind9 (via systemctl): bind9.service
$ sudo /etc/init.d/fail2ban restart
[ ok ] Restarting fail2ban (via systemctl): fail2ban.service.
Re: VestaCP Multiple services stopped on boot (but still wor
skurudo wrote:Similar problem detected here - viewtopic.php?f=41&t=5533Code: Select all
/usr/local/vesta/bin/v-list-sys-services NAME STATE CPU MEM RTIME ------ ------ ------ ------ ------ nginx running 0 207 304 apache2 stopped 0 0 0 bind9 stopped 0 0 0 exim4 running 0 93 303 dovecot running 0 21 304 clamav-daemon running 0 396 304 spamassassin running 0 0 304 mysql running 4 14079 304 proftpd running 0 43 304 cron running 0 21 304 iptables running 0 0 0 fail2ban stopped 0 0 0
Code: Select all
$ sudo /etc/init.d/apache2 restart [ ok ] Restarting apache2 (via systemctl): apache2.service. $ sudo /etc/init.d/bind9 restart [ ok ] Restarting bind9 (via systemctl): bind9.service $ sudo /etc/init.d/fail2ban restart [ ok ] Restarting fail2ban (via systemctl): fail2ban.service.
And now i have
Code: Select all
/usr/local/vesta/bin/v-list-sys-services
NAME STATE CPU MEM RTIME
------ ------ ------ ------ ------
nginx stopped 0 0 0
apache2 stopped 0 0 0
bind9 stopped 0 0 0
exim4 stopped 0 0 0
dovecot stopped 0 0 0
clamav-daemon stopped 0 0 0
spamassassin stopped 0 0 0
mysql stopped 0 0 0
proftpd stopped 0 0 0
cron stopped 0 0 0
iptables running 0 0 0
fail2ban stopped 0 0