Dear All,

I tried recomiling again, using the order that I read about here:
http://www.midgard-project.org/topic/218.html
This suggests doing Apache, MySQL, midgard-lib, mod_midgard then
midgard-php, which is the order I used.  I still get the crash.

Here is the startup, showing the server id which looks OK:

 [Sun Sep 17 04:46:49 2000] [warn] pid file
/usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of
previous
Apache run?
[Sun Sep 17 04:46:49 2000] [info] mod_unique_id: using ip addr
213.225.63.34
[Sun Sep 17 04:46:50 2000] [info] created shared memory segment #1
[Sun Sep 17 04:46:50 2000] [notice] Apache/1.3.12 (Unix)
Midgard/1.4-beta5a/SG PHP/3.0.16+Midgard/1.4-beta5a/SG configured
-- resuming normal operations
[Sun Sep 17 04:46:50 2000] [info] Server built: Sep  9 2000 18:38:48
[Sun Sep 17 04:46:50 2000] [debug] mod_midgard.c(207): Midgard:
database=<default>, username=<default>, password=<default>
[Sun Sep 17 04:46:50 2000] [debug] mod_midgard.c(207): Midgard:
database=<default>, username=<default>, password=<default>
[Sun Sep 17 04:46:50 2000] [debug] mod_midgard.c(207): Midgard:
database=<default>, username=<default>, password=<default>
[Sun Sep 17 04:46:50 2000] [debug] mod_midgard.c(207): Midgard:
database=<default>, username=<default>, password=<default>
[Sun Sep 17 04:46:50 2000] [debug] mod_midgard.c(207): Midgard:
database=<default>, username=<default>, password=<default>


I know the database access is correct, because if the password is wrong it
retries.  It only fails when the password is correct (or if I remove the
password requirement.)

Here's the message in the error log after the crash:


midgard_translate_handler(latin1, http://www2.lanifex.com:2000/)
[Sun Sep 17 04:48:35 2000] [debug] mod_midgard.c(1032): [client
212.186.33.122] Midgard: MidgardDefaultRealm Midgard
[Sun Sep 17 04:48:35 2000] [debug] mod_midgard.c(1050): [client
212.186.33.122] Midgard: host record for
www2.lanifex.com:2000 found (#1)
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1013): [client
212.186.33.122] midgard_translate_handler(latin1,
http://www2.lanifex.com:2000/)
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1032): [client
212.186.33.122] Midgard: MidgardDefaultRealm Midgard
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1050): [client
212.186.33.122] Midgard: host record for
www2.lanifex.com:2000 found (#1)
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1060): [client
212.186.33.122] Midgard: page walk status OK
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1099): [client
212.186.33.122] Midgard: page record for / found (#1)
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1112): [client
212.186.33.122] Midgard: using style #1 (19 elements)
[Sun Sep 17 04:49:43 2000] [debug] mod_midgard.c(1147): [client
212.186.33.122] Midgard_type_checker: style #1 has 19
elements
[Sun Sep 17 04:49:43 2000] [info] [client 212.186.33.122] Midgard:
Template not found code-compat
[Sun Sep 17 04:49:44 2000] [notice] child pid 11216 exit signal
Segmentation fault (11)

Here's how I configured midgard-php:

./configure  --with-mysql --with-xml --with-midgard --with-mysql
--with-apxs=/
usr/local/apache/bin/apxs --with-imap

Mod-midgard and lib-midgard both use only ./configure, with all things in
standard places.

Any help would be gratefully received.

cheers
Paul
.

Emiliano wrote:

> German Poo Caaman~o wrote:
>
> > > [Tue Sep 12 19:10:35 2000] [notice] child pid 26800 exit signal=20
> > Segmentation
> > > fault (11)
> >
> > Yesterday at nigth I updated to midgard1.4beta5 with the same
> > problem.  I isolated the problem and the result was midgard-php.
> >
> > After reinstall each package (following the right order as
> > announced on the web page) I reconfigure my midgard-php to:
> > ./configure --with-apxs --with-shared-apache=/usr/lib/apache
> > --with-apache=/usr/lib/apache --with-midgard --with-mysql=/usr
> >
> > (Using RedHat 6.2).
> >
> > After all, works fine.
>
> What configure line did you use before then?
>
> > I think that Paul could be try loading php module first,
> > after that (if it works ok) load the following.
>
> In my setup I load php3 before mod_midgard (not intentional, it just
> happened to be this way) and I see no problems.
>
> The compile order is indeed crucial, and you should always upgrade all
> three packages when you upgrade, and compile (and install) lib first.
> I don't know how all of the unixen handle .so's but I would advice to
> shutdown apache before installing the lib.
>
> Emile
>
> --
> 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]
begin:vcard 
n:Gillingwater;Paul
tel;cell:+43 699 1 922 3085
tel;home:+43 1 922 3084
tel;work:+43 1 2600 22950
x-mozilla-html:TRUE
url:http://actrix.co.at
adr:;;Schiffmuehlenstrasse 94/7/7;Vienna;;;Austria
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Paul Gillingwater
end:vcard

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