Email Accounts not showing in cPanel

vB Martin

Member
Apr 8, 2003
8
0
151
First, my server setup.

I have a dual SCSI non-RAID setup wit the secondary drive partitioned strictly as /var so that MySQL and the webserver run on seperate drives, cutting down R/W per drive.

I had some serious I/O errors on the /var drive which started creating serious MySQL problems, so I backed up the drive, had it replaced, copied the info from the previous /var drive over to it and everything seems to be working fine with the exception of email accounts.

Sending toemail accounts that existed prior to the drive switch is not a problem, but when I look at the email account functions in cPanel for any of the sites, none of the existing accounts shows up. Also, the dropmenu for the domain is empty when trying to add a new email account.

Can someone point me in the right direction to resolving this? I'm fairly certain that I just need to resync cPanel with the existing accounts, but using the "Repair Mailbox permissions" in WHM does nothing.

Help?
 

ukpro

Active Member
Aug 25, 2004
28
0
151
Same Problem

We are getting this same problem. We have just migrated all accounts from one server to a load balanced pair. When the accounts were moved they automatically went into /home2 so we moved them then sym linked them and now the mailboxes are not showing in cPanel on 95% of the accounts. When you try add accounts it refuses and says:

Account Created

The e-mail account [email protected] with the login The disk write test failed. You may have exceeded your quota, or the disk is full. and password test1234 with a quota of 10 megs was successfully created.
We have done:

Code:
# /scripts/updateuserdomains 
# /scrips/mailperm
# chown -R user:mail /home/user/mail
# /scripts/upcp --force
Still nothing works. Can anyone help?

Liam
 

ukpro

Active Member
Aug 25, 2004
28
0
151
Resolution

Ok I got it! By manually running:

Code:
# chown -R user:mail /home/user/mail
Everything works fine. But I have over 200 hundred entries per server to go through. Is there any other way as it is obvious that /scripts/mailperm and /scripts/chownpublichtmls is not working on the server. Even after cpup --force.

Thanks