|
|
|
|
|
|
| Author |
Message |
Eric Schwartz *nix forums Guru Wannabe
Joined: 07 Mar 2005
Posts: 121
|
Posted: Mon Mar 07, 2005 4:42 pm Post subject:
Re: HTML::Mason
|
|
|
terryintransit@yahoo.com (Terry) writes:
| Quote: | 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. |
|
| Back to top |
|
 |
Terry *nix forums addict
Joined: 15 Apr 2003
Posts: 55
|
Posted: Mon Mar 07, 2005 1:45 pm Post subject:
HTML::Mason
|
|
|
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.
| Quote: | 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 |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Jan 07, 2009 5:20 pm | All times are GMT
|
|
Credit Cards | Credit Card Consolidation | Advertising | Loans | Credit Card
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|