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 Debian/Ubuntu
  • Search

Error at Login

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
kopenk
Posts: 2
Joined: Mon Nov 24, 2014 10:33 am

Error at Login
  • Quote

Post by kopenk » Mon Nov 24, 2014 10:46 am

hello, i have a problem when login to Vesta CP
error message said invalid user name password

and nginx-error.log :

2014/11/24 05:25:12 [error] 2231#0: *89 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: xxx.xxx.xx.xxx, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "domain.com:8083"

i look at index.php, and seems that it run cmd v-list-sys-config json, i try to run it at command line and the result is :

"config": {
"WEB_SYSTEM": "apache2",
"WEB_RGROUPS": "www-data",
"WEB_PORT": "8080",
"WEB_SSL": "mod_ssl",
"WEB_SSL_PORT": "8443",
"PROXY_SYSTEM": "nginx",
"PROXY_PORT": "80",
"PROXY_SSL_PORT": "443",
"FTP_SYSTEM": "vsftpd",
"MAIL_SYSTEM": "exim4",
"IMAP_SYSTEM": "dovecot",
"ANTIVIRUS_SYSTEM": "",
"ANTISPAM_SYSTEM": "",
"DB_SYSTEM": "mysql",
"DNS_SYSTEM": "bind9",
"STATS_SYSTEM": "webalizer,awstats",
"BACKUP_SYSTEM": "local",
"CRON_SYSTEM": "cron",
"DISK_QUOTA": "no",
"FIREWALL_SYSTEM": "iptables",
"FIREWALL_EXTENSION": "fail2ban",
"REPOSITORY": "cmmnt",
"VERSION": "0.9.8",
"LANGUAGE": "en"
}


i have no idea what to do now,
please help
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Error at Login
  • Quote

Post by imperio » Mon Nov 24, 2014 1:38 pm

Hello,

Code: Select all

mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
Top

kopenk
Posts: 2
Joined: Mon Nov 24, 2014 10:33 am

Re: Error at Login
  • Quote

Post by kopenk » Mon Nov 24, 2014 3:24 pm

imperio wrote:Hello,

Code: Select all

mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
i have already try that so many time, but no luck
its still cant login
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Error at Login
  • Quote

Post by imperio » Mon Nov 24, 2014 4:34 pm

Do you have free space on disk ?
Show me please result of this command

Code: Select all

df -h
What chmod on tmp folder ? /tmp

Also you can try to reset admin password

Code: Select all

v-change-user-password
Top

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

Re: Error at Login
  • Quote

Post by skurudo » Wed May 27, 2015 2:35 pm

This error can be from broken sudo:
viewtopic.php?f=10&t=8349&p=27113#p27113
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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