Plesk 8.2.1 Shell Commands · Sunday December 30, 2007
# Start/Stop Qmail
service qmail stop
service qmail start
service qmail status
# View Qmail log file
tail -f /usr/local/psa/var/log/maillog
# Rebuild Qmail configuration files
/usr/local/psa/admin/sbin/mchk -v
# View Qmail mailbox locations in Plesk
cd /var/qmail/mailnames/
# List the total size of all mailboxes
cd /var/qmail/mailnames/; du -h --summarize
# List the size of each mailbox, shown under its domain
cd /var/qmail/mailnames/; du -h --max-depth=2
For more commands and a location of Paralels Plesk Panel components and paths see: http://kb.parallels.com/en/952
— Ryan J. Bonnell
Error 412: Precondition Failed · Wednesday May 9, 2007
If you host your site with TextDrive and you’re getting a lot of “Error 412: Precondition Failed” errors, it’s most likely the result of something triggering a rule in mod_security.
TextDrive uses Apache’s mod_security (the Open Source Web Application Firewall) to block comment and referrer SPAM, but sometimes it gets triggered by mistake.
To fix the problem, you’ll want to follow the steps outlined in this knowledge base article to disable mod_security — which TextDrive has enabled by default.
However, even after following the instructions I was still having the same problem. It was only after I created an .htaccess file in both the “cgi-bin” and “public_html” folders that the problem was solved.
The reason you need two .htaccess files (one in each directory) is that Apache sees the “cgi-bin” and “public_html” separately and parses them individually.
— Ryan J. Bonnell
Overnight Delivery Services · Thursday May 3, 2007
If you need to have a package delivered by the next business day, do not trust the U.S. Postal Service with your package.
The post office’s Web site’s tracking ability is terrible, only provides rudimentary information and is updated too infrequently; nowhere need the exhaustive details FedEx, UPS or DHL/Airborne provides.
Bottom-line: don’t trust the USPS for anything but sending bills and everyday correspondence. Like many government agencies they still don’t understand how the private sector expects businesses to be run.
— Ryan J. Bonnell
FeedBurner XML/RSS Test · Monday March 26, 2007
If you’re seeing this entry appear in your favorite RSS reader then the magic of my mod_rewrite rules are working.
I encountered some strange problems trying to get FeedBurner, Textpattern and TextDrive all working together in harmony — more about this in the next few days.
— Ryan J. Bonnell
Plesk Error When Creating a New Database · Saturday March 24, 2007
If you’re using Plesk 8.1 and encounter the following error(s) when creating a new MySQL or PostgreSQL database in the control panel, don’t despair:


The first time I got this error it didn’t make any sense. “How could I be getting this error if I am already logged into Plesk as the Administrator?”
What likely has happened is that you hit the Return key (or Enter on Windows) on your keyboard instead of clicking the “OK” button with your mouse.
So why does this error occur? Plesk relies on JavaScript events to perform its actions and validate user input. If you view the frame source of the “Create Database” page, you’ll see the following JavaScript for the “OK” button:
onClick="return db_new_oC(document.forms[0]);return false;"
What this code does is validate the presence (and name) of the database you’re creating. What it doesn’t do is include any provisions if you hit the Enter key instead of using the mouse [to hit the “OK” button].
Therefore the error message isn’t indicative of the actual problem (poorly thought-out code by the SWSoft developers) and instead is a generic error message.
As of this writing, I believe this to be a bug in Plesk 8.1.x.
— Ryan J. Bonnell