"Invalid username or password." Error
"Invalid username or password." Error
When l try to login, return "Invalid username or password." error message. I remove sessions(rm -rf /usr/local/vesta/data/sessions/* && service vesta restart) then Error Message is "NO LANGUAGE DEFINED".
I tried to /usr/local/vesta/data/users/admin/user.conf => DISK_QUOTA='unlimited'
I tried to change admin pw(v-change-user-password)
> OS
Ubuntu 14.04
> VestaCP Vers.
0.9.8-17
> Extra Installations
Manual Php7.1
Error Log
/usr/local/vesta/log/nginx-error.log
/usr/local/vesta/log/error.log (I dont need backup)
I tried to /usr/local/vesta/data/users/admin/user.conf => DISK_QUOTA='unlimited'
I tried to change admin pw(v-change-user-password)
> OS
Ubuntu 14.04
> VestaCP Vers.
0.9.8-17
> Extra Installations
Manual Php7.1
Error Log
/usr/local/vesta/log/nginx-error.log
Code: Select all
2017/02/27 13:14:35 [error] 16633#0: *8 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: 52.48.221.193, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastc$
/usr/local/vesta/log/error.log (I dont need backup)
Code: Select all
2017-02-27 12:25:44 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:30:46 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:35:46 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:40:43 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:45:45 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:49:17 v-update-sys-vesta [Error 1]
2017-02-27 12:50:45 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:55:48 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 12:58:54 v-update-user-quota [Error 1]
2017-02-27 13:00:44 v-list-cron-job [Error 1]
2017-02-27 13:00:45 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 13:00:46 v-list-cron-jobs [Error 1]
2017-02-27 13:05:56 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 13:10:51 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 13:15:46 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 13:16:36 v-add-sys-quota [Error 13]
2017-02-27 13:20:47 v-backup-user 'admin' 'yes' [Error 17]
2017-02-27 13:25:44 v-backup-user 'admin' 'yes' [Error 17]
Re: "Invalid username or password." Error
Can you show us output?
................................................................
We think this file /etc/sudoers.d/admin don't have code:
If you paste this, all will work (as we hope)
Code: Select all
ls -la /etc/sudoers.d/admin
Code: Select all
cat /etc/sudoers.d/admin
We think this file /etc/sudoers.d/admin don't have code:
Code: Select all
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
Re: "Invalid username or password." Error
ls -la /etc/sudoers.d/admin command result
nano /etc/sudoers.d/admin (file content)
l changed it with your code and restart vesta service but problem continues
nano /etc/sudoers.d/admin
Thank you.
Code: Select all
-r--r----- 1 root root 101 Sep 1 2014 /etc/sudoers.d/admin
Code: Select all
# Created by vesta installer
admin ALL=(ALL) ALL
admin ALL=NOPASSWD:/usr/local/vesta/bin/*
nano /etc/sudoers.d/admin
Code: Select all
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
Re: "Invalid username or password." Error
Thank you very much. l try to add your code to /etc/sudoers.d/admin file bottom. And reboot my server. Now its working fine. Thank you again. :)
My /etc/sudoers.d/admin file content so
My /etc/sudoers.d/admin file content so
Code: Select all
# Created by vesta installer
admin ALL=(ALL) ALL
admin ALL=NOPASSWD:/usr/local/vesta/bin/*
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
Re: "Invalid username or password." Error
Nice!
Thank you for report, evrend
Thank you for report, evrend
-
- Posts: 16
- Joined: Wed Jun 24, 2015 8:13 am
Re: "Invalid username or password." Error
I have this same problem, and I've tried the same as @evrend, but it doesn't work for me.
But now, instead of "NO LANGUAGE DEFINED" I get "Invalid username or password."
What to do from here?
But now, instead of "NO LANGUAGE DEFINED" I get "Invalid username or password."
What to do from here?
Re: "Invalid username or password." Error
Show us your /usr/local/vesta/log/nginx-error.logpeterbrinck wrote:I have this same problem, and I've tried the same as @evrend, but it doesn't work for me.
But now, instead of "NO LANGUAGE DEFINED" I get "Invalid username or password."
What to do from here?
Maybe you don't have disk space or quota prob.
-
- Posts: 16
- Joined: Wed Jun 24, 2015 8:13 am
Re: "Invalid username or password." Error
I got it working in the end
I'm not quite sure how and why
I just tried EVERYTHING I could find in all the topics regarding this issue
And just like that, it worked again
The last thing I did was removing everything from the /etc/sudoers.d/admin file, and then added everything back in, and it worked
The problem wasn't disk space, because I still have more than 1.5 TB left, and I haven't deleted any files
I'm not quite sure how and why
I just tried EVERYTHING I could find in all the topics regarding this issue
And just like that, it worked again
The last thing I did was removing everything from the /etc/sudoers.d/admin file, and then added everything back in, and it worked
The problem wasn't disk space, because I still have more than 1.5 TB left, and I haven't deleted any files
Re: "Invalid username or password." 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