David Gessel

updating bothers

Saturday, October 6, 2007 

Apache LogoPHP  Logo
I recently did a portupgrade -ra on my server after some period of complacence. It was instigated by having to clean out my mySQL logs after they ate up 30GB of disk space and caused some table corruption.

Anyway, the key details were that
apache+mod_ssl-1.3.37+2.8.28 > needs updating (port has 1.3.39+2.8.30)
php5-5.2.3 > needs updating (port has 5.2.4)

(among about 50 others)

Some foreshadowing.. once I updated and rebooting I get in /var/log/messages only
kernel: pid 1127 (httpd), uid 0: exited on signal 11 (core dumped)
and in /var/log/httpd-error.log only
[info] mod_unique_id: using ip addr 66.93.181.130
every time I “apachectl start” (and after setting apache.config log level to “debug”)

No go.

Much email searching ensued, but Torfinn Ingolfsen on the free-bsd-stable mailing list suggested looking at PHP. Turned out disabling php.so in httpd.conf got apache sort of working, but that was no help, so I thought, eh, why not migrate to apache 2.2.6?

That helped a lot. First the default config didn’t get run with SSL (crash) but that was hinted in the config files

Oct 02 11:30:26 2007] [info] mod_unique_id: using ip addr 66.93.181.130
[Tue Oct 02 11:30:27 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
[Tue Oct 02 11:30:27 2007] [info] Loading certificate & private key of SSL-aware server
[Tue Oct 02 11:30:27 2007] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]

so I disabled that for the moment. But I was also getting periodic seg faults from Apache. No details (even less than with 1.3.39). Disabling PHP made them go away, but at least apache 2 was self-restarting, so aside from log pollution, no problem…

It occurred to me that my make.conf -O2 compiler specification might be part of the problem, so I changed just that to -O1 and recompiled with portupdate -rf PHP and no more seg faults. 5.2.3 had no trouble with -O2, but 5.2.4 doesn’t seem stable with O2 optimization.

The SSL problem was that /usr/local/etc/apache22/httpd.conf had a bit at the end about the following being present to support starting SSL… blah blah, 3rd line from the bottom “SSLEngine on.” It was turning on the engine twice since I was using extra/httpd-ssl.conf already. I commented that line out and everything seems fine now.

Posted at 11:00:15 GMT-0700

Category: FreeBSDTechnology

I heart NY

Thursday, October 4, 2007 

The view from my luxurious hotel in NYC. Only $350 a night or so.

PA041411.JPG
Posted at 23:30:17 GMT-0700

Category: HotelsphotoTravel

JFk flight 14

Thursday, October 4, 2007 

Fog! You’d hardly know you were in new York in the blackness.

IMG00167.jpg
Posted at 21:35:16 GMT-0700

Category: photoPlanesTravel

Stupid

Monday, October 1, 2007 

Wtf is spill resistant to 60 cc?

IMG00165.jpg
Posted at 23:28:51 GMT-0700

Category: Funnyphoto

EAT vulva at the SFO RCC

Thursday, September 27, 2007 

IMG00164.jpg
Posted at 01:05:15 GMT-0700

Category: FunnyLatrinaliaphotoPlanesTravel

Sd

Wednesday, September 26, 2007 

Demo this please

IMG00162.jpg
Posted at 10:55:14 GMT-0700

Category: photoPlacesTravel

San Diego demo

Tuesday, September 25, 2007 

From robodock to demo in a day.

IMG00161.jpg
Posted at 14:10:14 GMT-0700

Category: photoPlacesTravel

Stubnitz

Sunday, September 23, 2007 

Engine room of the Stubnitz

A very cool floating studio and night club. It was docked at Robodock and the crew very kindly gave us a tour of the engine room and below decks.
If you are ever fortunate enough to have an opportunity to get on board for an event, do so.
Posted at 17:30:14 GMT-0700

Category: photoPlacesSRLTravel

The SRL Show is Starting

Saturday, September 22, 2007 

The view from my gun.

IMG00160.jpg

The gun ran well – some good flare shots and 2-3 good diesel shots before the receiver froze solid and we couldn’t get any velocity out of it. I think the show went well overall.

Posted at 14:30:14 GMT-0700

Category: photoSRL

Jet Is Running

Saturday, September 22, 2007 

Greg and I got the jet and the fuel spray running. Warms the space up nicely.

P9211366.JPG

This is a Williams APU with a highly modified and quite deadly ignition system Greg and I built and installed after we found the stock one sparkless.  The flame is much brighter than it looks – the dark windows at the top of the image are looking out on daylight.

Posted at 01:10:18 GMT-0700

Category: photoSRL