
paulo at digitalcraftsmen
Mar 6, 2009, 5:31 AM
Post #3 of 4
(2032 views)
Permalink
|
|
Re: Lenny, apache2 & downgrading postgres
[In reply to]
|
|
Hi, I've done a bit of thinking and tying bits together in my head now I've had a chance to step away, and Bricolage now installs and runs on Debian Lenny. David E. Wheeler wrote: > On Mar 5, 2009, at 11:04 AM, Simon Wilcox wrote: > >> 1. Bricolage won't run on Debian Lenny. It doesn't appear to be a >> Bricolage problem, it's a more generic problem with Imager, mod_perl >> and libc6 causing it to segfault as soon as it loads. We haven't had a >> chance to narrow down yet, getting a production system out of the door >> is taking priority :-/ > > Packaging systems FTL! Packaging systems work really well provided you notice the changes between full releases of your O/S. Apache2 on Debian has always come with worker enabled by default. However previous versions of Debian would remove apache_mpm_worker and install apache_mpm_prefork when you install mod_perl. This is no longer the case due to mod_perl being able to work (for some apps) with either version, so you now need to manually pick to install apache2_mpm_prefork. I discovered this by doing a final test of the changes I'd made earlier and Bricolage started straight out of the box. I've updated the installation tips for Debian/Ubuntu in the wiki. Bricolage is now a four step install process on Debian and takes about 10 minutes, which is nice. Once we've released 1.10.7 and 1.11.2, I'll upgrade the VMWare Ubuntu images and release a Debian one. > Prefork is the preferred MPM for mod_perl. Patches for the Bricolage > docs welcome, though, as I'm sure we're prefork-only. The installation process has been changed to require a preforked Apache2 since otherwise you get nasty segfaults. >> Lastly, we've been developing using the Ubuntu VM image which has >> Postgres 8.3 installed. We're now trying to clone Bricolage onto a >> production Debian Etch machine which is running Postgres 8.1. > > Why would you do a thing like that? Because PG 8.1 is the highest version that comes with Debian Etch (the previous version of Debian) and 8.3 comes with Ubuntu and therefore the BricVM and all our other production systems are Debian rather than Ubuntu. However it now all works and I'm a happy man :-) regards, Paul. -- Paul Orrock Digital Craftsmen Lead SysAdmin www.digitalcraftsmen.net Exmouth House, 3 Pine Street, London, EC1R 0JH Tel: 020 7183 1410 Fax: 020 7099 5140
|