niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl » modules
HTML::Mason
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Eric Schwartz
*nix forums Guru Wannabe


Joined: 07 Mar 2005
Posts: 121

PostPosted: Mon Mar 07, 2005 4:42 pm    Post subject: Re: HTML::Mason Reply with quote

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

PostPosted: Mon Mar 07, 2005 1:45 pm    Post subject: HTML::Mason Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Wed Jan 07, 2009 5:20 pm | All times are GMT
navigation Forum index » Programming » Perl » modules
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Timeout in HTML Sonnich PHP 5 Wed Jul 19, 2006 3:54 pm
No new posts html processing Chris ( Val ) shell 1 Wed Jul 19, 2006 2:50 pm
No new posts text representation of HTML Ksenia Marasanova python 5 Wed Jul 19, 2006 10:09 am
No new posts problem due to html files, Ashutosh Mohanty Apache 2 Wed Jul 19, 2006 6:43 am
No new posts unicode html lorenzo.viscanti@gmail.co python 14 Mon Jul 17, 2006 12:36 pm

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
[ Time: 0.2963s ][ Queries: 20 (0.1791s) ][ GZIP on - Debug on ]