Emiliano wrote:
> 
> David Banning wrote:
> 
> > > Disable all Midgard directives in httpd.conf and restart apache, let's
> > > see if the problem goes away.
> >
> > I commented out all areas of httpd.conf that start with "Midgard"
> > Following an apache restart I got exactly the same errors;
> 
> Also remove the Load/Addmodule for mod_midgard and mod_php3 temporarily.

It is compiled in - I don't have any Load/Addmodule settings in
httpd.conf


> See if you can access the midgard database as
>   $ mysql -u midgard -pmidgard midgard

OK - my problem here was that I did not have midgard in /etc/passwd
now that I have, your suggested "$ mysql -u midgard -pmidgard midgard"
works

> If that's OK, set
>   MidgardDatabase midgard midgard midgard
> before any other Midgard directives, other than the Load/Addmodule
> statements.

Here's where the problem starts with telnet - without
any reference to midgard and without "MidgardDatabase midgard midgard
midgard"
I get a seemingly good response:
$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / http\1.1
HOST: d.tracker

HTTP/1.1 200 OK
Date: Wed, 13 Sep 2000 06:14:17 GMT
Server: Apache/1.3.12 (Unix) Midgard/1.2.5 PHP/3.0.12+Midgard/1.2.5
Content-Location: index.html.en
Vary: negotiate,accept-language,accept-charset
TCN: choice
Last-Modified: Thu, 03 Aug 2000 04:19:05 GMT
ETag: "3e5c-556-3988f2b9;3988a786"
Accept-Ranges: bytes
Content-Length: 1366
Connection: close
Content-Type: text/html
Content-Language: en
Expires: Wed, 13 Sep 2000 06:14:17 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
 <HEAD>
  <TITLE>Test Page for Apache Installation</TITLE>  
the rest of test page....

but if I enter the single line
"MidgardDatabase midgard midgard midgard" 
in httpd.conf (then stop and restart apache) then 
I get no response after:

$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / http\1.1
HOST: d.tracker

it just locks up here.


> 
> > and got an endless run of this in error_log:
> >
> > [Mon Sep 11 12:46:45 2000] [crit] Midgard: Access denied for user:
> > 'midgard@localhost' (Using password: Y
> > ES)
> > [Mon Sep 11 12:46:45 2000] [notice] child pid 1579 exit signal
> > Segmentation fault (11)
> 
> Temporarily disable mod_midgard & php3, let's try to find out what's
> causing
> this.
Can't disable those, I guess unless I recompile without them in.
Should I do that?


Armand Verstappen wrote:
> Actually, when using 'the poor man's brower' telnet, apache doesn't know
> if you did
> telnet localhost 80 or telnet d.tracker 80. This is how to do it:
> 
> telnet localhost 80
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> GET / http\1.1
> HOST: d.tracker
> 
> (you will have to give an extra return after your last line of input)
> 
> But I think I saw you post that your site is supposed to be running on
> port 8080 and in that case telnet localhost 8080 will yield much better
> results.

This 8080 vs 80 business and d.tracker vs localhost has me really
confused
I don't know where to put my 80's, or 8080's. 
In httpd.conf - the only such ref I have now is "Port 80", with no other
ref to 80 or 8080 in that file.
My /etc/hosts file is just simply:
127.0.0.1               localhost
10.0.0.1                d.tracker

> > > This must be a full path unless midgard-root.php3 is in the directory
> > > as specified with ServerRoot.
> > ServerRoot is specified -
> 
> but is midgard-root.php3 there?

yes, it is, at least was, before I eliminated all references to
midgard, as discussed above.

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to