Viewing posts for the category Linux

Apache Enable Directory Browsing (Indexes) in Arch Linux

Posted by: scoopseven in Apache Linux 12 years, 1 month ago

We had a VirtualHost defined for a simple website; we wanted to enable directory browsing for this (password protected) site. Simple, right? Despite all of my Google searching, adding "Options Indexes", "Options +Indexes", "Allow Overrides" and adding .htaccess files, we were unable to get directory browsing working. A quick look at the http error_log revealed this error:

read more / 0 comments

Coldfusion - java.io.IOException: No space left on device

Posted by: scoopseven in ColdFusion Linux 12 years, 7 months ago

If you run into a "java.io.IOException: No space left on device" error when running ColdFusion, check your hard disk space.  If you've inspected your hard disk space, and still have open space on your drive, check your /tmp directory.  We're running ColdFusion 8 on Archlinux and this error wasn't too easy to diagnose.  A df -h lead us to believe that we had plenty of disk space available, but a df -T revealed that our /tmp directory had filled up. It was so full that Arch wasn't able to empty it on reboot, like it's supposed to and trying to remove it manually didn't help either, we kept receiving "Argument list too long" errors.  Rebooting into safe mode and restarting from there forced the clean of the /tmp directory and ColdFusion started right back up.

read more / 0 comments

Linux Auditd Service and SSH Login

Posted by: scoopseven in Linux 12 years, 8 months ago

We have a CentOS 5.x box that strangely stopped allowing us to ssh in.  It would allow you to enter a username, prompt you for a password, and then just hang there, eventually timing out.  We tracked the problem down to a service, auditd, that acts as a central system logger, rather than /var/log/messages.  We found errors stating "kernel: audit: backlog limit exceeded" in our messages log.

read more / 0 comments

The _imaging C module is not installed

Posted by: scoopseven in Linux Python 12 years, 10 months ago

While trying to use PIL on a Arch linux box (python 2.6.7) I kept getting the dreaded "The _imaging C module is not installed" error message.  I tried installing libjpeg using pacman and from source. I tried installing freetype2 using pacman and from source. After each of these attempts, I reinstalled PIL with the --update option and went through the...

read more / 0 comments

Creating and Updating MySQL Accounts / hosts.allow

Posted by: scoopseven in Linux MySQL 12 years, 10 months ago

Here's a quick script for creating or updating MySQL accounts via the command line so that you're able to login from any host. It's really easy to replace the '%' with your actual hostname or ip to make this more secure, so if at all possible, you should.

read more / 0 comments

Recent Tweets

Recent Posts

Archive

2013
2012
2011
2010
2009
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom