Archive for the tag 'Issues'

Tool for checking issues before upgrade or migration to Parallels Plesk 10.x version

Due to the changes in business model in Parallels Plesk Panel 10.x release, not all previous accounts settings will be portable from the previous Parallels Plesk Panel releases.

Attached is a script that allows checking environment before upgrade or migration. Now it is checking business logic issues and it works for both platform: Linux and Windows. This tool could be launched prior to upgrade for the purpose of getting a report on potential problems with the upgrade. Based on the report a hoster can decide whether upgrade to Parallels Plesk Panel 10.x is suitable.

How to use..

# php plesk10_preupgrade_checker.php [plesk-admin-password] -d safe_mode=Off
SBDavid

FTP Connection Issues

FTP Connection Issues

On servers running Monolithic kernels (e.g. VPS Virtuozzo/OpenVZ and custom built kernels) ip_conntrack and ip_conntrack_ftp iptables kernel modules may not be available or fully functional. If this happens, FTP passive mode (PASV) won’t work. In such circumstances you will have to open a hole in your firewall and configure the FTP server to use that same hole.

For example, with pure-ftpd you could add the port range 30000:35000 to TCP_IN and add the following line to /etc/pure-ftpd.conf and then restart pure-ftpd:

PassivePortRange 30000 35000

For example, with proftpd you could add the port range 30000:35000 to TCP_IN and add the following line to /etc/proftpd.conf and then restart proftpd:

PassivePorts 30000 35000

FTP over SSL/TLS will usually fail when using an SPI firewall. This is because of the way the FTP protocol established a connection between client and server. iptables fails to establish a related connection when using FTP over SSL because the FTP control connection is encrypted and so cannot track the relationship between the connection and the allocation of an ephemeral port.

If you need to use FTP over SSL, you will have to open up a passive port block in both csf and your FTP server configuration.

Troubleshooting Ensim Upgrade or Installer Issues

Problem : The host name of the server is incorrect.

Refer the log file /var/log/ensim/installer..-.log to review the list of successful and unsuccessful events recorded during the upgrade.

Check the file /etc/sysconfig/network. The host name must be a fully qualified domain name. See the following example.

Correct: myhost.mydomain.com

The file /etc/hosts should contain the host name and IP address of your server. If it does not, use an editor to modify the file.

—/etc/hosts begin file–
127.0.0.1 localhost.localdomain localhost
1.2.3.4 myhost.mydomain.com myhost
—/etc/hosts end file–

Troubleshooting Issues with ensim installer

Issues that you may encounter during the installation. You may refer to the log file /var/log/ensim/installer..-.log for details.

Example:

During installation, the following message is displayed:

check_hostname

This means The host file is incorrect.

The file /etc/hosts should contain the host name and IP address of your server (see the following example). If it does not, use an editor to modify the file.

Example

—/etc/hosts begin file—
127.0.0.1
localhost.localdolocalhost
1.2.3.4 myhost.mydomain.com
myhost

—/etc/hosts end file—

where 1.2.3.4 is the IP address of myhost.mydomain.com

Also check the file /etc/sysconfig/network. The host name must be a fully qualified domain name.

See the following example.

Incorrect: myhost
Correct: myhost.mydomain.com