1849240 Members
2540 Online
104042 Solutions
New Discussion

No quota report at login

 
Starrynight
Advisor

No quota report at login

Hi everybody

Ussually users got quota report at login time and sundently that report doesn't appear anymore. quota -v don??t work as well (only headings are displayed).
Only root can see the result of quota -v.
I think permissions are OK with all quota comands.
Can someone tell me whtat's going on here?

thanks in advance
System administrator
14 REPLIES 14
U.SivaKumar_2
Honored Contributor

Re: No quota report at login

Hi,

Do this as root

#chmod u+s /bin/quota

and try again.

regards,

U.SivaKumar
Innovations are made when conventions are broken
Robert-Jan Goossens
Honored Contributor

Re: No quota report at login

check that /usr/bin/quota is 755 if not
# chmod 755 /usr/bin/quota

check with quota -v if the problem is solved.

Robert-Jan.




Zeev Schultz
Honored Contributor

Re: No quota report at login

I don't think that suid on /bin/quota is a proper way (its 555 anyway - executable to everybody).I'd check with edquota (run by root with username as argument) if there are quotas
at all for the user.
So computers don't think yet. At least not chess computers. - Seymour Cray
Kevin O'Donovan
Regular Advisor

Re: No quota report at login

Hi,

just another thing to check, quota is called in .profile or .login or one of those files, isn't it? Might check that its still there?

Prob not much help but if it was taken out it wouldn't give you that report anymore.

Kevin.
Starrynight
Advisor

Re: No quota report at login

Hi again

I appreciate all the replies but ufortunately nobody helped me.
There is nothing wrong with permissions (at least in /bin/quota and /usr/bin/quota). I got other systems with the same OS version and the permissions are the same, and it works.
The users have quotas and I can check them with no problem with quota -v if I am root. Only they can not do it.

Any more help will be usefull

Regards,
SN
System administrator
Robert-Jan Goossens
Honored Contributor

Re: No quota report at login

What kind of error message do you get when execute quota -v as a normal user ?
Kevin O'Donovan
Regular Advisor

Re: No quota report at login

Hey,

what error message to you get when you try to run quota -v as one of those users? If you can copy & paste the output here.

cheers,
Kevin.
Kevin O'Donovan
Regular Advisor

Re: No quota report at login

Hey,

what error message do you get when you try to run quota -v as one of those users? If you can copy & paste the output here.

cheers,
Kevin.
Zeev Schultz
Honored Contributor

Re: No quota report at login

Try to run /usr/sbin/quotacheck -v /FS_name
So computers don't think yet. At least not chess computers. - Seymour Cray
Alex Glennie
Honored Contributor

Re: No quota report at login

2 questions ... what's the O/S here,are the users $HOMES nfs mounted at all ?

if you run say tusc quota -v what do you see ... I'm wondering if it might be permissions on the volume group itself ?
Starrynight
Advisor

Re: No quota report at login

Hello again

Replying to your questions:
- There is no error message associated, when I run the comand as root the user's quota in each FS is displayed. When I run it as other user only the header is displayed (as followed):
Filesystem usage quota limit timeleft..

- Quotacheck - didn't work

- Yes, the FS are mounted

Still needing help...

SN
System administrator
Kevin O'Donovan
Regular Advisor

Re: No quota report at login

Hi again,

ok, so just to clarify the last one, they're not mounted from another server using NFS?

Have you tried, as root, checking the quota of any of the other users?

quota -u user1

for example?

Quotacheck not working isn't good, any error output from that?

Kinda running out of ideas, are the quotas in effect, i.e. was quotaon (or quotaoff) run to enable (or disable) the quotas? Is the quota keyword in the /etc/fstab for the filesystem?

Have you looked at /var/adm/syslog/syslog.log to see if theres anything in there about quotas?

Think I'm out of ideas at that stage, unless any of the above gets us any more information.

Kevin.
Zeev Schultz
Honored Contributor

Re: No quota report at login

Ok,as to quotacheck - it expects to find (under the root directory of filesystem) a file called quotas and afterthat compare
it to filesystem quotas got from the real
filesystem statistics.

If there is no quotas file then quotacheck fails.
It also checked on boot time (see /etc/rc.log):

Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
checking quotas

Could be that the filesystem was recently restored without //quotas file?

So computers don't think yet. At least not chess computers. - Seymour Cray
Starrynight
Advisor

Re: No quota report at login

Hello!
I have this problem again! Don't know if I got the solution the previous time....
Can anyone help?

Thanks
SN
System administrator