Page 1 of 1

VestaCP stops working

Posted: Tue Mar 08, 2016 6:45 am
by amerkhan
Hi Guys,

I am writing this thread out of frustration now.

This has happened second time. On my fresh server (Centos 6.7 updated) I installed VestaCP and it worked fine with my ip:8083 but after some time it stops working.

I thought I might have messed with some configurations therefore I re-built my VPS (to ensure there are not any configurations left) and re-installed it.

And again it happened.

I get this error:
http://prntscr.com/acl7ig

All my services are running fine:
service vesta restart
Stopping vesta-nginx: [ OK ]
Stopping vesta-php: [ OK ]
Starting vesta-nginx: [ OK ]
Starting vesta-php: [ OK ]

I have added a domain in my Vesta and that works fine too. It's only that my vesta cp doesn't work on ip/subdomain.

I tried stopping Fail2Ban but that doesn't help either.

Here are my logs:
my nginx-error.log is empty and my system.log shows the rebuild info:

Code: Select all

2016-03-07 19:31:15 v-rebuild-web-domains 'admin' 'no'
2016-03-07 19:31:15 v-rebuild-dns-domains 'admin' 'no'
2016-03-07 19:31:15 v-rebuild-mail-domains 'admin'
2016-03-07 19:31:15 v-rebuild-databases 'admin'
2016-03-07 19:31:16 v-rebuild-cron-jobs 'admin' 'no'
2016-03-07 19:31:15 v-rebuild-user 'admin' 'no'
2016-03-08 00:20:01 v-update-user-stats
2016-03-08 02:15:02 v-update-user-disk 'admin'
2016-03-08 02:15:02 v-update-web-domains-disk 'admin'
2016-03-08 02:15:13 v-update-mail-domains-disk 'admin'
2016-03-08 02:15:13 v-update-database-disk 'admin' 'admin_default'
2016-03-08 02:15:13 v-update-database-disk 'admin' 'admin_fineart'
2016-03-08 02:15:13 v-update-databases-disk 'admin'
2016-03-08 05:10:01 v-backup-user 'admin'

I have just attached the last part. I can attach the whole log as well. The IP I can share as well. Any help please :(

Thanks

Re: VestaCP stops working

Posted: Tue Mar 08, 2016 7:13 am
by amerkhan
At Last!!!

Got the solution from another thread: viewtopic.php?t=5918

Thanks to @icuetcue

The solution is to add port 8083 to TCP incoming and outgoing ports /etc/csf/csf.conf

Code: Select all

nano /etc/csf/csf.conf

# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,8083"

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,53,80,110,113,443,587,993,995,8080,8083"
CTRL + O to write to file
CTRL + X to exit

Now restart CSF by typing in:

Code: Select all

csf -r
and you are done!!