Re: httpd won't start and no error entries in error_log

From: Andrew Falanga (andy_at_spam.me.not)
Date: 03/29/04

  • Next message: Andrew Falanga: "Re: httpd won't start and no error entries in error_log"
    Date: Mon, 29 Mar 2004 13:03:13 -0700
    
    

    On Sun, 28 Mar 2004 20:16:10 -0500
    "Vlad D. Markov" <markov@monmouth.com> wrote:

    > On Sat, 27 Mar 2004 10:55:42 -0700
    > Andrew Falanga <andy@spam.me.not> wrote:
    >
    > <snip>
    > > Ok here's the deal. I installed apache 1.3.28 from the OpenBSD
    > > packages collection (basically, a prebuilt version for the platform
    > > on which I am running OpenBSD 3.4 (this is for those in the
    > > c.i.w.s.u newsgroup)). Then, using the same method, installed php.
    > > However, the prebuilt php package didn't have postgresql support
    > > compiled in to it.
    > >
    > > So, I removed that package and downloaded the sources myself and
    > > built php with the support installed. All went well, I configured,
    > > I made and installed.
    > >
    > > Now, when I type httpd on the command line, all that happens is the
    > > prompt is returned and the server doesn't start. There's no errors
    > > written to stdout, stderr or /var/www/logs/error_log. However, when
    > > doing echo $?, I see that apache returns a integral value of 4.
    > > Does anyone know that this means?
    > >
    > <snip>
    >
    > > Prior to this installing of php (separate of the prebuilt version),
    > > apache was working just great.
    >
    > When I got this error running OBSD chrooted apache, the code was
    > unable to find a library. Being chrooted Apache sees a different
    > directory structure rooted at "/var/www". So - it doesn't see
    > /usr/local/lib unless there is one at "/var/www/usr/local/lib". This
    > stuff gets pretty complex because the missing bits & pieces have to
    > get into the chrooted directory structure. For example I needed many
    > things from "/etc" like resolv.conf, hosts, and more for network
    > connectivity. "ldd" can show you the required shared libraries for an
    > application. The man pages are excellent for system calls. Its not
    > easy doing this yourself.
    >

    I thought of this as well, but when I first compiled PHP and tried to
    start apache. It complained about not finding the phplib. I fixed
    that, and now it simply won't start.

    Andy

    -----------
    A common mistake that people make when trying to design something
    completely foolproof is to underestimate the ingenuity of complete
    fools. -Douglas Adams

    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----


  • Next message: Andrew Falanga: "Re: httpd won't start and no error entries in error_log"

    Relevant Pages

    • Re: [SLE] SOLVED Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
      ... After looking through the log files, I found that Novell's Apparmor (using ... but not in the php or apache log. ... A brief visit to Google leads me to believe that PostGreSQL support isn't ... It seems the most common response to 'What does "PHP Fatal error: ...
      (SuSE)
    • Re: Help: getting PHP/MySQL to work
      ... >>I just disabled packetfilter and I can log in now. ... >>access the remote MySQL server though, ... > strange, i can login to a remote mysql server with pf on, chrooted apache ... > IP address in your php code and see if that works. ...
      (comp.unix.bsd.openbsd.misc)
    • Re: httpd wont start and no error entries in error_log
      ... [PHP installed from sources on OpenBSD 3.4] ... I beg to differ. ... OpenBSD's chrooted Apache really *is* something special. ...
      (comp.unix.bsd.openbsd.misc)