Tag archive for ‘psa’

howto: turn off safe_mode in Plesk?

How to turn of safe_mode in Plesk? There are 2 ways to turn off safe_mode for a domain in Plesk. 1) From the Plesk control panel.  Login to Plesk >> click “Domains” >> click “domainname.tld”  >> click “WebSite Settings” >> make sure PHP support is checked, but “safe_mode” is  unchecked >> click Save. 2) The [...]

Cannot start Web server from Plesk panel, No such file ‘/usr/local/etc/rc.d/apache2.sh’ error appears

Attempts to start or stop apache web service on Server > Services page fail with error ERROR: PleskFatalException Unable to make action: Unable to manage service by websrvmng: websrvmng: No such file ‘/usr/local/etc/rc.d/apache2.sh’: No such file or directory System error 2: No such file or directory   Apache startup script name is specified with the [...]

Plesk webmail + DB Error: connect failed

You may receive the following error message while accessing Webmail on a Plesk server: A fatal error has occurred DB Error: connect failed You need to make sure the ‘horde’ user is able to connect to the ‘horde’ database using the password mentioned in the file “/etc/psa/.webmail.shadow”. You have to create the file and specify [...]

Table mysql.servers doesn’t exist: Problem adding a database user in plesk Or restarting mysql

You may receive a “Table ‘mysql.servers’ doesn’t exist” error message while adding a database user in Plesk OR while restarting the Mysql service. The complete error message look like: Error: Connection to the database server has failed: Table ‘mysql.servers’ doesn’t exist OR Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist The problem mostly [...]

Howto: Backup and Restore a database

You need to use the “mysqldump” command to backup a Mysql database. Backup/Dump a Mysql database on a Linux Or Linux/cPanel server: root@host [~]# mysqldump /var/lib/mysql/dbname > dbname.sql Restore the .sql file in a database: root@host [~]# mysql /var/lib/mysql/dbname < /path/to/filename.sql Backup/Dump a Mysql database on a Linux/Plesk server: root@host [~]# mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` [...]

To make a Plesk server PCI Compliance

How to make a Plesk server PCI Compliant? Nowadays many of the Banks And Credit Card companies ask you to implement security standards on your server for client data protection which is known as PCI Compliance. Follow the below steps to achieve security standards on your server. 1 ) To turn off SSLv2 for port [...]

How to reset the Plesk Admin password from command prompt

Windows In case you forget the Plesk control panel’s ‘admin’ password, then you have no other choice but to reset the password by logging into the remote server.. As the reset ‘Administrator’ password option [which in fact is for the admin user] is only available through logging into the Plesk control panel interface. You can [...]

Horde: there are no parts that can be displayed inline.

While accessing an email using Horde, you may notice that Horde isn’t displaying the contents of the email rather it displays the following message “there are no parts that can be displayed inline.” The reason is the “inline” setting of the HTML driver is set to false. To fix the issue, you need to enable [...]

Plesk StatInfo-> getProductVersion failed: file_get_contents () failed

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 error indicates that the file /usr/local/psa/version which contains the Plesk version is empty AND/OR the plesk version in the ‘psa.misc’ table is incorrect. [...]

Plesk: componentUpdate failed: Unable to exec utility packagemng

You may see an “Unable to exec utility packagemng” error message while accessing the Plesk control panel. The error generally occurs after performing a Plesk control panel upgrade and the complete error message looks like follows: Components::componentUpdate() failed: Unable to exec utility packagemng: file does not exist or is not executable: /usr/local/psa/admin/bin/packagemng 0: auth.php3:551 This [...]