|
Posted by Terry on March 7, 2005, 7:45 am
Please log in for more thread options
Hi All,
Im having a strange problem with Mason, a segmentation fault is
generated in the erro_log when I attempt to view a page in the
browser. Without the Mason entry in httpd.conf the apache server works
fine.
Terry
Details
=======
AIX 4.3
Apache 1.3.33 (Unix)
mod_perl 1.29
Mason 1.28
Entry in httpd.conf
PerlModule HTML::Mason::ApacheHandler
# bring in the handler.pl file
PerlRequire /usr/local/apache/lib/mason/handler.pl
# servers these files through Mason
<LocationMatch "(.html|.txt|.pl)$">
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
</LocationMatch>
# blocks these files from being served
<LocationMatch "(.m(html|txt|pl)|dhandler|autohandler)$">
SetHandler perl-script
PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>
Error generated in error_log
[notice] child pid 44052 exit signal Segmentation fault (11)
Some difficulties were experienced when I was installing the various
prerequisite modules – this may/not be relevant to this issue
Cache-Cache-1.02
Problems with make test.
>make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1_test_cache_interface...................ok
t/2_test_memory_cache......................ok
t/3_test_file_cache........................ok
t/4_test_shared_memory_cache...............ok 1/35IPC::ShareLite
fetch() error: A system call received a parameter that is not valid
.. at
/opt/docket/docket_install_20050215/Cache-Cache-1.02/blib/lib/Cache/SharedMemoryBackend.pm
line 98
Apache::Test
Problems with make test
|
|
Posted by Eric Schwartz on March 7, 2005, 11:42 am
Please log in for more thread options
terryintransit@yahoo.com (Terry) writes:
> Im having a strange problem with Mason, a segmentation fault is
> generated in the erro_log when I attempt to view a page in the
> browser. Without the Mason entry in httpd.conf the apache server works
> fine.
This has happened to me before. In my case, the problem was that I
had forgotten to enable libapreq2 in my Apache2 config. Make sure
you've LoadModule'd it-- in the case of Debian, or a derived distro,
you can just symlink apreq.load from /etc/apache2/mods-available to
/etc/apache2/mods-enabled to enable it.
If that's not it, then I'll bet it's going to be something similar,
even if not identical-- trying to call into some library that isn't
loaded into apache.
-=Eric
--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.
-- Blair Houghton.
|
| Similar Threads | Posted | | Trying to get HTML::Mason running, stuff out-of-date? | October 6, 2004, 5:28 pm |
| HTML::Mason handle nonexistent directories | June 14, 2005, 12:45 pm |
| HTML::Mason, mod_perl on Win32 w/ActiveState Perl | December 21, 2004, 11:46 pm |
| Installation error for module in CentOS 5.0 for HTML::Mason | June 18, 2007, 10:03 pm |
| trying to use HTML::Mason on apache2 but scripts come up as plain text in the browser | October 23, 2006, 1:50 am |
| Mason install problems. | July 26, 2004, 2:54 pm |
| Mason sharing variables, rookie alert :) | July 13, 2006, 10:51 am |
| Mason Mod_Perl2.0 Apache 2.0 Fedora Core 1 AMD64 - HOW I DID IT! - | February 23, 2005, 3:19 pm |
| [RFC] HTML::Dashboard (Spreadsheet-like formatting for HTML tables) | April 16, 2007, 4:50 pm |
| HTML ---> PDF | October 27, 2004, 2:13 am |
|