Archive for October, 2007

Enforcing mode requested but no policy loaded. Halting now.

Here’s a pretty weird kernel panic that I came across the other day:
Enforcing mode requested but no policy loaded. Halting now.
Kernel panic – not syncing: Attempted to kill init!
This usually means that you’ve set SELINUX in enforcing mode within /etc/sysconfig/selinux or /etc/selinux/selinux.conf but you don’t have the appropriate SELINUX packages installed. To fix [...]

Installing package groups with up2date

A few days ago, I began to install a group of packages with up2date, and the person next to me was surprised that up2date even had this functionality. I use it regularly, but I realized that many users might not be familiar with it.
You can install package groups using an at-sign (@) in front [...]

MySQLTuner Revision 19 is available

I’ve revamped a few of the recommendations in MySQLTuner, and revision 19 is now available tonight! Here’s the main changes:
* Adjusted infoprint to use asterisks (cosmetic)
* Per-thread/global buffer counts are now displayed
* Key buffer increases are only recommended if the buffer is smaller than total indexes and hit rate is < 95%
* Dropped max_seeks_for_key [...]

Enabling Dr. Web virus scanning for new accounts

If you’re using Plesk 8.0 or later, you can set up Dr. Web to be enabled for all new mail accounts. To do this, you have to create an event handler.
Here’s the steps you will need:
» Log into Plesk
» Click “Server”
» Click “Event Manager”
» Choose “Mail Name Created” next to “Event”
» In the command [...]

mysqldump: Got packet bigger than ‘max_allowed_packet’ bytes

When you dump table data from MySQL, you may end up pulling a large chunk of data and it may exceed the MySQL client’s max_allowed_packet variable. If that happens, you might catch an error like this:
mysqldump: Error 2020: Got packet bigger than ‘max_allowed_packet’ bytes when dumping table `tablename` at row: 1627
The default max_allowed_packet size [...]