Hosting Tips & Tricks

Posts Tagged ‘Plesk’

Plesk windows file manager need to upload larger files

By default a client can’t upload files in plesk file manager larger then ~30MB . Unfortunately we have to let them upload bigger files because they like to use the  archive “uncompress” feature from file manager.
The error received in plesk is:
HTTP Error 404.13 – Not Found
The request filtering module is configured to deny a request [...]


How to renew plesk services ssl certificates (self signed)

For Parallels Plesk Panel version 7.x, 8.x:
Server -> Certificates -> Add New Certificate
For Parallels Plesk Panel version 9.x:
Settings -> SSL Certificates -> Add SSL Certificate
Fill in required preferences and click button {Self-Signed}
New self-signed SSL certificate will be created in server certificate repository.
To assign this SSL certificate for securing your Parallels Plesk [...]


How to restore plesk 8 backup on plesk 9 server

Copy backup to plesk9 server and run:
/usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/  /root/plesk8-backup-file
then go to plesk 9 panel and restore the backup from the client and/or precreated domain.


How to modify plesk qmail local delivery and/or add actions to it

when I try to implement other local delivery software for e.g. I need to modify .qmail file when a new email account is created/updated via plesk . if you just edit .qmail it will be rewrite on any email account update from plesk and same for new accounts you have to provision this shit somehow.
for [...]


Plesk windows webmail 503 error

It happened that webmail from plesk windows just opened a page with error 503 , service unavailable. In our case it was horde webmail with plesk 8.6  IIS7 on windows 2008. Restarting whole IIS did not help.
Unfortunately I did not find too many docs related to it so find out from Parallels that webmail is [...]


How do I configure ProFTPd server to use TLS/SSL in plesk?

Plesk ProFTPd sever has compiled-in mod_tls.c module for SSL support ans SSL support can be configured in /etc/proftpd.conf for example in the following way:

<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/tls.log
TLSProtocol SSLv23
# Are clients required to use FTP over TLS?
TLSRequired off
# Server’s certificate
TLSRSACertificateFile /usr/local/psa/admin/conf/httpsd.pem
TLSRSACertificateKeyFile /usr/local/psa/admin/conf/httpsd.pem
# Authenticate clients that want to use FTP over TLS?
TLSVerifyClient off
# Allow SSL/TLS renegotiations when [...]


Install pear in plesk windows

To configure PEAR bundled with PHP the following steps need to be completed:
1. Launch command prompt.
2. CD “%plesk_dir%Additional\Php\”.
Note: The folder can be different – e.g. in case of using PHP5.
3. Execute go-pear.bat and follow the on-screen instructions.
4. Add the path to the newly created pear.bat file into the PATH system variable after installation and reboot [...]


remove plesk install from virtuozzo vzpp

if you have cpanel on a virtuozzo node vps you really want to disable plesk install .
This cannot be done for selected VPSes, only for node-wide. In order to remove ‘Install Plesk’ link from the customer’s Parallels Power Panel, it is required to modify /vz/private/1/root/etc/vzcp/pp/menu.xml (on the node) file or /etc/vzcp/pp/menu.xml (in Service VPS).

There [...]


Plesk tips&tricks

Plesk Logs
web:
/usr/local/psa/admin/logs
mail/ftp xfer
/usr/local/psa/var/log/

Plesk FTP USER
I have included below the instructions for adding system FTP user account’s. First you will need to add the user, to do so simply issue the following command(s) as root:
useradd -s /bin/false johndoe -d /home/johndoe
The “-s /bin/false” portion ensures this user can only ftp into the [...]


How to identify high load apache processes

just paste to shell (cpanel server):
ps -axo “%C %p” |sort -nr |head -5 |while read i p; do echo -n $i; /usr/local/apache/bin/apachectl fullstatus |grep -A 1 $p; done
there is also a python script for that : apache-top.py . you can donwload it from: http://www.fr3nd.net/projects/apache-top/. it’s a nice tool but still need some customization.