Page 1 of 1

Can't login to Vesta admin panel

Posted: Tue Jul 11, 2017 10:35 am
by mateusz
Hello,

I have Vesta on Centos 7. I can't login to Vesta admin panel. When i use reset password by e-mail and i change password i can login only once. FTP and SSH login work properly.

/var/log/vesta/system.log

Code: Select all

2017-07-06 11:28:01 v-change-sys-hostname  '145.xxx.54.66'
2017-07-06 11:28:01 v-generate-ssl-cert  '145.xxx.54.66' 'xxxxxx@xxx' 'US' 'California' 'San Francisco' 'Vesta Control Panel' 'IT'
2017-07-06 11:28:06 v-add-firewall-chain  'SSH'
2017-07-06 11:28:06 v-add-user  'admin' '******' 'xxxxxx@xxx' 'default' 'System' 'Administrator'
2017-07-06 11:28:06 v-add-firewall-chain  'VESTA'
2017-07-06 11:28:06 v-change-user-shell  'admin' 'bash'
2017-07-06 11:28:06 v-change-user-language  'admin' 'en'
2017-07-06 11:28:06 v-add-sys-ip  '145.xxx.54.66' '255.255.255.240' 'eth0'
2017-07-06 11:28:07 v-add-database-host  'mysql' 'localhost' 'root' '******'
2017-07-06 11:28:07 v-add-database  'admin' 'default' 'default' '******' 'mysql'
2017-07-06 11:28:07 v-add-web-domain  'admin' '145.xxx.54.66' '145.xxx.54.66' 'no'
2017-07-06 11:28:07 v-add-cron-job  'admin' '15' '02' 'adjtime aliases aliases.db alternatives anacrontab asound.conf audisp audit awstats bacula bash_completion.d bashrc binfmt.d centos-release centos-release-upstream chkconfig.d chrony.conf chrony.keys cron.d cron.daily cron.deny cron.hourly cron.monthly crontab cron.weekly crypttab csh.cshrc csh.login dbus-1 default depmod.d dhcp DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor dnsmasq.conf dnsmasq.d dracut.conf dracut.conf.d e2fsck.conf environment ethertypes exports fail2ban favicon.png filesystems firewalld fonts fstab gcrypt GeoIP.conf GeoIP.conf.default ghostscript gnupg GREP_COLORS groff group group- grub2.cfg grub.d gshadow gshadow- gss hiera.yaml host.conf hostname hosts hosts.allow hosts.deny httpd ImageMagick init.d inittab inputrc iproute2 issue issue.net jwhois.conf kdump.conf kernel krb5.conf krb5.conf.d ld.so.cache ld.so.conf ld.so.conf.d libaudit.conf libnl libuser.conf locale.conf localtime login.defs logrotate.conf logrotate.d logwatch lvm machine-id magic mailcap mail.rc makedumpfile.conf.sample man_db.conf mc mime.types mke2fs.conf modprobe.d modules-load.d motd mtab my.cnf my.cnf.d NetworkManager networks newrelic nsswitch.conf nsswitch.conf.bak nsswitch.conf.rpmnew ntp ntp.conf openldap opt os-release ovirt-guest-agent ovirt-guest-agent.conf pam.d passwd passwd- php.d php.ini phpMyAdmin php-tcpdf php-zts.d pkcs11 pki plymouth pm polkit-1 popt.d postfix ppp prelink.conf.d printcap profile profile.d protocols puppet python qemu-ga rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rc.d rc.local rdma redhat-release resolv.conf rpc rpm rsyslog.conf rsyslog.d rwtab rwtab.d sasl2 screenrc securetty security selinux services sestatus.conf shadow shadow- shells skel ssh ssl statetab statetab.d subgid subuid sudo.conf sudoers sudoers.d sudo-ldap.conf sysconfig sysctl.conf sysctl.d systemd system-release system-release-cpe tcsd.conf terminfo tmpfiles.d trusted-key.key tuned udev vconsole.conf vimrc virc vsftpd webalizer.conf wgetrc wpa_supplicant X11 xdg xinetd.d yum yum.conf yum.repos.d' 'adjtime aliases aliases.db alternatives anacrontab asound.conf audisp audit awstats bacula bash_completion.d bashrc binfmt.d centos-release centos-release-upstream chkconfig.d chrony.conf chrony.keys cron.d cron.daily cron.deny cron.hourly cron.monthly crontab cron.weekly crypttab csh.cshrc csh.login dbus-1 default depmod.d dhcp DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor dnsmasq.conf dnsmasq.d dracut.conf dracut.conf.d e2fsck.conf environment ethertypes exports fail2ban favicon.png filesystems firewalld fonts fstab gcrypt GeoIP.conf GeoIP.conf.default ghostscript gnupg GREP_COLORS groff group group- grub2.cfg grub.d gshadow gshadow- gss hiera.yaml host.conf hostname hosts hosts.allow hosts.deny httpd ImageMagick init.d inittab inputrc iproute2 issue issue.net jwhois.conf kdump.conf kernel krb5.conf krb5.conf.d ld.so.cache ld.so.conf ld.so.conf.d libaudit.conf libnl libuser.conf locale.conf localtime login.defs logrotate.conf logrotate.d logwatch lvm machine-id magic mailcap mail.rc makedumpfile.conf.sample man_db.conf mc mime.types mke2fs.conf modprobe.d modules-load.d motd mtab my.cnf my.cnf.d NetworkManager networks newrelic nsswitch.conf nsswitch.conf.bak nsswitch.conf.rpmnew ntp ntp.conf openldap opt os-release ovirt-guest-agent ovirt-guest-agent.conf pam.d passwd passwd- php.d php.ini phpMyAdmin php-tcpdf php-zts.d pkcs11 pki plymouth pm polkit-1 popt.d postfix ppp prelink.conf.d printcap profile profile.d protocols puppet python qemu-ga rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rc.d rc.local rdma redhat-release resolv.conf rpc rpm rsyslog.conf rsyslog.d rwtab rwtab.d sasl2 screenrc securetty security selinux services sestatus.conf shadow shadow- shells skel ssh ssl statetab statetab.d subgid subuid sudo.conf sudoers sudoers.d sudo-ldap.conf sysconfig sysctl.conf sysctl.d systemd system-release system-release-cpe tcsd.conf terminfo tmpfiles.d trusted-key.key tuned udev vconsole.conf vimrc virc vsftpd webalizer.conf wgetrc wpa_supplicant X11 xdg xinetd.d yum yum.conf yum.repos.d' 'adjtime aliases aliases.db alternatives anacrontab asound.conf audisp audit awstats bacula bash_completion.d bashrc binfmt.d centos-release centos-release-upstream chkconfig.d chrony.conf chrony.keys cron.d cron.daily cron.deny cron.hourly cron.monthly crontab cron.weekly crypttab csh.cshrc csh.login dbus-1 default depmod.d dhcp DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor dnsmasq.conf dnsmasq.d dracut.conf dracut.conf.d e2fsck.conf environment ethertypes exports fail2ban favicon.png filesystems firewalld fonts fstab gcrypt GeoIP.conf GeoIP.conf.default ghostscript gnupg GREP_COLORS groff group group- grub2.cfg grub.d gshadow gshadow- gss hiera.yaml host.conf hostname hosts hosts.allow hosts.deny httpd ImageMagick init.d inittab inputrc iproute2 issue issue.net jwhois.conf kdump.conf kernel krb5.conf krb5.conf.d ld.so.cache ld.so.conf ld.so.conf.d libaudit.conf libnl libuser.conf locale.conf localtime login.defs logrotate.conf logrotate.d logwatch lvm machine-id magic mailcap mail.rc makedumpfile.conf.sample man_db.conf mc mime.types mke2fs.conf modprobe.d modules-load.d motd mtab my.cnf my.cnf.d NetworkManager networks newrelic nsswitch.conf nsswitch.conf.bak nsswitch.conf.rpmnew ntp ntp.conf openldap opt os-release ovirt-guest-agent ovirt-guest-agent.conf pam.d passwd passwd- php.d php.ini phpMyAdmin php-tcpdf php-zts.d pkcs11 pki plymouth pm polkit-1 popt.d postfix ppp prelink.conf.d printcap profile profile.d protocols puppet python qemu-ga rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rc.d rc.local rdma redhat-release resolv.conf rpc rpm rsyslog.conf rsyslog.d rwtab rwtab.d sasl2 screenrc securetty security selinux services sestatus.conf shadow shadow- shells skel ssh ssl statetab statetab.d subgid subuid sudo.conf sudoers sudoers.d sudo-ldap.conf sysconfig sysctl.conf sysctl.d systemd system-release system-release-cpe tcsd.conf terminfo tmpfiles.d trusted-key.key tuned udev vconsole.conf vimrc virc vsftpd webalizer.conf wgetrc wpa_supplicant X11 xdg xinetd.d yum yum.conf yum.repos.d' 'sudo /usr/local/vesta/bin/v-update-sys-queue disk'
/var/log/vesta/auth.log

Code: Select all

2017-07-06 11:37:57 admin 85.232.252.118 failed to login
2017-07-06 12:12:07 admin 88.220.125.146 failed to login
2017-07-07 12:36:28 admin 94.254.166.194 failed to login
2017-07-10 07:56:53 admin 88.220.125.146 failed to login
2017-07-10 07:57:02 admin 88.220.125.146 failed to login
2017-07-10 09:14:35 admin 88.220.125.146 failed to login
2017-07-10 09:22:20 admin 88.220.125.146 failed to login
2017-07-10 09:22:25 admin 88.220.125.146 failed to login
2017-07-10 09:22:57 admin 88.220.125.146 failed to login
2017-07-10 09:36:57 admin 88.220.125.146 failed to login
2017-07-10 09:39:57 admin 88.220.125.146 failed to login
2017-07-10 09:40:00 admin 88.220.125.146 failed to login
2017-07-10 09:40:03 admin 88.220.125.146 failed to login
2017-07-10 09:43:36 admin 88.220.125.146 failed to login
2017-07-10 09:52:43 admin 94.254.165.180 failed to login
2017-07-10 09:53:01 admin 94.254.165.180 failed to login
2017-07-10 09:57:50 admin 94.254.165.180 failed to login
2017-07-10 09:57:58 admin 94.254.165.180 failed to login
2017-07-10 09:59:46 admin 94.254.165.180 failed to login
/var/log/vesta/nginx-error.log

Code: Select all

2017/07/06 11:37:52 [error] 6514#0: *2 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 85.232.252.118, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083"
2017/07/06 11:37:57 [error] 6514#0: *2 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 85.232.252.118, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083", referrer: "https://145.xxx.54.66:8083/login/"
2017/07/06 12:11:44 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083"
2017/07/06 12:12:07 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083", referrer: "https://145.xxx.54.66:8083/login/"
2017/07/06 12:12:10 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "GET /reset/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083", referrer: "https://145.xxx.54.66:8083/login/"
2017/07/06 12:12:14 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "POST /reset/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083", referrer: "https://145.xxx.54.66:8083/reset/"
2017/07/06 12:12:14 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "GET /reset/?action=code&user=admin HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083", referrer: "https://145.xxx.54.66:8083/reset/"
2017/07/06 12:12:23 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "GET /reset/?action=confirm&user=admin&code=NhfLASKcu6 HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083"
2017/07/06 12:12:31 [error] 1999#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice:  A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 88.220.125.146, server: _, request: "POST /reset/?action=confirm&user=admin&code=NhfLASKcu6 HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "145.xxx.54.66:8083", referrer: "https://145.xxx.54.66:8083/reset/?action=confirm&user=admin&code=NhfLASKcu6"
2017/07/07 12:14:05 [error] 1999#0: *211 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice:  Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
"/var/log/vesta/nginx-error.log" 399L, 66680C

Please help me :)

Re: Can't login to Vesta admin panel

Posted: Tue Jul 11, 2017 3:53 pm
by matt
I have the same issue. Please help anyone from Vesta

Re: Can't login to Vesta admin panel

Posted: Wed Jul 12, 2017 7:15 pm
by demlasjr
Is this a new install ?

Can you try again and check if there are errors installing ?
What OS are you having ?

Re: Can't login to Vesta admin panel

Posted: Mon Jul 17, 2017 2:26 pm
by skurudo