Re: httpd won't start and no error entries in error_log
From: Andrew Falanga (andy_at_spam.me.not)
Date: 03/29/04
- Previous message: Andrew Falanga: "Re: httpd won't start and no error entries in error_log"
- In reply to: Vlad D. Markov: "Re: httpd won't start and no error entries in error_log"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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! =-----
- Previous message: Andrew Falanga: "Re: httpd won't start and no error entries in error_log"
- In reply to: Vlad D. Markov: "Re: httpd won't start and no error entries in error_log"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|