Page 1 of 1

Accessing VestaCP times out, web site running fine

Posted: Sun Aug 09, 2015 2:17 am
by jriemerm
I haven't had reason to access my Vesta Control Panel for a month or so, and now I'm finding I can successfully login only very rarely. Most of the time I get a timeout error when I try to go to https://myip:8083/list/user/

Specifically:

This webpage is not available

ERR_TIMED_OUT

All my web sites running off this server seem to be running fine.

I find the following in /usr/local/vesta/log/nginx-error.log:

2015/08/08 21:54:46 [error] 9700#0: *102 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: SUSPENDED in /usr/local/vesta/web/templates/admin/list_ip.html on line 58" while reading upstream, client: 75.72.206.133, server: _, request: "GET /list/ip/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: ":8083", referrer: "https://[myipaddress]:8083/list/rrd/"

No other log entries look relevant to me; that one seemed like it might offer a clue but I don't know what it means, if anything.

I did successfully log in tonight once, and once in could work in the control panel without apparent problems. But the login fails now and has failed many times over the past several days.

Any ideas?

Re: Accessing VestaCP times out, web site running fine

Posted: Wed Aug 12, 2015 7:31 am
by skurudo
Hi, there.
This can be broken sudo problem - viewtopic.php?f=16&t=7063#p24341

Check your disk usage too:

Code: Select all

df -h
df -i

Re: Accessing VestaCP times out, web site running fine

Posted: Thu Aug 27, 2015 7:03 am
by ducnb
I have same problem. I cant login admin, phpmyadmin
2015/08/27 02:51:20 [error] 1438#0: *102 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: write failed: Disk quota exceeded (122) in Unknown on line 0
PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0" while reading upstream, client: 183.81.69.51, server: _, request: "GET /js/i18n.js.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "128.199.173.4:8083", referrer: "https://128.199.173.4:8083/login/"
This is server info: (RAM 2Gb, SSD: 40Gb, SWAP: 4Gb, CentOS 6.7)

Code: Select all

[root@server ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        40G   23G   16G  60% /
tmpfs          1004M     0 1004M   0% /dev/shm

[root@server ~]# df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
/dev/vda1      2621440 441341 2180099   17% /
tmpfs           256803      1  256802    1% /dev/shm

This is mysqld log file:
150827 02:53:32 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
150827 02:53:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150827 2:53:48 [Note] /usr/libexec/mysqld (mysqld 5.5.45) starting as process 1348 ...
150827 2:53:48 [Note] Plugin 'FEDERATED' is disabled.
150827 2:53:48 InnoDB: The InnoDB memory heap is disabled
150827 2:53:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150827 2:53:48 InnoDB: Compressed tables use zlib 1.2.3
150827 2:53:48 InnoDB: Using Linux native AIO
150827 2:53:48 InnoDB: Initializing buffer pool, size = 64.0M
150827 2:53:48 InnoDB: Completed initialization of buffer pool
150827 2:53:48 InnoDB: highest supported file format is Barracuda.
150827 2:53:48 InnoDB: Waiting for the background threads to start
150827 2:53:49 InnoDB: 5.5.45 started; log sequence number 35496781
150827 2:53:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150827 2:53:49 [Note] - '0.0.0.0' resolves to '0.0.0.0';
150827 2:53:49 [Note] Server socket created on IP: '0.0.0.0'.
150827 2:53:49 [Note] Event Scheduler: Loaded 0 events
150827 2:53:49 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.45' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL) by Remi
Please help me.
Thanks.

Re: Accessing VestaCP times out, web site running fine

Posted: Fri Aug 28, 2015 6:53 am
by skurudo
Do you use quota?

???
Disk quota exceeded (122) in Unknown on line 0

Re: Accessing VestaCP times out, web site running fine

Posted: Fri Aug 28, 2015 7:25 am
by ducnb
ah, maybe, how to disable it.

Re: Accessing VestaCP times out, web site running fine

Posted: Fri Aug 28, 2015 8:07 am
by skurudo
Let's see:
Disk:10.67 gb
Web: 10.60 gb
Databases: 70 mb

And your disk quota for user admin 10000mb...

/edit/package/?package=default -> changed to 11000mb
and make restart vesta service.

Looks fine ;-)

Re: Accessing VestaCP times out, web site running fine

Posted: Fri Aug 28, 2015 8:19 am
by ducnb
that mean, disk space for user admin is full, right ?

in the future, If have same problem, Please guide me process.

Re: Accessing VestaCP times out, web site running fine

Posted: Fri Aug 28, 2015 8:50 am
by skurudo
In future ->
Make change for package default more then 11000mb (for example 15000 or more.)

package -> default -> Quota -> save

Re: Accessing VestaCP times out, web site running fine

Posted: Mon Aug 31, 2015 9:13 am
by ducnb
Thank you very much.

Re: Accessing VestaCP times out, web site running fine

Posted: Mon Aug 31, 2015 9:23 am
by skurudo
You're welcome ;-)