• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

ERROR: WDExc (PLESK 8.6)

Hi Paul,
# original file with bug:
-rw-r--r-- 1 root root 23576 Sep 12 2008 stats-graph.php
# patched file which didn't fix the problem:
-rw-r--r-- 1 root root 23785 Jan 5 15:43 stats-graph.php
# latest patched file which fix the problem:
-rw-r--r-- 1 root root 23787 Jan 12 08:50 stats-graph.php

Overwriting the patched file with it latest version (23787 bytes) did the trick. Watchdog is now up and running on all our containers. Thanks to all for helping!

Hello!


Could please someone provide me the working stats-graph.php with size 23787 for plesk 8.6.?
having exactly the same problem, but the post #42 file is the one with the wrong size of 23785


thanks!
 
Last edited by a moderator:
Hi Thomas

File fresh downloaded today, try it you will get this file:

# patched file which didn't fix the problem:
-rw-r--r-- 1 root root 23785 Jan 5 15:43 stats-graph.php


Tried it again (Zip WindowsXP - upload with winscp)

News Fileinfos:

23.785 Jan 5 20:31


the wrong file as you wrote, would be very kind to provide the newer one,
guess there is an bug in the link from post#42 (file changed?)

thanks alot!

markus
 
Last edited by a moderator:
File fresh downloaded today, try it you will get this file:

# patched file which didn't fix the problem:
-rw-r--r-- 1 root root 23785 Jan 5 15:43 stats-graph.php


the wrong file as you wrote, would be very kind to provide the newer one,
guess there is an bug in the link from post#42 (file changed?)
You're right: it is again another file:

## The working stats-graph.php:
# md5sum /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php
6aabf91c38e0ebfd9b6c589f3b5e68b6 /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php
## The wrong stats-graph.php downloaded today:
# md5sum stats-graph.php
e8eda60aa6cc46aefdb1db19785fc7bb /root/stats-graph.php
## The original stats-graph.php no more working since 01/01/2011:
# md5sum /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php.old
a1494174028bfb46a1d9151e16ef8a30 /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php.old

You can find these three files attached. Use stats-graph.php.
 

Attachments

  • stats-graph.zip
    69.9 KB · Views: 33
-deleted- error found - see next posting
 
Last edited by a moderator:
My last try, the pack-sysstats file has 2.769 Bytes, Date: 5.Jan 2011 15:31:16
maybe you got here also another file?
No, the patch downloaded today seems ok for me:

## The working pack-sysstats:
# md5sum pack-sysstats
4920c54497518284dbdb744c840286a5 pack-sysstats
## The "should be ok" pack-sysstats downloaded today:
# md5sum pack-sysstats.sh.patch
4920c54497518284dbdb744c840286a5 pack-sysstats.sh.patch
## The original pack-sysstats no more working since 01/01/2011:
# md5sum pack-sysstats.old
5f68dc8789d9fe01e8648643d4e27f23 pack-sysstats.old

However, both patches have different timestamps:
-rwxr-xr-- 1 root psaadm 2769 Jan 5 15:43 pack-sysstats
-rwxr-xr-- 1 root psaadm 2769 Jan 5 20:31 pack-sysstats.sh.patch

You can find these three files attached. Use pack-sysstats. Afterwards, force generating stats with the following commands:

./pack-sysstats day
./pack-sysstats week
./pack-sysstats month
 
Found the Error, beginnerbug -

When using WinSVC, set Transferemode to Binary, guess its automaticly set to text for .php
In that case, the file from post #42 worked ;-)

Thomas, thanks 4 helping!

cheers
markus
 
The Watchdog reports date is still completely wrong.

Subject: Watchdog daily report Jan 1, 1970 (Thursday) on xxxx.xxxxxx.xxx



Yes- We are seeing servers that are still getting this, and there has been no fix supplied thus far.

A fix for this portion of the issue would be greatly appreciated as it has been 3 months with no resolution.
 
Last edited:
You're right: it is again another file:

## The working stats-graph.php:
# md5sum /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php
6aabf91c38e0ebfd9b6c589f3b5e68b6 /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php
## The wrong stats-graph.php downloaded today:
# md5sum stats-graph.php
e8eda60aa6cc46aefdb1db19785fc7bb /root/stats-graph.php
## The original stats-graph.php no more working since 01/01/2011:
# md5sum /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php.old
a1494174028bfb46a1d9151e16ef8a30 /usr/local/psa/admin/htdocs/modules/watchdog/stats-graph.php.old

You can find these three files attached. Use stats-graph.php.

I think you've mislabelled the files. I've used the file named stats-graph.php.wrong_patch from that zip and it's corrected the issue of the image not showing.
 
Back
Top