public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Progress made, not done yet Re: All of a sudden, no apache2. No clue  why.
@ 2010-08-03 22:23 Kevin O'Gorman
  2010-08-03 22:42 ` [gentoo-user] " Kevin O'Gorman
  0 siblings, 1 reply; 8+ messages in thread
From: Kevin O'Gorman @ 2010-08-03 22:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

On Fri, Jul 30, 2010 at 9:12 AM, Kyle Bader <kyle.bader@gmail.com> wrote:

> >> >  * Starting apache2 ...
> >> > (98)Address already in use: make_sock: could not bind to address
> >> > 64.166.164.49:80
> >> > no listening sockets available, shutting down
> >> > Unable to open
> >> > logs
> [
>
> Strace will probably reveal which log file can't be opened, something
> like this will probably do the trick:
>
> strace /path/to/apache2 -D <module list> -d /path/to/apache2dir
>
> It took some bash tracing to fill out that  command,  but once that was
done, it was obvious that the server was doing exactly what
had been suggested above: trying to listen (bind(2) call) on 0.0.0.0:80 as
well as my.host:80.

I had not touched my configs in ages, so I guess some default snuck in there
somehow; I suspect something to do with virtual hosts (which I do not need),
but it was easy to find and fix.  Now it comes up and serves my pages.

However, my configs contain a few ScriptAlias directories, which are full of
python programs.  They are not being executed, but
served up in source code form, even though they have an initial shebang and
remain executable by all.  So there must be some new thing to do besides
defining a ScriptAlias directory.  Anybody know what it is?


-- 
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 1893 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-08-06  2:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 22:23 [gentoo-user] Progress made, not done yet Re: All of a sudden, no apache2. No clue why Kevin O'Gorman
2010-08-03 22:42 ` [gentoo-user] " Kevin O'Gorman
2010-08-03 23:16   ` Kyle Bader
2010-08-04  1:08     ` Kevin O'Gorman
2010-08-04 17:04       ` Kyle Bader
2010-08-05 13:53         ` Kevin O'Gorman
2010-08-05 17:29           ` Kevin O'Gorman
2010-08-06  1:20             ` Kevin O'Gorman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox