Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

VestaCP Multiple services stopped on boot (but still works)

General questions about VestaCP
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
Vazze
Posts: 14
Joined: Sun Mar 01, 2015 3:32 am

VestaCP Multiple services stopped on boot (but still works)
  • Quote

Post by Vazze » Thu Mar 26, 2015 12:37 am

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
Image
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
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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by skurudo » Thu Mar 26, 2015 5:11 am

Need to check all and start with - disk space / inode

Code: Select all

df -h
df -i
Then check logs in /var/log - dmsg/syslog/messages.
You can show us output and logs too
Top

Vazze
Posts: 14
Joined: Sun Mar 01, 2015 3:32 am

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by Vazze » Thu Mar 26, 2015 11:54 am

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
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.

Thanks in advance.
Pierre
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by skurudo » Thu Mar 26, 2015 2:03 pm

Vazze 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.
dmsg
syslog
messages.

after restart, what in those logs?
Top

Vazze
Posts: 14
Joined: Sun Mar 01, 2015 3:32 am

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by Vazze » Thu Mar 26, 2015 3:56 pm

skurudo wrote:
Vazze 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.
dmsg
syslog
messages.

after restart, what in those logs?
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.
https://www.dropbox.com/s/v1d3n2u57v2au ... s.zip?dl=0
Top

Vazze
Posts: 14
Joined: Sun Mar 01, 2015 3:32 am

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by Vazze » Mon Mar 30, 2015 11:32 am

Have you looked it over yet?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by skurudo » Mon Mar 30, 2015 5:04 pm

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)
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by skurudo » Mon Mar 30, 2015 8:11 pm

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
Similar problem detected here - viewtopic.php?f=41&t=5533

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.
Top

Vazze
Posts: 14
Joined: Sun Mar 01, 2015 3:32 am

Re: VestaCP Multiple services stopped on boot (but still wor
  • Quote

Post by Vazze » Tue Mar 31, 2015 2:40 pm

skurudo wrote:

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
Similar problem detected here - viewtopic.php?f=41&t=5533

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       
And all services are running except for PROFPTD wich i seem not be able to start (from console).
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password