Can't login but no error
-
- Posts: 3
- Joined: Thu Nov 05, 2015 3:35 am
Can't login but no error
Can't login to Vesta CP. Though logs report that a successful login occured, the login page just reloads, without an "incorrect password" warning or anything.
Ubuntu 14.04.1
root@artservices3:~# free -m
total used free shared buffers cached
Mem: 741 384 357 7 31 190
-/+ buffers/cache: 161 579
Swap: 0 0 0
I have tried solutions found in multiple threads on this forum to no avail. Including the following:
viewtopic.php?f=16&t=8862&p=29512#p29512
viewtopic.php?f=16&t=7063
viewtopic.php?f=10&t=8349&p=27113#p27113
Any ideas out there. Would really appreciate the help.
Almost forgot - error in nginx-error.log:
2015/11/04 21:26:15 [error] 1900#0: *46 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 99.65.201.104, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.220.52.115:8083", referrer: "https://162.220.52.115:8083/login/"
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda2 9.3G 5.7G 3.2G 65% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 361M 4.0K 361M 1% /dev
tmpfs 75M 400K 74M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 371M 0 371M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/vda1 453M 36M 390M 9% /boot
Ubuntu 14.04.1
root@artservices3:~# free -m
total used free shared buffers cached
Mem: 741 384 357 7 31 190
-/+ buffers/cache: 161 579
Swap: 0 0 0
I have tried solutions found in multiple threads on this forum to no avail. Including the following:
viewtopic.php?f=16&t=8862&p=29512#p29512
viewtopic.php?f=16&t=7063
viewtopic.php?f=10&t=8349&p=27113#p27113
Any ideas out there. Would really appreciate the help.
Almost forgot - error in nginx-error.log:
2015/11/04 21:26:15 [error] 1900#0: *46 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 99.65.201.104, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.220.52.115:8083", referrer: "https://162.220.52.115:8083/login/"
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda2 9.3G 5.7G 3.2G 65% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 361M 4.0K 361M 1% /dev
tmpfs 75M 400K 74M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 371M 0 371M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/vda1 453M 36M 390M 9% /boot
Re: Can't login but no error
Try v-change-password
Code: Select all
v-change-user-password admin password
-
- Posts: 3
- Joined: Thu Nov 05, 2015 3:35 am
Re: Can't login but no error
Tried that - doesn't work. Log shows a successful login, but it's just not redirecting to dashboard.
Re: Can't login but no error
Hi stuartallen
Try and remove the session
SSH into server
run
Cheers
Govo
Try and remove the session
SSH into server
run
Try login againrm -r -f /tmp/*
Cheers
Govo
-
- Posts: 3
- Joined: Thu Nov 05, 2015 3:35 am
Re: Can't login but no error
Nope - emptied that directory and still have same result. Other thoughts?
Re: Can't login but no error
Let's check logs:stuartallen wrote:Nope - emptied that directory and still have same result. Other thoughts?
/usr/local/vesta/log/nginx-error.log
/usr/local/vesta/log/system.log
Re: Can't login but no error
Just booting up may server
Can you post the out put of your logs
Cheers
Govo
Can you post the out put of your logs
Cheers
Govo
Re: Can't login but no error
These errors occurs becouse of php session. Php can not create session.
Why does php can not create sessions?
1) Php (apache) doesn't has write permissions to session_save_path. (after php update, you have to chmod 777 that folder)
2) Your user's disk quota is full. (If you activated quota on buggy version of vesta release: 14 and earlier)
3) Your server's disk is full.
Why does php can not create sessions?
1) Php (apache) doesn't has write permissions to session_save_path. (after php update, you have to chmod 777 that folder)
2) Your user's disk quota is full. (If you activated quota on buggy version of vesta release: 14 and earlier)
3) Your server's disk is full.
Re: Can't login but no error
I can't login to VestaCP
viewtopic.php?f=10&t=14958&p=61578#p61578
viewtopic.php?f=10&t=14958&p=61578#p61578