Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts in Linux

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 have this problem. I am trying to send a SOAP request to a provider of information I need. In order to make this request correctly, I have to provide a value as a LONG. For whatever reason, they are not getting what I think I am sending. Therefore, I need a way to see [...]

Changing the timezone on a server (replace Europe/Amsterdam with your faviorite zone file) mv /etc/localtime  /etc/localtime-old cp /usr/share/zoneinfo/Europe/Amsterdam  /etc/localtime /usr/bin/rdate -s (tick|tock).greyware.com —or— /etc/init.d/ntpd stop; ntpdate tick.greyware.com; /etc/init.d/ntpd start Set the ZONE entry in the file /etc/sysconfig/clock file vi /etc/sysconfig/clock Sync the hardware clock /sbin/hwclock –systohc

If your .FRM file gets hosed up, you'll need to repair it or your database(s) will be worthless. You'll still need to make sure you make regular backups of your databases so you can use them to rebuild the .FRM file. 1. Get last good backup of database (assumes the backup is an .sql formatted [...]