While accessing the Plesk control panel, you may encounter an error message as follows:
ERROR: PleskFatalException StatInfo-> getProductVersion failed
OR
ERROR: PleskFatalException StatInfo-> getProductVersion failed:
file_get_contents () failed: mktime()
[<a href='function.mktime'>function.mktime</a>]
The “Plesk getProductVersion failed ” message states that either the Plesk version file /usr/local/psa/version is empty AND/OR the plesk version in the ‘psa.misc’ table is incorrect. This is mostly caused due to a failed Plesk upgrade OR by removing/installing some Plesk modules.
To fix the issue do the following:
1. First, check the Plesk version installed on the server
# rpm -qi psa
note down the ‘version’ and ‘release’ values (these values will be different on your server).
Version : 9.5.3 Release : cos5.build95301122.20
now, check the OS installed on the server (for example, on CentOS)
# cat /etc/redhat-releaseCentOS release 5.5 (Final)
Using the above Plesk and OS info, insert a line as follows (your values will differ) in the /usr/local/psa/version file.
9.5.3 CentOS 5 95301122.20
Save the file and restart the psa serivce.
2. If the above fix doesn’t work, do the following
Check the current value of Plesk in the psa.misc table.
mysql> select * from psa.misc where param='version';
If the value is not 0953 (example from my server), run the mysql update query to set the proper value. You should use the value that is returned by the ‘rpm -qi psa’ command on your server.
mysql> update psa.misc set val="0953" where param="version";
Exit and restart mysql. That is it.
Comments are closed.