Plesk: Upgrade to 8.4 causes “no such user” error in maillog

If you have a Plesk server where short mail names are enabled, upgrading to Plesk 8.4 can cause some issues. Valid logins may be rejected, and they’ll appear in your /usr/local/psa/var/log/maillog as “no such user”. You can correct the issue by switching to long mail names (click Server -> Mail in Plesk), or you can run a shell script provided by Parallels. For further details, refer to the Plesk KB article “Mail users cannot get or send mail after upgrade to Plesk 8....

2008-11-06 · 1 min · Major Hayden

Working hard on PleskHacker

Some of you may have already noticed from my Twitter feed, but I’ve started a complete re-write of pleskhacker.com in an easier-to-use format. The old site was done in Dokuwiki, and I found that it didn’t scale too well. The new site uses WordPress, and the performance is already improving. Another improvement to the site is that it is now hosted on Mosso. This should allow the site to handle a lot more traffic and be more redundant than the original configuration....

2008-09-25 · 1 min · Major Hayden

SquirrelMail: 127 Can’t execute command

I found a Plesk 8.3 server running RHEL 4 last month that was presenting errors when users attempted to send e-mail via SquirrelMail: ERROR: Email delivery error Server replied: 127 Can't execute command '/usr/sbin/sendmail -i -t -fsomeuser@somedomain.com'. The error was appearing because safe_mode was enabled and SquirrelMail was unable to drop e-mails into /usr/sbin/squirrelmail. After disabling safe_mode on the server, the users were able to send e-mails via SquirrelMail.

2008-09-08 · 1 min · Major Hayden

Enabling Ruby on Rails support for a domain in Plesk

If you have Plesk 8.1 or later, you have support available for Ruby on Rails. Unfortunately, clicking the FastCGI checkbox in Plesk won’t get you all of the support you need (and expect). The folks over at Parallels created a relatively simple process to get Ruby on Rails working properly on your site: Go to your domain that you want to adjust, and click Setup. Make sure the CGI and FastCGI options are enabled....

2008-08-12 · 1 min · Major Hayden

Plesk 8.4.0: Unable to use short names for POP3/IMAP

If you recently upgraded to Plesk 8.4.0 with short names enabled, you may have found that it’s working with SMTP, but it doesn’t work with POP3 or IMAP. There’s a bug in the Plesk version that prevents the courier configuration from being updated. To correct the issue, first make sure that Plesk has short names enabled (Server > Mail). Once you’ve confirmed that Plesk thinks it’s enabled, add SHORTNAMES=1 to the following configuration files:...

2008-07-28 · 1 min · Major Hayden

Rebuilding statistics from previous months on Plesk 8.3

There was a bug in versions of Plesk prior to 8.3 where the AWStats statistics for the previous months were unavailable. It was a bug within Plesk’s AWStat’s implementation, and it was fixed in Plesk 8.3. However, the fix only corrected the issue moving forward after the upgrade. There was no automated way to rebuild the previous months' statistics, even though the AWStats data was right there on the disk!...

2008-06-20 · 1 min · Major Hayden

Why I use Plesk

It seems like I have a conversation like this one at least once a week: Them: “Hey Major, you’re a pretty nerdy guy, what server distro do you use?” Me: “I use CentOS 4 right now.” Them: “CentOS? Why not use something more cutting edge, like Fedora or Gentoo?” Me: “Well, I like those, but Plesk works really well with CentOS.” Them: “Seriously? You use Plesk? WHY?” My CentOS server hosts a fair amount of domains for people I know and people I don’t know....

2008-06-17 · 3 min · Major Hayden

Parallels Summit 2008 – Day 1

I’m really enjoying the Parallels Summit in Washington D.C. this week. The folks from Parallels have been great, and the vendors we have met are selling some pretty tremendous products. Lots of folks have been asking for a summary of what’s going on after my Twitter posts appeared earlier today. Here’s the latest information I’ve seen and heard today: Parallels Development Strategy » Create an SMB edition, solidity the Application Packaging Standard (APS), and further integrate billing...

2008-05-20 · 4 min · Major Hayden

Forcing qmail to process e-mail in the queue

Normally, qmail will be able to process the mail queue without any interaction from the system administrator, however, if you want to force it to process everything that is in the queue right now, you can do so: kill -ALRM `pgrep qmail-send` If for some peculiar reason you don’t have pgrep on your server, you can go about it a slightly different way: kill -ALRM `ps ax | grep qmail-send | grep -v grep | awk '{print $1}'` Your logs should begin filling up with data about e-mails rolling through the queue....

2008-05-02 · 1 min · Major Hayden

After Plesk upgrade, “Cannot initialize InnoDB”

Upgrading Plesk from 7.5.x to 8.x will change your Plesk-related MySQL tables from MyISAM to InnoDB. This allows for better concurrency in the Plesk panel when a lot of users are logged in simultaneously. However, some server administrators will disable InnoDB support in MySQL to save resources. This will cause problems after the upgrade. Plesk may display an error on a white page that looks something like: Cannot initialize InnoDB...

2008-05-01 · 2 min · Major Hayden