Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts published in July, 2009

On more than one occasion I have had to figure out how to restore data from a mysql-binlog and I do it so infrequently that I decided to put the command here so I know where to find it in the future. The first thing to do is to export the binlog. Since it is [...]

I was installing APC on a server and ran across this error: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1831 One would assume that fixing this would be to edit the php.ini file and change the memory settings. However, that is not the case [...]

A simple and quick way to get a status of the adapters and devices in the RAID array using megacli is to run the following command: megacli -AdpAllInfo -aALL It will output a LOT of information for the adapter, but you should see the Device Present section that shows the status of the drives. For [...]

I ran across a server in which all the inodes were used and this was causing myriad issues on the server. # df -i Filesystem            Inodes   IUsed   IFree IUse% Mounted on /dev/sda5            16318464 16318464       0  100% / I needed to [...]