Month: June 2013

  • How to repair mail server configuration in Plesk?

    Use mchk utility to repair/rebuild mail server configuration and restore settings for all mailboxes created in Parallels Plesk Panel. Plesk for Linux: ~# /usr/local/psa/admin/sbin/mchk –help Restore settings for all mailboxes. Usage: /usr/local/psa/admin/sbin/mchk [OPTION] OPTIONS: –without-spam restore all settings except for SpamAssassin configuration –with-spam restore all settings –spam-only restore only SpamAssassin settings ~# /usr/local/psa/admin/sbin/mchk –with-spam Plesk…

  • How to fix Nginx error “Too many open files”

    nginx: [emerg] open() “/var/www/vhosts/webserverpage.com/statistics/logs/webmail_access_log” failed (24: Too many open files) nginx: configuration file /etc/nginx/nginx.conf test failed Please resolve the errors in web server configuration templates and generate the file again. # echo ‘ULIMIT=”-n 4096″‘ >> /etc/sysconfig/nginx # cp /etc/init.d/nginx /root/nginx.backup # wget http://kb.parallels.com/Attachments/22839/Attachments/nginx.redhat-centos.patch # patch /etc/init.d/nginx nginx.redhat-centos.patch # egrep “root|psaadm” /etc/security/limits.conf root hard nofile 4096…