Quota unter Debian und Confixx

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
fettehenne
Posts: 62
Joined: 2003-05-08 15:20
Location: Hannover
 

Quota unter Debian und Confixx

Post by fettehenne »

Ich versuche gerade auf einem Debian System mit Confixx quota zu aktivieren aber stosse nur auf Probleme:

quota ist anscheinend bei mir installiert

Code: Select all

leo:~# apt-get install quota        
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, quota is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.


in der /etc/fstab ist es wohl auch auf / gesetzt und aktiviert:

Code: Select all

leo:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/sda3       /               ext3    errors=remount-ro,usrquota,grpquota     0       1
/dev/sda2       none            swap    sw                      0       0
proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
/dev/sda1       /boot   ext3    defaults                        0       2


Problem:

Code: Select all

leo:~: find / *quota.*
find: *quota.*: No such file or directory

Ich habe keine Datei quota.user bzw. quota.group :(

Na gut, dann dachte ich mit quota deinstallieren und wieder installieren :)
Und das nächste Problem:

Code: Select all

leo:~# apt-get remove quota
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  quota 
0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
Need to get 0B of archives. After unpacking 836kB will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 14881 files and directories currently installed.)
Removing quota ...
grep: /etc/exports: No such file or directory
Stopping quota service: rpc.rquotad.
Turning off quotasquotaoff: quotactl on /dev/sda3 [/]: No such process
quotaoff: quotactl on /dev/sda3 [/]: No such process
dpkg: error processing quota (--remove):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 quota
E: Sub-process /usr/bin/dpkg returned an error code (1)


Wie kann man weiter vorgehen? Kann ich einfach die quota.user von meinem anderen Server kopieren? Ich schätze nicht, und ich weiss nicht mal ob das die selbe Quota-Version ist. Aber was anderes fällt mir jetzt so nicht ein.
Jemand ne Idee?
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Quota unter Debian und Confixx

Post by oxygen »

Hier steht das ganz geschmeidig beschrieben:

http://www.debianhowto.de/howtos/de/quota/c_quota.html
fettehenne
Posts: 62
Joined: 2003-05-08 15:20
Location: Hannover
 

Re: Quota unter Debian und Confixx

Post by fettehenne »

Ok mein erster Fehler war dass ich

Code: Select all

# apt-get install quota
statt

Code: Select all

# apt-get install quota quotatool
gemacht habe. Jetzt aber sollte es ja funzen.

Nö, immer noch keine quota.user zu finden.
Und ein

Code: Select all

 dpkg-reconfigure quota 
hat auch nix gebracht. Hmmmmmmmm

Was kann das noch sein *heul* ?
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Quota unter Debian und Confixx

Post by oxygen »

Eh, eine Datei quota.user musst schon selbst anlegen, wie im Howto beschrieben:
# touch /var/quota.user /tmp/quota.user /home/quota.user /home/quota.group
fettehenne
Posts: 62
Joined: 2003-05-08 15:20
Location: Hannover
 

Re: Quota unter Debian und Confixx

Post by fettehenne »

Ã?hhhhhm,

ich glaub ich sitze schon zu lange vor der Funzel :oops:

Sorry, nun klappt alles :lol: