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.

Add Mail Account Errors

Discussion in 'E-mail Discussions' started by PyRoAcIdK, Jun 1, 2005.

  1. PyRoAcIdK

    PyRoAcIdK Active Member

    Joined:
    Jan 15, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    I Get this error

    Mail Account Maintenance



    Account Created

    The e-mail account pyro@site.us with the login The disk write test failed. You may have exceeded your quota, or the disk is full. and password mypasshere with a quota of 50 megs was successfully created.

    The Harddrive is only 37% full, and the account is Unlimited.

    Any ideas guys?

    Thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    A few ideas:

    1. run /scripts/fixquotas to regenerate the disk quotas incase they're damaged

    2. Check that the disk still has sufficient free inodes using:

    df -ih
     
  3. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Im getting this error as well I had already ran a quota fix, rebooted server, checked on neccessary disk space, everything seems peachy

    /dev/hda5 514k 25k 489k 5% /
    /dev/hdd2 8.3M 1.3k 8.3M 1% /backup
    /dev/hdd1 1.2M 44 1.2M 1% /tmp
    /dev/hda1 25k 49 25k 1% /boot
    /dev/hda9 11M 307k 10M 3% /home
    none 63k 1 62k 1% /dev/shm
    /dev/hda7 1.2M 91k 1.1M 8% /usr
    /dev/hda6 1.2M 80k 1.1M 7% /var


    What next
     
  4. PyRoAcIdK

    PyRoAcIdK Active Member

    Joined:
    Jan 15, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    mail

    Same,
    here is the output from df -ih:

    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/hda2 1003K 27K 976K 3% /
    /dev/hda1 20K 47 20K 1% /boot
    /dev/hda8 5.9M 156K 5.8M 3% /home
    none 63K 1 63K 1% /dev/shm
    /dev/hda7 129K 45 129K 1% /tmp
    /dev/hda6 1.2M 89K 1.1M 8% /usr
    /dev/hda5 1003K 5.9K 997K 1% /var
    /tmp 129K 45 129K 1% /var/tmp


    BTW, im running:
    WHM 10.1.0 cPanel 10.2.0-C88
    CentOS 3.4 i686 - WHM X v3.1.0

    Thanks
     
  5. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    I contacted Cpanel support, awaiting a reply from them, Ive tried different things but no go.
     
  6. PyRoAcIdK

    PyRoAcIdK Active Member

    Joined:
    Jan 15, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    Please reply with what they recommend :D

    Thanks
     
  7. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hi,


    May be problem with conflicting uid of another user. please verify it in the /etc/passwd file.
    Is there any repeating entry in the /etc/passwd file correct it.
    Another reason is conflicting with another existing user
    Run this command
    find /home -user username
    If you get more than one main folder in the home directory. check the disk quota and permission of the individual folder and correct the ownership of the particular folder.
    Then check the disk quota of individual folders using this command
    du -csh
    May be it will help to solve your problem.

    And also change the quota value from unlimited to a number.

    Let me know the status.
     
  8. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Hi bijo

    These I already tried and nothing came back just as an FYI other guy might be different. Cpanel said their still looking at it, but their taking a while bout the time they get to it ill reload it :eek:
     
  9. webfreaks01

    webfreaks01 Registered

    Joined:
    Jan 5, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Same here...

    Having the same problems here with one particular user. Not really sure what else to do. Everything looks fine according to the instructions in this thread.

    anyone still having problems?
     
  10. PyRoAcIdK

    PyRoAcIdK Active Member

    Joined:
    Jan 15, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    Hey guys,
    ive done all the above, and there is nothing wrong with anything. But the error still remains....

    Also im now getting a HTTP 500 Internal Server error everytime i try to access /whm and /cpanel..

    Any ideas

    Thanks
     
  11. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Try: find / -user username
     
  12. PyRoAcIdK

    PyRoAcIdK Active Member

    Joined:
    Jan 15, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    root# find / -user pyrohost
    /var/spool/mail/pyrohost
    /usr/local/frontpage/www.pyrohost.us:80.cnf
    /home/backup2/cpbackup/weekly/temp2/va/temp2.com
    /home/backup2/cpbackup/weekly/temp2/vad/temp2.com
    /home/backup2/cpbackup/weekly/temp2/fp/www.temp2.com:80.cnf
    /home/backup2/cpbackup/weekly/temp2/vf/temp2.com
    /home/pyrohost/etc
    /home/pyrohost/etc/pyrohost.us
    /home/pyrohost/etc/pyrohost.us/passwd
    /home/pyrohost/etc/pyrohost.us/shadow
    /home/pyrohost/mail
    /home/pyrohost/mail/inbox
    /home/pyrohost/mail/pyrohost.us
    /home/pyrohost/mail/pyrohost.us/enflam3d
    /home/pyrohost/mail/pyrohost.us/enflam3d/inbox
    /home/pyrohost/public_html
    /home/pyrohost/public_html/_vti_pvt
    /home/pyrohost/public_html/setup.exe
    /home/pyrohost/public_html/LC.zip
    /home/pyrohost/tmp
    /home/pyrohost/tmp/analog
    /home/pyrohost/tmp/analog/4.html
    /home/pyrohost/tmp/analog/cache
    /home/pyrohost/tmp/analog/org.png
    /home/pyrohost/tmp/analog/browrep.png
    /home/pyrohost/tmp/analog/browsum.png
    /home/pyrohost/tmp/analog/os.png
    /home/pyrohost/tmp/analog/code.png
    /home/pyrohost/tmp/analog/type.png
    /home/pyrohost/tmp/analog/dir.png
    /home/pyrohost/tmp/analog/refsite.png
    /home/pyrohost/tmp/analog/size.png
    /home/pyrohost/tmp/analog/req.png
    /home/pyrohost/tmp/analog/redirref.png
    /home/pyrohost/tmp/analog/failref.png
    /home/pyrohost/tmp/analog/5.html
    /home/pyrohost/tmp/analog/searchw.png
    /home/pyrohost/tmp/analog/6.html
    /home/pyrohost/tmp/webalizer
    /home/pyrohost/tmp/webalizer/dns_cache.db
    /home/pyrohost/tmp/webalizer/webalizer.current
    /home/pyrohost/tmp/webalizer/daily_usage_200504.png
    /home/pyrohost/tmp/webalizer/hourly_usage_200504.png
    /home/pyrohost/tmp/webalizer/usage_200504.html
    /home/pyrohost/tmp/webalizer/ctry_usage_200504.png
    /home/pyrohost/tmp/webalizer/usage.png
    /home/pyrohost/tmp/webalizer/index.html
    /home/pyrohost/tmp/webalizer/webalizer.hist
    /home/pyrohost/tmp/webalizer/daily_usage_200505.png
    /home/pyrohost/tmp/webalizer/hourly_usage_200505.png
    /home/pyrohost/tmp/webalizer/usage_200505.html
    /home/pyrohost/tmp/webalizer/ctry_usage_200505.png
    /home/pyrohost/tmp/webalizer/daily_usage_200506.png
    /home/pyrohost/tmp/webalizer/hourly_usage_200506.png
    /home/pyrohost/tmp/webalizer/usage_200506.html
    /home/pyrohost/tmp/webalizer/ctry_usage_200506.png
    /home/pyrohost/tmp/awstats
    /home/pyrohost/tmp/awstats/awstats.pyrohost.us.conf
    /home/pyrohost/tmp/awstats/dnscachelastupdate.pyrohost.us.txt
    /home/pyrohost/tmp/awstats/awstats052005.pyrohost.us.txt
    /home/pyrohost/tmp/awstats/awstats062005.pyrohost.us.txt
    /home/pyrohost/tmp/webalizerftp
    /home/pyrohost/tmp/webalizerftp/dns_cache.db
    /home/pyrohost/tmp/webalizerftp/webalizer.current
    /home/pyrohost/tmp/webalizerftp/daily_usage_200504.png
    /home/pyrohost/tmp/webalizerftp/hourly_usage_200504.png
    /home/pyrohost/tmp/webalizerftp/usage_200504.html
    /home/pyrohost/tmp/webalizerftp/ctry_usage_200504.png
    /home/pyrohost/tmp/webalizerftp/usage.png
    /home/pyrohost/tmp/webalizerftp/index.html
    /home/pyrohost/tmp/webalizerftp/webalizer.hist
    /home/pyrohost/tmp/webalizerftp/daily_usage_200505.png
    /home/pyrohost/tmp/webalizerftp/hourly_usage_200505.png
    /home/pyrohost/tmp/webalizerftp/usage_200505.html
    /home/pyrohost/tmp/webalizerftp/ctry_usage_200505.png
    /home/pyrohost/tmp/webalizerftp/daily_usage_200506.png
    /home/pyrohost/tmp/webalizerftp/hourly_usage_200506.png
    /home/pyrohost/tmp/webalizerftp/usage_200506.html
    /home/pyrohost/tmp/webalizerftp/ctry_usage_200506.png
    /home/pyrohost/tmp/lastrun
    /home/pyrohost/tmp/lastrun.bw
    /etc/vdomainaliases/pyrohost.us
    /etc/valiases/pyrohost.us
    /etc/vfilters/pyrohost.us
    find: /proc/10621/fd/4: No such file or directory
    find: /proc/10631/fd: No such file or directory
     
  13. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Just to add to this, Cpanels Dev team never did find out what was wrong, possible that the drive was bad so we replaced the drive and reloaded from Redhat 7.3 to CentOS 3.4

    Didnt change anything. Only thing I didnt try was terminating the account and re-creating it the customer wouldnt allow it so we just moved him to another server, problem didnt exist on server he was moved to.

    So I dunno what the problem was. If you dont have that option, back up their files manually and try just deleting the account and recreating it :eek:
     
  14. PyRoAcIdK

    PyRoAcIdK Active Member

    Joined:
    Jan 15, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    Ok found my problem,

    When i restored the backup, the permissions must of stuffed up, because the permissions on the account were root:root, so guys try this

    Login to SSH
    su as root (or login as root, depending on if you disabled root ssh access)
    Code:
    cd /
    ls -l
    
    This is what it used to look like:

    drwxr-xr-x 9 root root 4096 Jun 1 16:30 pyrohost/

    Then:
    Code:
     
    chown pyrohost:pyrohost pyrohost 
    then it should look like this:

    drwx--x--x 9 pyrohost pyrohost 4096 Jun 20 17:42 pyrohost/

    This fixed this problem for me, but im not sure about you guys.
     
  15. fusioncroc

    fusioncroc Well-Known Member

    Joined:
    Sep 28, 2004
    Messages:
    261
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    U.K.
    I had the exact problem , Chowning there home folder to there user fixed it.

    (Was root.root)
     
  16. cPanelKyle

    cPanelKyle Technicial Analyst III/Migrations Specialist
    Staff Member

    Joined:
    Feb 10, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Twitter:
    One other suggestion, do a lsattr /home and see if any of the directories have a "a" flag (append-only attribute). If so, remove it by executing chattr -a directory and then try to add an E-Mail account.
     
  17. ebradsha

    ebradsha Member

    Joined:
    Sep 12, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    In case anyone is having the same problem as this, I was able to fix it by running this command:

    chattr -suSiadAcj /home/youruserdir

    My folder seemed to have a lot of strange settings on it that none of the other folders in /home had.
     
Loading...

Share This Page