The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixquota: runs endless, does nothing

Discussion in 'General Discussion' started by kosmo, Sep 11, 2003.

  1. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    All over Europe
    Any idea why this?

    root@rs [/scripts]# /scripts/fixquotas
    Quotas are now on
    touch: creating `/home2/quota.user': No such file or directory
    Using new and old quota support
    -

    1) I have no /home2
    Why does fixquota try to access this file?
    2) This is all I get. The fixquota cursor spins and spins and spins and never stops .

    Of course my quotas are messed up.

    kosmo

    cPanel.net Support Ticket Number:
     
  2. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
  3. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    All over Europe
    Thank you jackal,

    I had anyway made a search for fixquota and followed several advices but no results. I have run quotacheck, resetquotas, initquotas, fixquotas.

    Fixquotas once stopped running (after about 30 minutes) with no other output than the above.

    Now I see that I have bigger problems. I tried the fixquotas because one email account of one particular domain can send but not receive (neither POP nor Webmail). Both time out.

    After doing several things, I called Neomail and neomail lead me to the Prefs and the Name field was prefilled with say "jackal" which is another user on my system. I wasn't surprised because ALL paths in the httpd.conf had once a leading /jackal, like for example:
    Alias /jackal/bandwidth/ /jackal/usr/local/bandmin/htdocs/

    This leading /jackal was in EVERY path, even the ones indicating the home of the virtual accounts. I removed it and things worked fine after that.

    Now I did a grep on "jackal" in the files of the account in question (lets say "catcher") with following results:

    Similar for all virtual email accounts of the domain. Overall a big brother called jackal.

    Then I changed to /etc and did also a grep on "jackal". Hundreds (thousands?) of resulting lines, among them:

    httpd/conf/httpd.conf,v: TypesConfig /jackal/usr/local/apache/conf/mime.types

    (and hundreds more in httpd/conf/httpd.conf,v)

    httpd/etc/httpd.conf,v:php_admin_value open_basedir "/jackal/home/someotheruser:/usr/lib/php:/usr/local/lib/php:/tmp"

    (and hundreds more in httpd/etc/httpd.conf,v)

    All lines in /etc/passwd:
    passwd:mailnull:[xxx]:/jackal:/var/spool/mqueue:/dev/null
    passwd:rpm:[xxx]:/jackal:/var/lib/rpm:/bin/bash
    passwd:squid:[xxx]:/jackal:/var/spool/squid:/dev/null
    passwd:pcap:[xxx]:/jackal:/var/arpwatch:/sbin/nologin
    passwd:admin:[xxx]:/jackal:/home/admin:/bin/bash
    passwd:cpanel:[xxx]:/jackal:/usr/local/cpanel:/bin/bash
    passwd:mailman:[xxx]:/jackal:/usr/local/cpanel/3rdparty/mailman:/bin/bash

    etc...

    The same in:
    /etc/passwd.fixhome
    /etc/passwd.OLD
    /etc/passwd.precpanel
    /etc/passwd.tmpeditlib
    /etc/passwd,v
    /etc/proftpd/ALL_USER
    /etc/vmail/passwd.SOME_OF_MY_DOMAINS
    /etc/vmail/shadow.SOME_OF_MY_DOMAINS

    Now, I have hundreds of (say) /jackal distributed all over my setup files and one specific emaila account can not receive. And fixquota works endless. Shall I kill myself or after the 5 o'clock tea?

    kosmo

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page