Archive for November, 2007


the potential of being normal

Posted by lamerfreak
In explorer
29Nov 07

Uninspiring.

I suspect a once-great thing was murdered before my eyes tonight; reduced to formulaic, expected one-liners and stiff performance.

Disappointing.


More e232!

Posted by lamerfreak
In geekery
11Nov 07

Learned hotswap as well, lately. Mainly when ‘make’ complained about ‘device full’.

Oh, the joy was felt.

cat /proc/scsi/scsi
(figured out adapter ID 4)
Plug in drive
echo “scsi add-single-device 4 0 2 0″ >/proc/scsi/scsi
(Adapter 4 channel 0 device 2 (third bay, so 0 1 … 2 is the new drive I assumed, and I was right)
fdisk /dev/sdc
mke2fs -j /dev/sdc1
mount /dev/sdc1 /mnt
mv /var/www/* (website files, and where the largest amount of space was being used) /mnt
umount /mnt
edit /etc/fstab
mount /var/www

Not bad for 10 minutes figuring and doing. Haven’t tried taking one out that way, though. May have to mock up a simple perl script for it.


maybe this will help…

Posted by lamerfreak
In geekery
11Nov 07

… someone else with the same issue.

Setting up another system, and this time going through the various changes I had to figure out individually last time. (procmail, sendmail, apache, bind, etc)

Come to mimedefang 2.63. Made and all flawlessly, only the included examples/init-script or init-script.in fail with errors:

./rc.mimedefang: line 346: unexpected EOF while looking for matching “’
./rc.mimedefang: line 366: syntax error: unexpected end of file

(So I use slackware and I’m following the convention for startup scripts…)

Anyway, it seems the reason is, on line 246, it’s missing the last left-leaning apostrophe that the other lines have.

Figured that out after some caffeine and dutiful commenting until I narrowed it down.

Comment if you find this helpful. (my stats for this blog comes up on some strange search results).


Subscribe to RSS

Syndicate