View Single Post
  #5  
Old 5th August 2005, 01:38
latcarf latcarf is offline
Senior Member
 
Join Date: Jul 2005
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You need to edit /etc/fstab and add
Code:
,usrquota,grpquota
to one of your partitions, like here:
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults,usrquota,grpquota        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
LABEL=SWAP-sda3         swap                    swap    defaults        0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
Then you need to run these commands:
Code:
touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
(You have to adjust these commands to reflect the partition with quota; e.g. if your quota partition is /home, then the commands to execute would be
Code:
touch /home/aquota.user /home/aquota.group
chmod 600 /home/aquota.*
mount -o remount /home
quotacheck -avugm
quotaon -avug
)

I edited as above to the root partion then ran the commands, here is the output
Code:
[root@server1 ~]# quotacheck -avugm
quotacheck: WARNING -  Quotafile //aquota.user was probably truncated. Can't sav e quota settings...
quotacheck: WARNING -  Quotafile //aquota.group was probably truncated. Can't sa ve quota settings...
quotacheck: Scanning /dev/mapper/VolGroup00-LogVol00 [/] done
quotacheck: Checked 25136 directories and 313163 files
Can you post the output of netstat -tap here?

here
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      2202/xinetd
tcp        0      0 *:32769                     *:*                         LISTEN      1799/rpc.statd
tcp        0      0 *:pop3s                     *:*                         LISTEN      2202/xinetd
tcp        0      0 *:mysql                     *:*                         LISTEN      2293/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      2202/xinetd
tcp        0      0 *:imap                      *:*                         LISTEN      2202/xinetd
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1781/portmap
tcp        0      0 192.168.2.2:domain          *:*                         LISTEN      1749/named
tcp        0      0 192.168.2.3:domain          *:*                         LISTEN      1749/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      1749/named
tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      2139/cupsd
tcp        0      0 localhost.localdomain:5335  *:*                         LISTEN      2095/mDNSResponder
tcp        0      0 *:smtp                      *:*                         LISTEN      2364/master
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      1749/named
tcp        0      0 *:http                      *:*                         LISTEN      2383/httpd
tcp        0      0 *:ssh                       *:*                         LISTEN      2193/sshd
tcp        0      0 *:https                     *:*                         LISTEN      2383/httpd
Did
Code:
/usr/bin/make install -- OK
appear at the end of the installation? Did you choose no when asked for tests during the installation?
Yes

Thanks for the help! I have O'Riellys DNS and Bind v4 coming, hopefully it will help me understand everything we just talked about and did!
Reply With Quote