Any ideas?Feb 29 04:03:11 server1 statistics: Unable to execute /usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -confiigdir=/usr/local/psa/etc/awstats -config=domain.com-http -dir=/var/www/vhosts/domain.com/statistics/webstat/current
AWstats broken
AWstats broken
I updated to the latest ART release of awstats and no stat pages were updated last night. Logs are full of this
So I've got two things now...
First, the path being called seems to be wrong. It's calling
And the actual path is
And the path to AWStats is wrong
Actual
I've added symbolic links to fix that up.
The second problem is that I fixed the paths and ran it manually and I still don't get the missing data from yesterday. Is this due to the fact that the previous day's logs are zipped? Is it due to the conf files still being 6.6?
Also, all the images for awstats graphs now seem to be missing.
First, the path being called seems to be wrong. It's calling
Code: Select all
/usr/share/awstats/awstats_buildstaticpages.pl
Code: Select all
/usr/bin/awstats_buildstaticpages.pl
Code: Select all
/var/www/cgi-bin/awstats/awstats.pl
Code: Select all
/var/www/awstats/awstats.pl
The second problem is that I fixed the paths and ran it manually and I still don't get the missing data from yesterday. Is this due to the fact that the previous day's logs are zipped? Is it due to the conf files still being 6.6?
Also, all the images for awstats graphs now seem to be missing.
I've figured out that if I add -update to my command line run that seems to do it. I get fresh stats that way (although I can't seem to rebuild the missing last 2 days).
I've tried downgrading but no good. Without -upgrade in the command, it won't do anything now. How do I get this fixed? I can't manually run this for 150 domains and no stats were generated last night. I've been searching for a while now and I can't tell what cron job runs this so I can modify it to use -update.
I've tried downgrading but no good. Without -upgrade in the command, it won't do anything now. How do I get this fixed? I can't manually run this for 150 domains and no stats were generated last night. I've been searching for a while now and I can't tell what cron job runs this so I can modify it to use -update.
Well I don't know what to think now. I ran the stat update script Plesk has and it seems to have worked. Will know for sure tomorrow but it's odd that all domains had a "no update" notice and 0 traffic (even in the dead of night we get some traffic on some sites still).
Still, the ART package needs to create the symlinks I outlined above to make it work. And the graph images are still broken.
Still, the ART package needs to create the symlinks I outlined above to make it work. And the graph images are still broken.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Think you can make me a patch? The awstats src.rpm is here:
http://3es.atomicrocketturtle.com/packages/awstats/
http://3es.atomicrocketturtle.com/packages/awstats/
-
- Forum User
- Posts: 24
- Joined: Sat Feb 16, 2008 7:22 am
awstats graphs and icons not showing
I am having no luck with the graph images or the logo showing on awstats, not that it bothers me much but I still would like the colors, I have plesk 8.3 on a fc6 1and1 server, it happened only when the icon folder was renamed awstats-icon.
The awstats.conf file points to the awstats-icon folder, I tried to change the command to point to icon, still no go. I copied the icon folder and renamed it awstats-icon, still nothing.
Furthermore, there is no trace of an awstats-icon folder in the awstats 6.6-1.fc6.art package, should it be there?
Right clicking on the missing logo indicates that the images is in the awstats-icon folder: /awstats-icon/other/awstats_logo6.png
One strange thing is that the outline of the graphs are visible in firefox but not in explorer, I don't think it has anything to do with the problem, just anecdotal.

The awstats.conf file points to the awstats-icon folder, I tried to change the command to point to icon, still no go. I copied the icon folder and renamed it awstats-icon, still nothing.
Furthermore, there is no trace of an awstats-icon folder in the awstats 6.6-1.fc6.art package, should it be there?
Right clicking on the missing logo indicates that the images is in the awstats-icon folder: /awstats-icon/other/awstats_logo6.png
One strange thing is that the outline of the graphs are visible in firefox but not in explorer, I don't think it has anything to do with the problem, just anecdotal.

Yeah, that's pretty much what the RF AWstats package did. All the awstats stuff was moved but symlinking fixed it. What you should do is find out where the images reside and where Plesk is looking for them and symlink the two. That's what symlinks are for, after all, is to support all these programs that look in different places for the same file (so much so that MS Vista now has them).
As a side note, I'm not sure what awstats.conf is for but Plesk doesn't use it. If you go into your conf/httpd.include file you'll see how Plesk creates the plesk-stat alias and other aliases.
As a side note, I'm not sure what awstats.conf is for but Plesk doesn't use it. If you go into your conf/httpd.include file you'll see how Plesk creates the plesk-stat alias and other aliases.
-
- Forum User
- Posts: 24
- Joined: Sat Feb 16, 2008 7:22 am
thanks!
Thanks, it works, the awstat symlink was pointing to a dead end, I directed it to /usr/share/awstats/wwwroot/awstats-icon, I now see colors and icons, flashback to the 70's......
Great help, cannot thank you enough
Great help, cannot thank you enough

-
- Forum User
- Posts: 24
- Joined: Sat Feb 16, 2008 7:22 am
prior months stats not showing

The prior months stats are not showing as they should, they only show when called from the drop down menu for select period.
So the stats are there, they are just not parsed into the page, any idea where I should start looking to fix this?
Thanks