HTML::Mason

Discussion in 'Perl Misc' started by Terry, Mar 7, 2005.

  1. Terry

    Terry Guest

    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
    Terry, Mar 7, 2005
    #1
    1. Advertising

  2. (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.
    Eric Schwartz, Mar 7, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mills Thomas (app1tam)

    Anything like Mason in Ruby?

    Mills Thomas (app1tam), Aug 5, 2003, in forum: Ruby
    Replies:
    1
    Views:
    97
    Aredridel
    Aug 6, 2003
  2. Asby

    Mason, DBI, and DBI::Pg

    Asby, Jul 24, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    173
  3. Matija Papec

    Mason pipeline style

    Matija Papec, Oct 20, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    83
    Matija Papec
    Oct 25, 2003
  4. Replies:
    5
    Views:
    357
    J. Gleixner
    Mar 9, 2005
  5. macshaggy

    HTML::Mason and User site folders

    macshaggy, Mar 23, 2007, in forum: Perl Misc
    Replies:
    7
    Views:
    132
    Don Salad
    Mar 27, 2007
Loading...

Share This Page