Viewing posts for the category Linux
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:
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.
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.
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...
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.