httpd won't start and no error entries in error_log

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


Date: Sat, 27 Mar 2004 10:55:42 -0700

Hi there everybody,

I'm going to lay out the ground work so you'll know the context. Please
forgive me if you feel this to be overburden.

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?

I'm unable to do httpd -X. Same return code. If I do httpd -t, same
return code, same behavior. Nothing is done to indicate that and error
was encountered. This is more than highly frustrating.

For those in comp.infosystems.www.servers.unix who might not be familiar
with OpenBSD, there's nothing really "special" about their prebuilt
package. It's installed with uid & gid of www. It's chroot'd to
/var/www, and after that, it seems to be pretty much vanilla (from what
I've seen, admittedly, I'm no apache guru).

Prior to this installing of php (separate of the prebuilt version),
apache was working just great.

-----------
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! =-----



Relevant Pages

  • Re: Should I yum install php or compile it?
    ... Installing it from a package gives you a fairly standard PHP installation. ... it is even possible to add extensions using packages. ... However, if you want the latest version, extension for which no packages exists, or some other option which does not come with the package, you have to compile PHP yourself. ...
    (comp.lang.php)
  • Summary: A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... I will be installing 4.5FP6 BS on this machine so if there ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ...
    (SunManagers)
  • A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ... Installing Open Storage Array Firmware as ...
    (SunManagers)
  • Summary - Installing packages inside a zone
    ... My non-global zone was a sparse root zone and hence I wasn't able to ... I see the following errors when installing packages inside a zone after ... complaining about package conflicts. ... Read-only file system ...
    (SunManagers)
  • Re: sunmanagers Digest, Vol 34, Issue 14
    ... Christopher sent me a link to ftp.cs.tu-berlin.de that has all patches sun ... Subject: SUMMARY: Setting up mail on a Solaris Server ... however I seem to be having issues finding a binary package. ... Problems while installing 108528-29 for Sol8 machine ...
    (SunManagers)