• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Usage Monitor

F

freddylocks

Guest
Hi Everyone.

I wonder if anyone can assist with a minor problem I am having...

I am running Ubuntu, Plesk 8.2.0

It seems that my server is not showing the "Disk Usage" or "Traffic" for my domains. Both Disk Usage and Traffic show as 0.

Could anyone suggest the things to check and possible resolutions to this problem?

I am also having issues getting either Webalizer or AWstats to work. Does anyone have any advice on how to get this working in Plesk? I have selected on each domain during setup either Webalizer or AWstats. Could anyone advise the setup process for the stats?

Any help very much appreciated.
Thanks
Freddy.
 
I am having exactly the same problem, all domains work OK but no stats or disc usage details at all... Like 'freddylocks' I'm running Ubuntu 6.06 and Plesk 8.2.0


Any help would be appreciated.

-- Kevin --
 
Same problem here: cannot determine the setup command to get Webalizer to run once daily for all sites on my server. I'd *love* to know what it is. In fact, I'd like to know just http referrers, not ftp ones. What's the command for that?
Extreme thanks.
 
Answer

Hi Everyone

Well without any help from this forum, i managed to resolve the problem, as a courtesy I thought it only fair that I let you all know exactly what I did to resolve this problem...

I logged into Plesk, went to Server (on the left hand side of screen) then went to Scheduled Tasks

I added a new scheduled task with the following settings:
Switched On: Tick
Minute: 7
Hour: 2
Day of the Month: *
Month: *
Day of the Week: *
Command: /opt/psa/admin/sbin/statistics

Once this is set up it will generate your stats at 02:07 every night.

Word of note, you will have seen that you can change your stats between either AWStats or Webalizer for each domain, if your stats have run and then you change from either AWstats or Webalizer you will lose your stats for prior to the day you changed the setting... in my case one of my domains was set to Webalizer, the stats had run giving me 8 days of stats, I changed to AWstats (which i beleive is far superior) and then lost all of the data for the previous stats and starting from the point in time that I changed the setting.

If you want to get the stats generated as a one off command, I logged into the ubuntu server using ssh putty, then issued the command "/opt/psa/admin/sbin/statistics".

I hope this helps and makes sense.
Regards
Freddy
 
Makes perfect sense. I'll let you know tomorrow if it worked for me. Thanks for posting your solution.
 
So how do I search for a bug? Apparently nothing was automatically set up and I had to do it myself. I have these 2 crontabs set up for the whole server (so that all sites will get stats): /opt/psa/admin/sbin/statistics and /usr/local/psa/admin/sbin/statistics >/dev/null 2>&1 (commands I found here and elsewhere, hoping either will work), yet I'm still getting this error message:
"This is the placeholder for Web statistics. If you see this page, that means that statistics for your server was not gathered yet, or bandwidth was not used. Statistics is typically set to run once every 24 hours. If you do not see a change to this page in the next 24 hours contact your server administrator for assistance. This page has been automatically generated by Plesk."

Do I need to set the task for each domain individually? Are there other commands I need to set, such as log rotation so as not to exceed file size?
Thank you!
 
If you're on Ubuntu I believe your psa is installed under /opt/psa, so I don't think it's any use to add the job running /usr/local/psa/admin/sbin/statistics as that file probably doesn't even exist on your system.

We run CentOS systems and it seems statistics are run from /etc/cron.daily/50plesk-daily these days, but I'm pretty sure these jobs used to be run from root's crontab directly in the past. I don't know how Plesk sets up its cron jobs on Ubuntu though.
 
Sorry to mislead you. I'm not on Ubuntu; my server is hosted by GoDaddy, but they don't offer a forum like this for Plesk help. Does that change your advice?
 
What Linux distribution? You are posting in the Plesk for Linux forums, so I assume you are running a Linux distribution as your operating system.
 
Yes, I'm on a Linux Server, Red Hat Fedora Core 4, Apache. Is that what you need to know?
 
Fedora Core 4, that's your distribution then. Then your Plesk installation is not in /opt/psa, but in /usr/local/psa.

What version of Plesk are you running? Older versions should list the statistics command in the output of 'crontab -l' (when logged in as root), newer versions (8.1.1, maybe even older versions than that) seem to have /etc/cron.daily/50plesk-daily with these commands as part of the psa package.

(P.S. Both Fedora Core 4 and 5 are not receiving security patches from the Fedora Project anymore.)
 
I had thew same problem, the stats/etc crons didnt get added, so I added them manually.

</sarcastic>I love Ubunto! </sarcastic>
 
Back
Top