Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again

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;
to
$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.

Ioncube Installation On Linux Plesk Server

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.
wget http://downloads2.ioncube.com/loader…lin_x86.tar.gz

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

zend_extension=/usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so

It will be between these two entries

zend_optimizer.version=3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

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.

How to change the default port for Plesk

It is not recommended to change the default Plesk port because it can break Plesk integration with other programs like Plesk Expand or DrWeb.

Linux

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:

Listen 8443
Port 8443
VirtualHost *:8443>

You will need to restart Plesk afterwards. Plesk cannot listen on any of the ports used for common services.

Windows

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
Listen 8443

2.) Restart Plesk Control Panel.

Plesk – Rebuilding qmail queue on RPM based Servers

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.

/etc/init.d/qmail stop
/etc/init.d/xinetd stop

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:

/etc/init.d/qmail start
/etc/init.d/xinetd start

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

How to retrieve the Plesk control panel password?

You can always get the Plesk password if you have Administrative access to the server.

For Windows,

1. From the Start menu, select Run.
2. Enter the following command:
“C:\Program Files\SWsoft\Plesk\admin\bin\plesksrvclient.exe” -get

For Linux,
1. Via SSH, run the following command:
cat /etc/psa/.psa.shadow

Upgrade Php4 to Php5

How to migrate php4 to php5 within Plesk server?

First of all you must take note of the non backward compatible changes in PHP5.

http://us2.php.net/manual/en/migration5.incompatible.php

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