If you are unable to login into Webmail , and you are getting an Error: “Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again.”
To fix this problem, you may do the following:
1)You can turn off ‘checkip’ feature in Horde server-wide.
2)Edit the /usr/share/psa-horde/config/conf.php file in the Plesk server and the change the following lines.
$conf[‘auth’][‘checkip’] = true;
$conf[‘auth’][‘checkip’] = false;
Please note that this modification cannot be configured per user basis and will affect all the webmail users in the server.
While logging into plesk panel, you may have encountered the following error.
“Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied.”
It means that Plesk IP access policy was configured in such a way that Plesk panel cannot be accessed from the current IP address. To enable Plesk CP access one needs to login to Plesk Control Panel locally and change IP access policy. It can be done the following way.
Retrieve the current policy and restricted/allowed IPs the following commands from shell.
$ mysql -u admin -p`cat /etc/psa/.psa.shadow`
mysql> use psa;
mysql> select * from cp_access;
mysql> select * from misc where param=’access_policy’;
Clear the access policy settings from the “cp_access” table and set policy to “allow” using commands,
mysql> delete * from cp_access;
mysql> update misc set val=”allow” where param=’access_policy’;
After exiting from mysql prompt you should be able to access the admin panel.
Please follow the steps given below for installing IonCube on a Linux Plesk Server.
1) Download the tar.gz file compatible from http://downloads.ioncube.com.
2) Untar the downloaded file.
tar -zxf ioncube_loaders_lin_x86.tar.gz
3) Move the untared file to /usr/lib/php/modules
mv ioncube /usr/lib/php/modules
4) chown -R root:root /usr/lib/php/modules/ioncube
5) vi /etc/php.ini
Add the following line before any other zend_extension
It will be between these two entries
Save changes and restart apache in the server.
6) /etc/init.d/httpd restart
Now Ioncube is Installed on the server and can be verified by php -v command.
[root@server ~]# php -v
PHP 5.1.6 (cli) (built: xx xx xxxxx xx:xx:xx)
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
Note that ionCube Loader is a Zend-Engine extension and not a module, you need to specify the Loader using ‘zend_extension’ in the loaded php.ini file for the php version.
It is not recommended to change the default Plesk port because it can break Plesk integration with other programs like Plesk Expand or DrWeb.
To change the port Plesk listens on you will need to edit /usr/local/psa/admin/conf/httpsd.conf file and change the following directives to list the port you want Plesk to listen on:
You will need to restart Plesk afterwards. Plesk cannot listen on any of the ports used for common services.
Most Plesk installs will be using Apache by default. You will want to edit the Apache configuration file C:\Program Files\SWsoft\Plesk\admin\conf\httpd.conf
1.) Change the following line to list the port number you want Plesk to listen on
2.) Restart Plesk Control Panel.
This instruction is written for RPM-based systems like RedHat, Fedora, CentOS, etc.
Please do the following steps to recreate Qmail`s queue, Queue has damage or lots of spam mails.
Please DO remember that all current messages will be removed from the queue in this case and cannot be restored.
1. Stop Qmail and xinetd.
2. Move current queue to another location.
mv /var/qmail/queue /var/qmail/queue_old
3 Reinstall ‘psa-qmail’ RPM to recreate qmail queue structure with the command like:
rpm -Uvh –force psa-qmail….
4.(Optional).Reinstall drweb-qmail RPM if you use DrWeb antivirus feature which comes with Plesk.
rpm -Uvh –force drweb-qmail….
5.Start Qmail and xinetd:
You should get the both psa-qmail and drweb-qmail RPMs from the same Plesk version distributive that is installed on the server. You can obtain current psa-qmail, drweb-qmail RPMs and Plesk build versions by running the following commands on Linux systems:
rpm -q psa-qmail
rpm -q drweb-qmail
rpm -q psa
You can always get the Plesk password if you have Administrative access to the server.
1. From the Start menu, select Run.
2. Enter the following command:
“C:\Program Files\SWsoft\Plesk\admin\bin\plesksrvclient.exe” -get
1. Via SSH, run the following command:
How to migrate php4 to php5 within Plesk server?
First of all you must take note of the non backward compatible changes in PHP5.
If you are ready to install/upgrade to PHP5 follow this procedure.
* From your server command line type:
wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh ,
what this will do is download and install all the necessary packages for your Plesk install , including PHP, MySQL, and Spam assassin. The entire process should be rather streamlined where you will not have to type anything in to console. Once the install is complete you can use the command: php –v.
In the event you have several other packages being used with PHP you will need to take the appropriate steps in upgrading them accordingly. Once you have PHP5 installed you will be ready to migrate and configure apache files for PHP5. There are two methods to accomplish this depending if you are running PHP in CGI mode. For Example inside of the file php.conf located in /etc/httpd/conf.d/php.conf:
# Change this line:
LoadModule php4_module /php/sapi/php4apache2.dll
# To this one:
LoadModule php5_module /php/php5apache2.dll
Or PHP5 with CGI mode:
# Change this line:
Action application/x-httpd-php “/php/php.exe”
# To this one:
Action application/x-httpd-php “/php/php-cgi.exe”
*Note that CGI version has changed its name from php.exe to php-cgi.exe*
More info along with Parallels documentation on this link http://forum.swsoft.com/showthread.php?threadid=48019&highlight=upgrade+php