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 Web Server
  • Search

NO LANGUAGE DEFINED error in VestaCP Login [SOLVED]

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
16 posts
  • 1
  • 2
  • Next
scristi
Posts: 30
Joined: Thu Jun 22, 2017 11:20 pm

NO LANGUAGE DEFINED error in VestaCP Login [SOLVED]
  • Quote

Post by scristi » Sat Nov 10, 2018 2:15 am

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:

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
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
Last edited by scristi on Fri Dec 14, 2018 1:45 am, edited 1 time in total.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by grayfolk » Sat Nov 10, 2018 2:34 pm

Any messages in /usr/local/vesta/php/var/log/php-fpm.log?
I think about some issue with session storage write permissions.
Top

scristi
Posts: 30
Joined: Thu Jun 22, 2017 11:20 pm

Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by scristi » Mon Nov 12, 2018 12:06 am

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
Top

scristi
Posts: 30
Joined: Thu Jun 22, 2017 11:20 pm

Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by scristi » Mon Nov 12, 2018 12:38 am

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
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by grayfolk » Mon Nov 12, 2018 3:47 am

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.$
This is reason.

Make

Code: Select all

chmod 777 /usr/local/vesta/data/sessions
Top

scristi
Posts: 30
Joined: Thu Jun 22, 2017 11:20 pm

Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by scristi » Wed Nov 14, 2018 3:14 pm

Thanks grayfolk, I tried it but the problem persists...
Image

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/"
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
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by grayfolk » Wed Nov 14, 2018 5:19 pm

1. Remove all files from /usr/local/vesta/data/sessions
2. make chmod 777 /usr/local/vesta/data/sessions as root
Top

scristi
Posts: 30
Joined: Thu Jun 22, 2017 11:20 pm

Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by scristi » Wed Nov 14, 2018 6:09 pm

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...
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by grayfolk » Wed Nov 14, 2018 8:36 pm

I can suggest another way: change session.save_path value for Vesta php.
Top

scristi
Posts: 30
Joined: Thu Jun 22, 2017 11:20 pm

Re: NO LANGUAGE DEFINED error in VestaCP Login
  • Quote

Post by scristi » Thu Nov 15, 2018 2:00 pm

Thanks for your time grayfolk, where need I to make the change?
Top


Post Reply
  • Print view

16 posts
  • 1
  • 2
  • Next

Return to “Web Server”



  • 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