Tarjei Huse | 1 Jul 17:42
Picon
Favicon
Gravatar

trying to get apache2 working

Hi, now it's my turn :-)

I've installed SuSE 9.1 and am trying to get apache2 working.

I've compiled everything from midgard-beta.

Apache2 segfaults when I try starting it.

Heres the gdb stacktrace:
[Switching to Thread 16384 (LWP 29938)]
0x00000019 in ?? ()
(gdb) bt
#0  0x00000019 in ?? ()
#1  0x4066d01f in hash_insert () from /usr/lib/libmysqlclient.so.12
#2  0x42a14908 in find_alias () from /usr/lib/librecode.so.0
#3  0x42a1521d in recode_new_outer () from /usr/lib/librecode.so.0
#4  0x429c440f in zm_startup_recode () from
/usr/lib/php/extensions/recode.so
#5  0x403e010d in php_dl () from /usr/lib/apache2-prefork/libphp4.so
#6  0x4044770d in php_load_function_extension_cb () from
/usr/lib/apache2-prefork/libphp4.so
#7  0x4046a2c8 in zend_llist_apply () from
/usr/lib/apache2-prefork/libphp4.so
#8  0x404476b7 in php_ini_delayed_modules_startup () from
/usr/lib/apache2-prefork/libphp4.so
#9  0x40444225 in php_module_startup () from
/usr/lib/apache2-prefork/libphp4.so
#10 0x40484f80 in php_apache2_startup () from
/usr/lib/apache2-prefork/libphp4.so
#11 0x404bd280 in php_dir_cmds () from
(Continue reading)

Piotras | 1 Jul 18:14

Re: trying to get apache2 working

Tarjei Huse <tarjei@...> wrote:

> Hi, now it's my turn :-)

wow :)

> 
> I've installed SuSE 9.1 and am trying to get apache2 working.
> 
> I've compiled everything from midgard-beta.
> 

Can you send configure options?

Piotras
Tarjei Huse | 1 Jul 18:15
Picon
Favicon
Gravatar

Re: trying to get apache2 working


> > Hi, now it's my turn :-)
> wow :)
wow? it was just a matter of time ;-)
Btw, how should midgard-data be packaged?

> Can you send configure options?
web:/usr/src/packages/SPECS # grep midgard-1.6.0.spec -e configure
rm -f configure
./configure --prefix=/usr --sysconfdir=/etc/midgard --with-sitegroups
--with-mysql=/usr --with-expat --with-repligard-enhance 
--without-multilang --libdir=%{_libdir}
./configure --with-ntlm-auth --with-midgard=/usr --with-mysql=/usr
--with-expat=/usr --with-apxs=/usr/sbin/apxs2-prefork
--with-midgard-config=../midgard-core-%{version}%{extraversion}/midgard-config
--with-midgard=%{_libdir} --libdir=%{_libdir}
# ./configure --with-midgard  --with-php-config=/usr/bin/php-config
--libdir=%{_libdir}

PHP has been compiled with mysql as a module, I've checked that.

Tarjei

> Piotras
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
Tarjei Huse | 1 Jul 18:18
Picon
Favicon
Gravatar

Re: trying to get apache2 working

Oh, and I just forgot, midgard-php is compiled with:
./mkall --with-apxs2 --with-apr-config=yes

Tarjei
On Thu, 2004-07-01 at 18:15, Tarjei Huse wrote:
> > > Hi, now it's my turn :-)
> > wow :)
> wow? it was just a matter of time ;-)
> Btw, how should midgard-data be packaged?
> 
> > Can you send configure options?
> web:/usr/src/packages/SPECS # grep midgard-1.6.0.spec -e configure
> rm -f configure
> ./configure --prefix=/usr --sysconfdir=/etc/midgard --with-sitegroups
> --with-mysql=/usr --with-expat --with-repligard-enhance 
> --without-multilang --libdir=%{_libdir}
> ./configure --with-ntlm-auth --with-midgard=/usr --with-mysql=/usr
> --with-expat=/usr --with-apxs=/usr/sbin/apxs2-prefork
> --with-midgard-config=../midgard-core-%{version}%{extraversion}/midgard-config
--with-midgard=%{_libdir} --libdir=%{_libdir}
> # ./configure --with-midgard  --with-php-config=/usr/bin/php-config
> --libdir=%{_libdir}
> 
> 
> PHP has been compiled with mysql as a module, I've checked that.
> 
> Tarjei
> 
> > Piotras
> > 
(Continue reading)

Siewke Miesnieks | 2 Jul 02:04
Picon

RE: trying to get apache2 working

Hi,
I can see that everyone has been trying to run the beta version of Midgard
on Apache 2. Can some one tell me when the final version will be released or
the contact details of the Midgard developers.

Thx heaps

-----Original Message-----
From: Tarjei Huse [mailto:tarjei@...]
Sent: Friday, 2 July 2004 2:18 AM
To: dev@...
Subject: Re: [midgard-dev] trying to get apache2 working

Oh, and I just forgot, midgard-php is compiled with:
./mkall --with-apxs2 --with-apr-config=yes

Tarjei
On Thu, 2004-07-01 at 18:15, Tarjei Huse wrote:
> > > Hi, now it's my turn :-)
> > wow :)
> wow? it was just a matter of time ;-)
> Btw, how should midgard-data be packaged?
>
> > Can you send configure options?
> web:/usr/src/packages/SPECS # grep midgard-1.6.0.spec -e configure
> rm -f configure
> ./configure --prefix=/usr --sysconfdir=/etc/midgard --with-sitegroups
> --with-mysql=/usr --with-expat --with-repligard-enhance
> --without-multilang --libdir=%{_libdir}
> ./configure --with-ntlm-auth --with-midgard=/usr --with-mysql=/usr
(Continue reading)

Piotras | 2 Jul 13:18

Re: trying to get apache2 working

Tarjei Huse <tarjei@...> wrote:

> 
> > > Hi, now it's my turn :-)
> > wow :)
> wow? it was just a matter of time ;-)
> Btw, how should midgard-data be packaged?

Currently You should create path.config.suse, and  make changes to datagard.
But I would like to switch to configure , make , make install ASAP.
So creating path.config.suse will be only temporary solution.

> > Can you send configure options?
> web:/usr/src/packages/SPECS # grep midgard-1.6.0.spec -e configure
> rm -f configure
> ./configure --prefix=/usr --sysconfdir=/etc/midgard --with-sitegroups
> --with-mysql=/usr --with-expat --with-repligard-enhance 
> --without-multilang --libdir=%{_libdir}
> ./configure --with-ntlm-auth --with-midgard=/usr --with-mysql=/usr
> --with-expat=/usr --with-apxs=/usr/sbin/apxs2-prefork
> --with-midgard-config=../midgard-core-%{version}%{extraversion}/midgard-config
--with-midgard=%{_libdir} --libdir=%{_libdir}
> # ./configure --with-midgard  --with-php-config=/usr/bin/php-config
> --libdir=%{_libdir}

What is for what?

Piotras
Piotras | 2 Jul 13:19

Re: trying to get apache2 working

Tarjei Huse <tarjei@...> wrote:

> Oh, and I just forgot, midgard-php is compiled with:
> ./mkall --with-apxs2 --with-apr-config=yes

If apr-config was not found use full path to binary instead of yes.

Piotras
Tarjei Huse | 2 Jul 13:50
Picon
Favicon
Gravatar

Re: trying to get apache2 working

On Fri, 2004-07-02 at 13:18, Piotras wrote:
> Tarjei Huse <tarjei@...> wrote:
> 
> > 
> > > > Hi, now it's my turn :-)
> > > wow :)
> > wow? it was just a matter of time ;-)
> > Btw, how should midgard-data be packaged?
> 
> Currently You should create path.config.suse, and  make changes to datagard.
> But I would like to switch to configure , make , make install ASAP.
> So creating path.config.suse will be only temporary solution.

Ok. I made a path.config.suse, but managed to delete it again ;/

btw, do drop by #midgard on this.

> > > Can you send configure options?
> > web:/usr/src/packages/SPECS # grep midgard-1.6.0.spec -e configure
> > rm -f configure
> > ./configure --prefix=/usr --sysconfdir=/etc/midgard --with-sitegroups
> > --with-mysql=/usr --with-expat --with-repligard-enhance 
> > --without-multilang --libdir=%{_libdir}
this is -core
> > ./configure --with-ntlm-auth --with-midgard=/usr --with-mysql=/usr
> > --with-expat=/usr --with-apxs=/usr/sbin/apxs2-prefork
this is -apache2
> > --with-midgard-config=../midgard-core-%{version}%{extraversion}/midgard-config
--with-midgard=%{_libdir} --libdir=%{_libdir}
> > # ./configure --with-midgard  --with-php-config=/usr/bin/php-config
(Continue reading)

Tarjei Huse | 2 Jul 14:02
Picon
Favicon
Gravatar

Re: trying to get apache2 working

On Fri, 2004-07-02 at 13:19, Piotras wrote:
> Tarjei Huse <tarjei@...> wrote:
> 
> > Oh, and I just forgot, midgard-php is compiled with:
> > ./mkall --with-apxs2 --with-apr-config=yes
> 
> If apr-config was not found use full path to binary instead of yes.

Ok, I tried to run configure on the commandline, here's what I found:

web:/usr/src/packages/BUILD/midgard-1.6.0/midgard-apache2-1.6.0beta1 #
./configure --with-apxs=/usr/sbin/apxs2-prefork --with-apr
checking for midgard-config... unspecified, trying PATH...
checking for midgard-config... /usr/sbin/midgard-config
checking for a BSD-compatible install... /usr/bin/install -c
checking for static Apache module build... no
checking for apxs2... /usr/sbin/apxs2
configure: WARNING: Your apxs seems to be broken (CFG_LD_SHLIB not
defined)
....

As you see, SuSE has made one apxs for each MPM, maybe this is part of
the problem.

ls /usr/sbin/apxs2*
/usr/sbin/apxs2  /usr/sbin/apxs2-leader  /usr/sbin/apxs2-metuxmpm 
/usr/sbin/apxs2-prefork  /usr/sbin/apxs2-worker

Tarjei

(Continue reading)

Piotras | 2 Jul 14:28

Re: trying to get apache2 working

"Siewke Miesnieks" <silk@...> wrote:

> Hi,
> I can see that everyone has been trying to run the beta version of Midgard
> on Apache 2. Can some one tell me when the final version will be released or
> the contact details of the Midgard developers.

Midgard 1.6 stable will be released "on the right time".
Altough "right time" is not particular date, we try to make Midgard 
as easy to install as possible. Also we try to release binary packages
for most popular Linux distributions. 1.6 beta2 will be released in July.
I can not tell you more about stable Apache2 support , as Apache1 support
is stable and considered as deafult one. If You need and informations from 
Midgard developers , please send mail to dev@...

Piotras

Gmane