[horde] Horde Webmail Groupware - Quotas

Jason Clifton jason at citydiesel.net
Fri Nov 17 12:47:09 PST 2006


Does your quota path in the server.conf file still read

'quota_path' => 'sudo /usr/bin/quota' because it looks like the sudo  
isnt getting executed and that would cause the command to fail because  
of permissions.

try executing from ssh or similar the command that is showing up from  
your debugging stuff... and see if it returns a quota line.  If it  
doesn't drop off the | grep line and see if it still fails





Quoting johns at bsfc.ac.uk:

> Hi Jan
>
>>> Please keep discussions on the list
>
> Sorry I accidently clicked on reply.
>
>>>
>>> "Unable to retreive quota"
>>>
>>> Then please add some debugging code into
>>> the driver, below the exec() call:
>>>
>>> var_dump($cmdline, $quota_data, $return_code);
>
> "
> string(57) "/usr/bin/quota -u jszquota | /bin/grep /dev/VolGroup00/LogVol01"
> array(0) { } int(1)
> "
>
> if i login as the user i setup as an admin (johns) i get this;
>
> "
> string(60) "/usr/bin/quota -u johns | /bin/grep  
> /dev/VolGroup00/LogVol01" array
> (0) { } int(1)
> "
> Regards
>
> ****************************************************************
> Birkenhead Sixth Form College
>
> This message is sent in confidence for the addressee only;
> If it has come to you in error please notify compserv at bsfc.ac.uk
>
> The contents of this e-mail are the personal views of the sender,
> which may not necessarily reflect those of the college.
>
> This message has been scanned for viruses.
> The college cannot accept any responsibility for any viruses
> which may have come from external sources.
>
> ****************************************************************
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



-- 
Jason Clifton
City Diesel
www.citydiesel.net


More information about the horde mailing list