Note this error below when i tried to run quotacheck -avugm and quotaon -avug. Me, [admin@server1]:~$ apt-get install quota ... .... [admin@server1]:~$ touch /quota.user /quota.group [admin@server1]:~$ chmod 600 /quota.* [admin@server1]:~$ mount -o remount / [admin@server1]:~$ touch /var/quota.user /var/quota.group [admin@server1]:~$ chmod 600 /var/quota.* [admin@server1]:~$ mount -o remount /var [admin@server1]:~$ quotacheck -avugm bash: quotacheck: command not found [admin@server1]:~$ quotaon -avug bash: quotaon: command not found How to resolved this one... Any help would be appreciated. Thank you.
Plaese make sure that you login as root user before you execute the commands including the first "apt-get install quota" command.
I also log-in as a root user but it is the same result. I check whether there is a quotacheck and quotaon installed on my linux but I cannot see it. I check also on my /sbin but there is no quotacheck and quotaon. I also use this; root@server1:~/home/admin# updatedb root@server1:~/home/admin# locate quotacheck root@server1:~/home/admin# locate quotaon root@server1:~/home/admin# echo $PATH but there is no response in locating mg quotacheck and quotaon. By the way, I install my linux ubuntu in a Virtual PC so that it will not affect my windows OS. Also my question is, that it will affect my linux OS package in a Virtual PC or not? When I use apt-get install quota, there is no quota on my package so that i use wget <URL> to install quota and I extracted it. Is there any solution to get this kind of problem. thanks for your help.
This is how it looks like in my /etc/apt/sources.list... deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted #deb http://de.archive.ubuntu.com/ubuntu breezy main restricted #deb-src http://de.archive.ubuntu.com/ubuntu breezy main restricted ## Major bug fix updates produced after the final release of the ## distribution. #deb http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted #deb-src http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. #deb http://de.archive.ubuntu.com/ubuntu breezy universe #deb-src http://de.archive.ubuntu.com/ubuntu breezy universe ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse # deb-src http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse #deb http://security.ubuntu.com/ubuntu breezy-security main restricted #deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted #deb http://security.ubuntu.com/ubuntu breezy-security universe #deb-src http://security.ubuntu.com/ubuntu breezy-security universe I uncomment the deb cdrom because i updated its package in the cd. When i tried to comment the deb cdrom and uncomment thos sites, it will give me an error. Because it could not find the package update. Do you know about that? Thanks in advance.
Please try this instead: Code: deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted deb http://de.archive.ubuntu.com/ubuntu breezy main restricted deb-src http://de.archive.ubuntu.com/ubuntu breezy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted deb-src http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://de.archive.ubuntu.com/ubuntu breezy universe deb-src http://de.archive.ubuntu.com/ubuntu breezy universe ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse # deb-src http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse #deb http://security.ubuntu.com/ubuntu breezy-security main restricted #deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted #deb http://security.ubuntu.com/ubuntu breezy-security universe #deb-src http://security.ubuntu.com/ubuntu breezy-security universe Run Code: apt-get update afterwards. You should now be able to install the quota package.
I've just found out that the breezy repositories don't exist anymore. Breezy is quite old - maybe you should try a newer Ubuntu version.
That is also i want to check about ubuntu 5.10 because the sites where I should get updates are now obsolete. Because of this, I uninstall ubuntu 5.10 and try centOS and it works fine now. Thanks for your help, Falko.