----- Original Message -----
From: "Paul Southworth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 10:35 AM
Subject: [midgard-user] tracking down segfaults from 1.4_CVS200109110202
(fwd)


>
> Anybody home?  Any clues would be greatly appreciated.  Thanks!!
>
> ---------- Forwarded message ----------
> Date: Tue, 11 Sep 2001 18:17:24 -0400 (EDT)
> From: Paul Southworth <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: tracking down segfaults from 1.4_CVS200109110202
>
>
> Hi, I am evaluating Midgard on a RedHat 7.1/i386 machine.  After reading
> the mailing lists it sounded like installing a CVS snapshot was the way to
> go.  I downloaded the 200109110202 snapshot.  Installation seemed really
> easy.  The web server is only being used for this Midgard testing, so
> everything is pretty vanilla RedHat 7.1 environment (plus all updates from
> RedHat).
>
> mysql-3.23.36-1
> mysql-server-3.23.36-1
> mysql-devel-3.23.36-1
>
> php-mysql-4.0.4pl1-9
> php-4.0.4pl1-9
> php-devel-4.0.4pl1-9
>
> apache-1.3.19-5
> apache-devel-1.3.19-5
>
> expat-1.95.1-1
> expat-devel-1.95.1-1
>
> glibc-common-2.2.2-10
> glibc-devel-2.2.2-10
> glibc-2.2.2-10
>
> kernel-2.4.3-12
> kernel-headers-2.4.3-12
> kernel-source-2.4.3-12
>
> midgard-data configured like this:
>
> ./configure --with-db-admin=root \
> --with-db-admin-password=yay \
> --with-blobdir=/var/midgard \
> --with-apxs=/usr/sbin/apxs \
> --with-apache-user=apache \
> --with-apache-group=apache \
> --with-install=new
>
> Didn't give any special configure args to midgard-lib or midgard-php4,
> mod_midgard configured like this:
>
> ./configure --with-apxs
>
> So I do the install of everything, dbinstall, stop & start Apache.  MySQL
> is running and I can select stuff out of it by hand with the mysql client.
>
> Connecting to the web server I get no data.  LogLevel set at debug,
> error_log says:
>
> [Tue Sep 11 15:01:08 2001] [info] created shared memory segment #1376260
> [Tue Sep 11 15:01:08 2001] [notice] Apache/1.3.19 (Unix)  (Red-Hat/Linux)
Midgard/1.4.1-cvs-20010910 mod_ssl/2.8.1 OpenSSL/0.9.6 DAV/1.0.2
PHP/4.0.4pl1 mod_perl/1.24_01 configured -- resuming normal operations
> [Tue Sep 11 15:01:08 2001] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
> [Tue Sep 11 15:01:08 2001] [info] Server built: Mar 29 2001 12:52:37
> [Tue Sep 11 15:01:15 2001] [debug] mod_midgard.c(1272): [client 127.0.0.1]
midgard_translate_handler(latin1, http://midgard:80/)
> [Tue Sep 11 15:01:15 2001] [notice] child pid 3352 exit signal
Segmentation fault (11)
>
>
> Two things I had trouble with and wondering if I should work on them:
>
> 1. Expat library - libphp4.so doesn't appear to be linked against
>    it.  Do I need to build it from scratch? I have the 1.95 expat
>    libraries installed - do I need to do anything to avoid conflicts
>    over which expat library gets used for PHP, Apache, & Midgard?  RedHat
>    builds PHP with --with-xml turned on, which means it uses Apache's
>    expat library??
>
> 2. iconv library - the site for downloading the iconv library source code
>    doesn't seem to have it anymore.  So I have iconv() from GNU libc 2.2.2
>    instead.  Bad?
>
> Any other ideas?
>
> I am running the web server on the loopback interface.
>
>
> -------------------------midgard-data.conf--------------------------------
--
> MidgardDatabase midgard midgard midgard
>
>
> ## Uncomment these if you want to use filetemplates
> # MidgardTemplate phpelements.xml
> # AddType application/x-httpd-php-midgard .mgd
>
> ## Uncomment this for PHP3,
> # MidgardRootFile "/usr/lib/apache/midgard-root.php3"
> ## or this for PHP4
> MidgardRootFile "/usr/lib/apache/midgard-root.php"
>
>
> NameVirtualHost 127.0.0.1:80
> <VirtualHost 127.0.0.1:80>
>     MidgardEngine On
>     ServerName midgard
>     Port 80
>
>     # Switch off magic quotes - it is required with Midgard
>     php_value magic_quotes_gpc off
>     php_value magic_quotes_runtime off
>
>     # Configure text parser:
>     # Change to 'russian' for Russian Midgard
>     MidgardParser latin1
>     MidgardBlobDir "/var/midgard"
>
>     # Configuration for Russian Midgard:
>     <IfModule mod_charset.c>
>      # default charset for real or virtual server (selected if all other
charset-
>      # selections methods fails)
>      CharsetDefault koi8-r
>      # Default source (on-disk) charset (we keep all content in DB in
KOI8-R
>      # encoding). If you want different encoding, please re-encode
midgard-ru.sql
>      # before inserting it into DB too.
>      CharsetSourceEnc koi8-r
>      # Force mod_charset to do its work
>      CharsetDisable Off
>     </IfModule>
> </VirtualHost>
> -------------------------midgard-data.conf--------------------------------
--
>
>
> --------------------egrep midgard
httpd.conf--------------------------------
> LoadModule midgard_module     modules/mod_midgard.so
> AddModule mod_midgard.c
> Include midgard-data.conf
> --------------------egrep midgard
httpd.conf--------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to