• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Wrong disk size on mail

RobOde

New Pleskian
Hello guys

I've just upgraded one of our servers from 9.2.2 to 9.2.3. For a short while it seemed like everything worked out, but now I see that one of our client who use a lot of space suddenly was down to a few MB.

It seems like it is failing to sum up the size of the mailboxes. On "Full report" it shows the individual mailboxes correct, but it says 0 B under "Total size". It should have been around 19 GB.

When I try to run:
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.tld
it runs it but gives me the following errors:
....snip....
Main HTML page is 'awstats.example.tld-ftp.html'.
statistics: Unable to get dir size of /var/qmail/mailnames/example.tld
statistics: Unable to get dir size of /var/qmail/mailnames/example.tld

I did see similar errors in the "Workaround"-post, but I don't get the "System error 2: No such file or directory " error.

The server is running CentOS 4.8 - 32bit.

Anyone got any idea how to solve this (expect ask the client to clean up the amount of mail, something I've tried that several times...).

TIA and sorry for my terrible English
Robert
 
Hello Igor

No, I didn't try any of those since I run 32bit CentOS 4.x. and there is no version for that OS. I could maybe try the 32bit 5.x version.

I also see that the workaround got "System error 2: No such file or directory " in the error message. No such thing when I try to run it on our serve, only "statistics: Unable to get dir size of /var/qmail/mailnames/example.tld".
 
I see. But maybe it will help. Just try it and inform with results. Do not forget to create backup of original file just in case.
 
No success.

The Centos5.x 32bit version gave me:
/usr/local/psa/admin/sbin/statistics: error while loading shared libraries: requires glibc 2.5 or later dynamic linker
and the Centos4.x 64bit gave me:
bash: /usr/local/psa/admin/sbin/statistics: cannot execute binary file

:-/
 
I have requested developer's assistance. They will build this file for CentOS 4_x86. I will update this thread when it will be ready.
 
I have updated workaround with patched file for CentOS 4_x86. Please try it and update this thread with results.
 
I have the same problem under debian lenny (64bit) with Plesk 9.3.0 (all latest patches) and one single domain. The directory user and accessrights are matching the other (working) domains).

Is there a workaround for debian too?
 
I have the exat same problem with Plesk 9.3.0 and Debian 5.0 (lenny) 64bit.

For only one domain i get "statistics: Unable to get dir size of /var/qmail/mailnames/xxxxx" and the users traffic limit is risen per day basis (currently showing 50gb Mailtraffic :D)

Is there a solution / workaround for debian?
 
Redhat 5.4 64biyd - ERROR QUOTA QMAIL

Hi,

I use REDHAT 5.4 - Plesk 9.3 and have the same problem but I noticed that the problem only occurs with domains over 2Gig EMAIL.

statistics: Unable to get dir size of /var/qmail/mailnames/
 
Last edited by a moderator:
I have requested patches from developers. I will update thread as soon as I receive it.
 
Patches for RH and Debian in attach.
 

Attachments

  • statistics.930.rhel5x64.zip
    53.8 KB · Views: 21
  • statistics.930.deb5x64.zip
    48.8 KB · Views: 10
Could you build this file for Debian Lenny 32bit as well?
 
Back
Top