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

NO LANGUAGE DEFINED Topic is solved

General questions about VestaCP
Locked
  • Print view
Advanced search
8 posts • Page 1 of 1
denner
Posts: 2
Joined: Fri Oct 02, 2015 1:54 am

NO LANGUAGE DEFINED

Post by denner » Fri Oct 02, 2015 2:01 am

Hi!
From yesterday to today to access my vestacp comes with the error "NO LANGUAGE DEFINED" when trying to log in, where is that?

Image
Top

SCelik

Re: NO LANGUAGE DEFINED

Post by SCelik » Fri Oct 02, 2015 11:06 am

You are out of disk space. Increase admin users quota or check server wide disk usage. (With SSH)
Last edited by SCelik on Fri Oct 02, 2015 8:10 pm, edited 1 time in total.
Top

denner
Posts: 2
Joined: Fri Oct 02, 2015 1:54 am

Re: NO LANGUAGE DEFINED

Post by denner » Fri Oct 02, 2015 5:50 pm

how do I do that?
My VPS has 20 GB of disk space and only have a website hosted on it that does not weigh or 300mb
Top

SCelik

Re: NO LANGUAGE DEFINED

Post by SCelik » Fri Oct 02, 2015 7:51 pm

Connect your server with SSH.

Edit v-update-user-quota file under bin directory of vesta.

On CentOS it is here: /usr/local/vesta/bin/v-update-user-quota

Change:

Code: Select all

# Updating disk quota
quota=$(get_user_value '$DISK_QUOTA')
soft=$((quota * 1000))
hard=$((quota + 50000))
To:

Code: Select all

# Updating disk quota
quota=$(get_user_value '$DISK_QUOTA')
soft=$((quota * 1000))
hard=$((soft + 50000))
save and exit. Then on command line run:

Code: Select all

/usr/local/vesta/bin/v-update-user-quota admin
This will correct user quota for admin.

There is a bug with calculating user quotas so, it calculated wrong and, you run out of disk space for that user.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: NO LANGUAGE DEFINED

Post by baijianpeng » Fri Dec 25, 2015 11:59 am

Today I got the same issue. When I check this file: /usr/local/vesta/bin/v-update-user-quota, the first 2 lines are:

Code: Select all

soft=$(echo "$quota * 1024 * 0.90"|bc |cut -f 1 -d .)
hard=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
It seems not the same as above mentioned.

Do I still need to edit this file?

PS: When I check disk space with df -h command I got:

Code: Select all

[root@mail bin]# df -h
Filesystem      Size  	Used 		Avail 		Use% 	Mounted on
/dev/vda1        20G   	13G  		6.0G  		68% 	/
devtmpfs        911M     	0  		911M   	0% 	/dev
tmpfs           920M     	0  		920M   	0% 	/dev/shm
tmpfs           920M   	48M  		873M   	6% 	/run
tmpfs           920M     	0  		920M   	0% 	/sys/fs/cgroup
tmpfs           184M     	0  		184M   	0% 	/run/user/0
[root@mail bin]# 
Which number or string can prove that my disk quota is out?

PS: at present, only one website on this VPS. It is running fine without error.
Top

baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

Re: NO LANGUAGE DEFINED

Post by baijianpeng » Sat Dec 26, 2015 12:44 am

Today this issue get worse: When I tried to open the login page of VestaCP, it can not be open! My browser returns:
Error 118 (net::ERR_CONNECTION_TIMED_OUT)
What is wrong? Was my VestaCP hacked ?
Top

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

Re: NO LANGUAGE DEFINED

Post by skurudo » Mon Dec 28, 2015 7:19 am

baijianpeng wrote:Today this issue get worse: When I tried to open the login page of VestaCP, it can not be open! My browser returns:
Error 118 (net::ERR_CONNECTION_TIMED_OUT)
What is wrong? Was my VestaCP hacked ?
Show please:

Code: Select all

ps aux | grep vesta
And try this:

Code: Select all

service vesta restart
Top

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

Re: NO LANGUAGE DEFINED

Post by skurudo » Mon Jun 20, 2016 7:34 pm

Popular reason - you don't have free disk space or inode. Check with commands:

Code: Select all

df -h
df -i
But error can be with disk quota.. to fix this there is option:

Code: Select all

nano /usr/local/vesta/data/users/admin/user.conf

Code: Select all

DISK_QUOTA='unlimited'

Code: Select all

v-update-user-quota admin
For votes and ideas:
https://bugs.vestacp.com/issues/261
Top


Locked
  • Print view

8 posts • Page 1 of 1

Return to “General Discussion”



  • 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