NO LANGUAGE DEFINED error in VestaCP Login [SOLVED]
NO LANGUAGE DEFINED error in VestaCP Login [SOLVED]
Hi all,
This afternoon the panel did not let me login, shows the error "NO LANGUAGE DEFINED" and apparently the panel does not recognize my user/password.
I have enough space:
I think the problem started when I tried to modify a hosting package, increasing space. After that change I could not enter the panel again.
Any idea, or how to resolve this issue?
Thanks in advance any help,
Sebastian
This afternoon the panel did not let me login, shows the error "NO LANGUAGE DEFINED" and apparently the panel does not recognize my user/password.
I have enough space:
Code: Select all
[root@server /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-root 450G 11G 417G 3% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 485M 80M 380M 18% /boot
/dev/mapper/vg-tmp 976M 1.3M 924M 1% /tmp
Code: Select all
/dev/mapper/vg-root 29917184 128236 29788948 1% /
tmpfs 998302 1 998301 1% /dev/shm
/dev/sda1 128016 46 127970 1% /boot
/dev/mapper/vg-tmp 65536 23 65513 1% /tmp
Any idea, or how to resolve this issue?
Thanks in advance any help,
Sebastian
Last edited by scristi on Fri Dec 14, 2018 1:45 am, edited 1 time in total.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
Any messages in /usr/local/vesta/php/var/log/php-fpm.log?
I think about some issue with session storage write permissions.
I think about some issue with session storage write permissions.
Re: NO LANGUAGE DEFINED error in VestaCP Login
nothing strange:
Code: Select all
[09-Nov-2018 18:12:53] NOTICE: Terminating ...
[09-Nov-2018 18:12:54] NOTICE: exiting, bye-bye!
[09-Nov-2018 18:15:29] NOTICE: fpm is running, pid 2533
[09-Nov-2018 18:15:29] NOTICE: ready to handle connections
[09-Nov-2018 22:35:17] NOTICE: Terminating ...
[09-Nov-2018 22:35:17] NOTICE: exiting, bye-bye!
[09-Nov-2018 22:37:40] NOTICE: fpm is running, pid 2536
[09-Nov-2018 22:37:40] NOTICE: ready to handle connections
[09-Nov-2018 22:44:25] NOTICE: Finishing ...
[09-Nov-2018 22:44:25] NOTICE: exiting, bye-bye!
[09-Nov-2018 22:44:25] NOTICE: fpm is running, pid 3640
[09-Nov-2018 22:44:25] NOTICE: ready to handle connections
Re: NO LANGUAGE DEFINED error in VestaCP Login
At /var/log/vesta/nginx-error.log I have the next errors since the moment the CP fails:
Code: Select all
2018/11/09 22:28:32 [error] 2529#0: *71 FastCGI sent in stderr: "PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/inc/i18n.php on line 95
PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/inc/i18n.php on line 102
PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/inc/i18n.php on line 102
PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/inc/i18n.php on line 102" while reading response header from upstream, client: 191.126.99.191, server: _, request: "GET /js/i18n.js.php?149169786$
2018/11/09 22:28:32 [error] 2529#0: *71 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 (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading upstream, client: 191.$
2018/11/09 22:28:38 [error] 2529#0: *71 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 (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading upstream, client: 191.$
2018/11/09 22:28:46 [error] 2529#0: *82 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/inc/i18n.php on line 50" while reading response header from upstream, client: 191.126.99.191, s$
2
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
Code: Select all
PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading upstream, client: 191.$
Make
Code: Select all
chmod 777 /usr/local/vesta/data/sessions
Re: NO LANGUAGE DEFINED error in VestaCP Login
Thanks grayfolk, I tried it but the problem persists...
At this time the log shows:
What should the user and group be for the files within the sessions directory? Please note that my user to access VestaCP is root, not admin.
Thanks for your help
At this time the log shows:
Code: Select all
2018/11/14 12:55:36 [error] 4412#0: *35 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown:
open(/usr/local/vesta/data/sessions/sess_fa6iknn9gte0q2pa0bslhhcs75, O_RDWR) failed: Permission denied (13) 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 (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading upstream, client: 191.126.**.***, server: _, request: "POST /login/ HTTP/1.1", upstream:
"fastcgi://unix:/var/run/vesta-php.sock:", host: "www.******.**:8083", referrer: "https://www.*******.**:8083/login/"
Thanks for your help
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
1. Remove all files from /usr/local/vesta/data/sessions
2. make chmod 777 /usr/local/vesta/data/sessions as root
2. make chmod 777 /usr/local/vesta/data/sessions as root
Re: NO LANGUAGE DEFINED error in VestaCP Login
It's strange. I did what you told me, everything is the same. What would you suggest? The truth is I don't understand how a package change could end in this problem. If I did not have some clients on that server, I would choose to reinstall. But this is not an option at this time for me.
Definitely this problem seems to be related to permisions, but I don't know where to dig...
Definitely this problem seems to be related to permisions, but I don't know where to dig...
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
I can suggest another way: change session.save_path value for Vesta php.
Re: NO LANGUAGE DEFINED error in VestaCP Login
Thanks for your time grayfolk, where need I to make the change?