Plesk : ERROR: PleskFatalException StatInfo->getProductVersion failed

June 17th, 2010 by admin Leave a reply »

When you go to https://domain:8443 you get an error message such as :

ERROR: PleskFatalException StatInfo->getProductVersion failed: 

or

ERROR: PleskFatalException
StatInfo->getProductVersion failed: file_get_contents() failed: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead

A solution to this is that the version file has not information in it (/usr/local/psa/version). This can be caused by various issues including a failed upgrade, uninstall/reinstall of plesk etc…

If that is the case then just do the following to resolve it:

1 Run rpm -qi psa
2 Note down the following...

[Example from my system - yours will differ]
Version : 9.2.3
Release : cos5.build92091016.19

You also need the server type being used - example CentOS 5
From this info you can create a line (only need one) similar to the following

9.2.3 CentOS 5 92091016.19 [Yours WILL differ]

Add this to the top of /usr/local/psa/version and restart plesk.

Advertisement

Leave a Reply

You must be logged in to post a comment.