APPLIES TO: * Plesk 7.5.4 Reloaded * Plesk 8.x for Linux/Unix SYMPTOMS Additionally the following errors may be shown: Failed to connect to mailserver SMTP server response: 550 Empty error message from utility. CAUSE This error means that Plesk failed to send notification for some reasons. RESOLUTION First of all make sure that Plesk SMTP… Continue reading When I logging into the Plesk CP and creating a user or domain, this error message appears right after creation: “Internal Plesk error occurred: Unable to send notification: mail() failed:”
PhpMyAdmin :: SQLite failed to open/create session database
This is usually a bug in the PhpMyAdmin configuration, whenever you receive the following error when accessing PhpMyAdmin either from WHM or cPanel, follow the steps given below for a fix Warning: session_write_close() [function.session-write-close]: open(/var/cpanel/userhomes/cpanelphpmyadmin/sessions/sess_uPSQAGVEZx2uuePd7SpsgTHJ6X7, O_RDWR) failed: No such file or directory (2) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/navigation.php on line 85 Manually edit /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini file as follow: 1)Login… Continue reading PhpMyAdmin :: SQLite failed to open/create session database
Authentication token lock busy
This usually happens when you are trying to change a password while the root filesystem (or wherever /etc is) is mounted read-only, for example when you booted up using the init trick, or in some maintenance mode (runlevel, usually). You can mount a filesystem read-write using: mount -o remount,rw / (This can also be useful… Continue reading Authentication token lock busy
How to access Plesk database
APPLIES TO: Plesk for Windows Answer Plesk Database can be accessed by following steps below depending on the database provider are configured in current Plesk installation. For MSSQL provider: Database can be accessed using the following CLI command: C:\Program Files\Microsoft SQL Server\80\Tools\Binn\osql –E Or Microsoft SQL Server Management Studio Express utility can be used. For… Continue reading How to access Plesk database
Named rndc.key error when starting
When trying to restart named process after making modifications may end up in a corrupt rndc.key key and the error will show like this: Sep 12 03:30:54 server named[23683]: /etc/rndc.key:1: configuring key ‘rndc-key’: bad base64 encoding Sep 12 03:30:54 server named[23683]: loading configuration: bad base64 encoding Sep 12 03:30:54 server named[23683]: exiting (due to fatal… Continue reading Named rndc.key error when starting
Writing Linux firewall rules w/ IPTables
The Linux kernel, since version 2.0, has included the capabilities to act as a firewall. In those days, the kernel module was called ipfwadm and was very simple. With the 2.2 kernel, the firewall module became called ipchains and had greater capabilities than its predecessor. Today, we have IPTables, the firewall module in the kernel… Continue reading Writing Linux firewall rules w/ IPTables
How do I Drop or block attackers IP with null routes?
Someone might attack on your system. You can drop attacker IP using IPtables. However one of our sr. sys admin highlighted something new for me. You can nullroute (like some time ISP do prevent your network device from sending any data to a remote system.) stopping various attacks coming from a single IP (read as… Continue reading How do I Drop or block attackers IP with null routes?
Catch PHP nobody Spammers
PHP and Apache has a history of not being able to track which users are sending out mail through the PHP mail function from the nobody user causing leaks in formmail scripts and malicious users to spam from your server without you knowing who or where. Watching your exim_mainlog doesn’t exactly help, you see th… Continue reading Catch PHP nobody Spammers
Windows integration notes
Make program default editor for a file type Shift-right-click on a file of a type; this forces the ‘open with’. Click ‘Choose program’, find it, and select the checkbox that tells windows to always open files of this type. Change IE ‘view source’ program Folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name has a default key that… Continue reading Windows integration notes
PHP Upgrade issues : Plesk / Redhat 4
PHP Upgrade issues : Plesk / Redhat 4 I was trying to upgrade the PHP version to php5 on a Redhat 4 server with Plesk 8.4 but had many issues, as the redhat mirrors do not have PHP5. PHP5 is available with Redhat 5. I used atomicrocketturtle repository for the installation, here is a guide… Continue reading PHP Upgrade issues : Plesk / Redhat 4