LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2012, 04:04 AM   #1
Timothy.u
Member
 
Registered: Aug 2011
Location: Lithuania
Distribution: Slackware, Debian, Archlinux
Posts: 44

Rep: Reputation: Disabled
setquota stopped working


Hello,

I was creating smbldap users with php script (I've done that last year successfully) something like this:

smbldap-useradd2 -a -m -A 1 -B 1 -N $name -S $surname -c "$name $surname" $login
smbldap-passwd2 -p $password $login
setquota -u $login 580000 640000 0 0 /


at some point it started to give me error like this:

setquota: Cannot set quota for user 5819 from kernel on /dev/simfs: No such process
setquota: Cannot write quota for 5819 on /dev/simfs: No such process


First I thought it's script error, but after that I created user manually, and I've got the same error when tried to set quota for it. It looks like I'm out of free space but df -h shows:

Filesystem Size Used Avail Use% Mounted on
/dev/simfs 500G 148G 353G 30% /


Does anyone know what could have caused such an error and how can I get rid of it?

I'm using slackware 13.1
 
Old 09-07-2012, 03:37 AM   #2
Timothy.u
Member
 
Registered: Aug 2011
Location: Lithuania
Distribution: Slackware, Debian, Archlinux
Posts: 44

Original Poster
Rep: Reputation: Disabled
As always no replies, I figured out the problem myself.

I probably forgot to mention, that it is a vz container, so basically what had to be done:

vzquota off $cont_id


edit file /etc/vz/conf/$cont_id.conf

and changed line from :
QUOTAUGIDLIMIT="4000"
to:
QUOTAUGIDLIMIT="9000"

save file, than run

vzquota on $cont_id

It will take a while for it to recalculate user quotas, after start, I recommend to delete previously created users with errors, and recreate new ones.

That's it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu 11.04 mic stopped working in HP G-32, but was working before.how to fix it? Highjo Ubuntu 4 08-08-2011 06:59 AM
Three Mobile Broadband was configured and working but it has now stopped working and Tinabarma Linux - Newbie 0 10-20-2008 08:36 AM
X stopped working ... Rackerz Ubuntu 1 12-11-2005 09:09 PM
It stopped working. UmneyDurak Fedora 8 08-15-2004 03:41 PM
My X just stopped working??? freeindy Linux - Newbie 4 11-30-2002 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration