segfaults when executing quota command - SOLVED
craigwhite at azapple.com
Fri Apr 15 02:11:08 EDT 2005
On Fri, 2005-04-15 at 06:55 +0200, Simon Matter wrote:
> > On Thu, 2005-04-14 at 15:26 -0400, Derrick J Brashear wrote:
> >> > Starting program: /usr/lib/cyrus-imapd/quota -f
> >> > [Thread debugging using libthread_db enabled]
> >> > [New Thread -1218568064 (LWP 23872)]
> >> > /var/lib/imap/quota/q/
> >> > /var/lib/imap/quota/?/*
> >> Ok, let's take a wild stab at this. I see glob() is being called from
> >> libc. What glob.h header is being found during compile?
> > # find / -name glob.h -print
> > /usr/include/glob.h
> > /usr/include/cyrus/glob.h
> > /usr/local/include/glob.h
> > /usr/src/redhat/BUILD/cyrus-imapd-2.2.12/lib/glob.h
> > /usr/src/redhat/SOURCES/cyrus-imapd-2.2.12/lib/glob.h
> > /opt/dl/heimdal-0.6.3/include/glob.h
> > /opt/dl/heimdal-0.6.3/lib/roken/glob.h
> > NOTE: I would bet that the /usr/local/include/glob.h is the issue - that
> > would be on both systems exhibiting the problem and are apparently put
> > there by my compiling heimdal from source (did it on both systems)
> > Now, how can I fix this?
> You could use a separate box to build packages where you have a clean
> install of your RedHat/Fedora distribution. If you don't have a box for
> doing it, a chroot environment does it too.
Thanks to both Simon and Derrick - I might have learned a bunch of stuff
in the process.
I did follow Simon's recommendation and downloaded 2.2.12-1 from Simon's
site but on a different RHEL 3 system that I operate. Had to install
cyrus-devel, bison, autoconf and flex...and installed the src rpm.
Did rpmbuild -bb /usr/src/redhat/SPECS/cyrus-imap.spec
then copied the resulting rpms to my system - removed the installed rpms
(2.2.10) and then installed these rpm's
the proof was in the pudding...
# su - cyrus -c '/usr/lib/cyrus-imapd/quota -f'
cyrus at AZAPPLE.COM's Password:
su: krb5_verify_user: Client (cyrus at AZAPPLE.COM) unknown
user.craig: usage was 33925656, now 158213860
Quota % Used Used Root
51200 0 31 user.administrator
512000 30 154505 user.craig
512000 0 0 user.holly
512000 0 0 user.jennifer
51200 0 0 user.test
512000 0 1 user.test2
Something I had never been able to do...
Thanks guys - you were awesome and taught me a bunch on the way.
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus