Ben Young wrote:
> Thanks for your help.  I'm looking forward to seeing this work.  8o)
> 
> 1) We've got PHP 4 installed.

May be thats it! There's a problem with mod_perl and PHP together if 
both use mysql-interfaces and libraries.

At compile-time of PHP you have to tell it, where it can find the 
mysql-stuff. After recompiling the hole story (apache, PHP, mod_perl) 
with the ./configure directive "--with-mysql=/usr/local" while 
configuring PHP everything works without segfaults (mysql is located on 
my computer in "usr/local/mysql").

ok, now my step-by-step-instruction is in english language. hopefully 
not with to many errors. anyway: same addy, other content

http://www.loesungsraum.net/linux.html#installapachestatic

greetz

Jens



> 2) Apache created the temp directory fine.  Still the segfaults though.
> 
> Here's my config:
> 
> PerlModule AxKit
> <Location /axkit>
> AxCacheDir /tmp/axkit_cache
> SetHandler perl-script
> PerlHandler AxKit
> AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
> AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
> AxDebugLevel 10
> </Location>
> 
> Here's the most recent dump from the error_log:
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] handler
> called for /axkit/examples/index.xml
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] checking
> if we process this resource
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] media:
> screen, preferred style: #default
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] Cache: key
> = eef86d1ef6780b32acdf5270aa087923
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] getting
> styles and external entities from the XML
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] styles not
> cached - calling $provider->get_styles()
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit]
> get_styles: creating XML::Parser
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit]
> get_styles: calling
> XML::Parser->parse('/usr/local/apache/htdocs/axkit/examples/index.xml')
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] handler
> called for /axkit/examples/index.xml
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] checking
> if we process this resource
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] media:
> screen, preferred style: #default
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] Cache: key
> = eef86d1ef6780b32acdf5270aa087923
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] getting
> styles and external entities from the XML
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit] styles not
> cached - calling $provider->get_styles()
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit]
> get_styles: creating XML::Parser
> [Tue Mar  5 16:39:28 2002] [warn] [client 158.158.26.212] [AxKit]
> get_styles: calling
> XML::Parser->parse('/usr/local/apache/htdocs/axkit/examples/index.xml')
> [Tue Mar  5 16:39:29 2002] [notice] child pid 31102 exit signal Segmentation
> fault (11)
> [Tue Mar  5 16:39:29 2002] [notice] child pid 31101 exit signal Segmentation
> fault (11)
> 
> Thanks again,
> Ben
> 
> On 3/5/02 4:32 PM, "Jens W. Klein" <[EMAIL PROTECTED]> wrote:
> 
> 
>>i've got two more ideas to help you :)
>>
>>1) Do you use AxKit AND PHP? It can cause a segfault. But i dont know if
>>it cause it in this case.
>>
>>2) You're shure that the werbserver-process has the permission to write
>>the cache-file? In your config its the direcory
>>/usr/local/apache/htdocs/axkit/.xmlstyle_cache
>>it wants to create but isnt allowed to. Create it and chown it to the
>>permission needed.
>>
>>i dont know any other possible solution if 1 or 2 doesnt help. but it
>>doesnt mean, there isnt a solution ;)
>>
>>Jens
>>
>>Ben Young wrote:
>>
>>>I checked the error_log and found that there were some segfaults.  I tried
>>>the settings you suggested, but I just get the raw xml back.
>>>
>>>Thanks.
>>>
>>>Here's part of the error_log:
>>>
>>>
>>[..]
>>
>>>[Tue Mar  5 10:28:21 2002] [warn] [client 158.158.26.212] [AxKit] Can't
>>>create cache directory '/usr/local/apache/htdocs/axkit/.xmlstyle_cache':
>>>Permission denied
>>>[Tue Mar  5 10:28:21 2002] [warn] [client 158.158.26.212] [AxKit] Can't
>>>create cache directory '/usr/local/apache/htdocs/axkit/.xmlstyle_cache/bf':
>>>No such file or directory
>>>[Tue Mar  5 10:28:21 2002] [warn] [client 158.158.26.212] [AxKit] Can't
>>>create cache directory
>>>'/usr/local/apache/htdocs/axkit/.xmlstyle_cache/bf/01': No such file or
>>>directory
>>>
>>[..]
>>
>>
>>>XML::Parser->parse('/usr/local/apache/htdocs/axkit/test.xml')
>>>[Tue Mar  5 10:28:22 2002] [notice] child pid 30043 exit signal Segmentation
>>>fault (11)
>>>
>>>On 3/5/02 1:20 PM, "Jens W. Klein" <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>[..]
>>
> 


-- 
jens quadrat . AGENTUR FUER NEUE MEDIEN GbR
fon ++43 . 512 . 93 - 8090 od. 3073
mob ++43 . 650 . 93 - 80900
http://www.jensquadrat.de


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

Reply via email to