Fixing common Plesk Problems

Contents

Fixing pop/imap login problems

/usr/local/psa/admin/sbin/mchk --with-spam --daemon-mode

Fixing Mailman issues

/var/mailman/bin/check_perms -f

Forcing logs/stats update

usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.com

Increase maximum pop/imap connections per IP

Try changing the MAXPERIP value (defaults to 4) in:
/usr/lib/courier-imap/etc/imapd
and
/usr/lib/courier-imap/etc/pop3d

Client complains about cgi script not working. Check the su-exec log

tail /var/log/httpd/suexec_log

Fix expand registering server fault

Copy /usr/local/psa/admin/plib/api-rpc/AgentDomain.php from a good plesk server to the server in error

Flushing the qmail queue

ps ax | grep qmail-send
kill -ALRM <pid_number>

FTP Problems

If no user on the server can login, check that in the /etc/shells the following lines are there

/bin/false
/usr/local/psa/bin/chrootsh
/bin/rbash

To fix Horde or MySQL database problems

mysqlcheck -r -uadmin -p`cat /etc/psa/.psa.shadow` horde

To turn off redirect for all mailboxes where forwarding is switched on.

update mail set postbox='false' where redirect='true';

And then you need to run

"/usr/local/psa/admin/sbin/mchk --with-spam --daemon-mode" 

to apply the changes.

Fix all tables in all databases

mysqlcheck --repair --all-databases -uadmin -p`cat /etc/psa/.psa.shadow`

Join the Conversation

1 Comment

  1. Good – I should definitely pronounce, impressed with your web site. I had no trouble navigating through all the tabs as well as related info ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Quite unusual. Is likely to appreciate it for those who add forums or anything, web site theme . a tones way for your client to communicate. Excellent task..

Leave a comment