My live AxKit site has been down for 2 days now, I'm really stuck! I just
got a message back from my ISP. They said:

  > I'd suggest as a first port of call is to try re-compiling AxKit. 
  > Apache, Perl and mod_perl are all built with large file support.

I am trying to re-compile AxKit but, as I mentioned bellow, one of the tests
is failing. I'd welcome any help because I'm not sure what else I can do,
Here is what I've done so far:

* I've read the relevant messages on this list. I don't think [From: Alan
Edel, Sent: 12 May 2003] applies to me because I DO have large file support.

* I've checked all my versions, I don't think they are incompatible.
Basically they are [libxml2/2.5.10 XML::LibXML/1.52 libxslt/1.0.32
XML::LibXSLT/1.52 AxKit/1.62 Apache/1.3.28 Perl/5.6.1 mod_perl/1.26]

* I'm pretty sure there is not a conflict between compile flags
between mod_perl/perl and php as mentioned in the FAQ because my ISP says
Perl and mod_perl are built with large file support and php is not loaded in
the tests, which are failing.

* I have posted a stack trace and a copy on my http.conf If that helps,
however "make test" is failing so I guess that needs to be solved before I
do a "make install" anyway.

-----Original Message----- 
Hello,
I'm still trying my best to resurrect my AxKit installation. I've stated
installing it again, from scratch. When I run 
$ make test
Tests 1 to 4 fail and I get the following in t/logs/error_log

Unexpected per_dir_config = NULL at /usr/local/home/admin/downloads/AxKit
-1.62/blib/lib/Apache/AxKit/ConfigReader.pm line 43.

Could this be something to do with AxKit Segfaulting?

How might I cure it?

Thanks

Adam

-----Original Message-----
From: Adam Griffiths [mailto:[EMAIL PROTECTED] 
Sent: 05 November 2003 23:52
To: 'AxKit'
Subject: Segmentation fault AxKit 1.62

Hi,

I'm still getting the segmentation fault, but now I've got a lot more
information about it. I'd be very grateful if anyone on this list could take
a look and let me know how I might stop my AxKit Segfaulting. All the
information mentioned in the SUPPORT file is given bellow. As I previously
mentioned I've had AxKit running great for over a year now, lately I
installed the current CVS, which might have started the problems. I've
uninstalled the CVS and I'm running AxKit 1.62 but still getting the
segfault.

Regards

Adam

The Specifics
-----------------------------------------------------
1. Backtrace
2. Versions
3. Relevant httpd.conf

1. Backtrace
-----------------------------------------------------
#0  0x40199ea7 in strlen () from /lib/libc.so.6
#1  0x4042ace2 in Perl_newSVpv () from /usr/lib/apache/libperl.so
#2  0x405d19fd in ax_get_config (cfg=0x80bae60) at axconfig.c:1405
#3  0x405cb096 in XS_Apache__AxKit__ConfigReader__get_config
(my_perl=0x82c11a0, cv=0x0) at AxKit.xs:236
#4  0x40422074 in Perl_pp_entersub () from /usr/lib/apache/libperl.so
#5  0x4041bf5a in Perl_runops_standard () from /usr/lib/apache/libperl.so
#6  0x403d62c1 in S_call_body () from /usr/lib/apache/libperl.so
#7  0x403d6055 in Perl_call_sv () from /usr/lib/apache/libperl.so
#8  0x40392c24 in perl_call_handler (sv=0x839133c, r=0x839a6d0, args=0x0) at
mod_perl.c:1635
#9  0x40391f9c in perl_run_stacked_handlers (hook=0x839133c "��(\b\001",
r=0x839a6d0, handlers=0x8391348) at mod_perl.c:1349
#10 0x4038fa13 in perl_handler (r=0x839a6d0) at mod_perl.c:892
#11 0x0807677a in ap_invoke_handler ()
#12 0x0808bcb4 in process_request_internal ()
#13 0x0808becb in ap_process_request ()
#14 0x0808379b in child_main ()
#15 0x08083c7b in make_child ()
#16 0x08083d0d in startup_children ()
#17 0x0808490b in standalone_main ()
#18 0x08084ce2 in main ()
#19 0x4014616a in __libc_start_main () from /lib/libc.so.6

2. Versions
-----------------------------------------------------
    libapreq  1.0
    libxml2 2.5.10
    XML::LibXML 1.52
    XML::LibXML::Common 0.12
    XML::NamespaceSupport 1.08
    XML::XPath 1.11
    XML::Parser 2.29
    XML::Simple 1.08
    libxslt 1.0.32
    XML::LibXSLT 1.52
    AxKit 1.62
    Server version: Apache/1.3.28 (Unix)  (Red-Hat/Linux)
    Perl v5.6.1 built for i386-linux-thread-multi

3. Relevant httpd.conf
-----------------------------------------------------

LoadModule includes_module /usr/lib/apache/mod_include.so
LoadModule autoindex_module /usr/lib/apache/mod_autoindex.so
LoadModule perl_module /usr/lib/apache/libperl.so

ClearModuleList
AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_log_agent.c
AddModule mod_log_referer.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_alias.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_proxy.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_perl.c

PerlSetEnv PERL5PATH
/usr/local/perl/perllib:/usr/local/perl/perllib/i386-linux-thread-multi
<Perl>
   use lib '/usr/local/perl/perllib';
   use lib '/usr/local/perl/perllib/i386-linux-thread-multi';
</Perl>


#AxKit
###################################
PerlModule AxKit
##Apparently not nesesary for AxKit 1.6 and later
#AddType text/xml .xsp
#AddType text/xml .xml
#AddType text/xml .xsl

AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript

AxNoCache On
AxDebugLevel 10
AxLogDeclines Off
AxCacheDir /usr/local/axcache
AxGzipOutput Off
###################################

User web
Group web
LogLevel debug
NameVirtualHost ip

<VirtualHost ip>
    ServerName test.my.domain
    DocumentRoot /www/vhtdocs/test
    <Location /axkit/>
        SetHandler perl-script
        PerlHandler AxKit
        AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
    </Location>
</VirtualHost>



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



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

Reply via email to