Hello Otto, I was confused if I could start it manually or not. There was indeed a little mistake in the configuration regarding the paths of the certificate. It's now solved. Thank you to both of you
----- Mail original ----- > De : Otto Moerbeek <[email protected]> > À : Mik J <[email protected]> > Cc : "[email protected]" <[email protected]> > Envoyé le : Vendredi 20 juillet 2012 14h22 > Objet : Re: Re : Apache won't start after pecl-imagick installation > > On Fri, Jul 20, 2012 at 12:20:38PM +0100, Mik J wrote: > >> Hello David, >> Yes I did create it, if there is a configuration problem then I >> don't see anything in the logs. >> I'm wondering how to debug this. > > Start apache on the command line as httpd and you'll probably see the error. > > > -Otto > > >> >> >> >> ----- Mail >> original ----- >> > De?: David Diggles <[email protected]> >> > ??: >> [email protected] >> > Cc?: >> > Envoy? le : Vendredi 20 juillet 2012 11h07 >> > >> Objet?: Re: Re : Apache won't start after pecl-imagick installation >> > >> > Maybe >> a stupid question, but did you create the certificate the steps in the >> > FAQ? >> > >> > http://www.openbsd.org/faq/faq10.html#HTTPS >> > >> > On Fri, Jul 20, 2012 at >> 09:23:53AM +0100, Mik J wrote: >> >> Hello, >> >> >> >> I'm coming back with this >> Apache startup that works fine but yesterday >> >> I added the -DSSL option in >> /etc/rc.conf but Apache won't start >> >> # >> >> /etc/rc.d/httpd start >> >> >> httpd(failed) >> >> >> >> I've looked at all the logs I could find >> >> but >> couldn't see why it failed. Is Apache SSL with lpthread supposed to >> > work ? >> >> ----- Mail original ----- >> >> > De?: Mik J <[email protected]> >> >> > ??: >> >> "[email protected]" <[email protected]> >> >> > Cc?: >> >> > Envoy? le : Mardi >> 8 mai 2012 >> >> 22h08 >> >> > Objet?: Re : Apache won't start after pecl-imagick >> installation >> >> > >> >> >Thank you for your answer. >> >> > I did use apachectl >> but after your email I >> >> followed your suggestions and it works. >> >> > I >> have notice now that the command >> >> apachectl doesn't work at all now, >> >> > >> when I read your email I thought that it >> >> wouldn't work for the first time >> only. >> >> > I'm wondering if the apachectl >> >> command will end >> >> > being >> deprecated if it doesn't allow apache to restart >> >> without us wondering >> >> >> > if it has to pre load some libraries or not. >> >> > Have a >> >> good day >> >> > >> >> > ----- Mail >> >> > original ----- >> >> >>? De : Stuart Henderson >> >> >> <[email protected]> >> >> >>? @ : >> >> > [email protected] >> >> >>? Cc : >> >> >>? >> Envoyi le : >> >> Mardi 8 mai 2012 16h06 >> >> >>? Objet : Re: >> >> > Apache won't >> start after pecl-imagick >> >> installation >> >> >> >> >> >>? On 2012-05-08, Mik J >> >> > <[email protected]> wrote: >> >> >>> ? >> >> Hello, >> >> >>> >> >> >>> >> >> >> >>> ? I'm reinstalling my system >> >> > from 4.9 to 5.1 >> >> >>> ? I >> >> have >> installed >> >> >>> ? pecl-imagick and stopped/started >> >> > Apache but I have a >> >> seg fault (core >> >> >>? dumped). >> >> >>> ? If I uninstall this >> >> > >> package Apache >> >> stops/starts nicely. >> >> >>> >> >> >>> ? I have read this >> page >> >> >>> >> >> > >> >> http://www.openbsd.org/faq/upgrade50.html#Pkgup >> >> >> >>> ? The last point talks >> >> about >> >> > my >> >> >>> ? problem and advices to >> add in /etc/login.conf >> >> >>> ? httpd:\ >> >> >>> >> >> > >> :setenv=LD_PRELOAD=/usr/lib/libpthread.so:\ >> >> >>> ? :tc=daemon: >> >> >>> >> >> >> >>> >> >> ? This >> >> > doesn't help, >> >> >>> ? I still have the same problem >> with Apache. >> >> >> >> >> >> >> >> How did you >> >> > start Apache? You will need >> to use "/etc/rc.d/httpd >> >> >> >> >> restart" >> >> >>? (or reboot) >> >> > so it's >> started from the system rc scripts for this >> >> to take >> >> >>? effect, >> >> > >> "apachectl" does not handle this. >> >> >> >> >> >>> ? Also >> >> >> /usr/lib/libpthread.so doesn't >> >> >>> ? exist so I replaced it with >> >> >> /usr/lib/libpthread.so.13.3 but still no >> >> >> >> >> > success. >> >> >> >> >> >> >>? No the >> >> instructions are correct, use /usr/lib/libpthread.so

