Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Mod Perl Error

by manorhce (Beadle)
on Feb 05, 2013 at 13:51 UTC ( #1017167=perlquestion: print w/ replies, xml ) Need Help??
manorhce has asked for the wisdom of the Perl Monks concerning the following question:

Hi I need help on Mod Perl regularly I am getting error like

ModPerl::Util::exit: (120000) exit was called at /usr/local/share/perl/5.8.8/Log/Log4perl/Logger.pm line 984

ModPerl::Util::exit: (120000) exit was called at /usr/local/share/perl/5.8.8/Log/Log4perl/Logger.pm line 984

ModPerl::Util::exit: (120000) exit was called at /usr/local/share/perl/5.8.8/Log/Log4perl/Logger.pm line 984

My Application is running since last 7+ more years facing this error now

We have not done any code change here but why this error message came now

Comment on Mod Perl Error
Re: Mod Perl Error
by MidLifeXis (Prior) on Feb 05, 2013 at 13:54 UTC

    Was your Perl library updated recently? Specifically /usr/local/share/perl/5.8.8/Log/Log4perl/Logger.pm

    --MidLifeXis

      The Application is up and running and we have not updated directly into production

        At least one of these three has to be false:

        • X was running yesterday
        • Nothing* changed
        • output is now different today
        * this includes the OS, patches, other applications, environment, ...

        --MidLifeXis

Re: Mod Perl Error (NOT)
by Anonymous Monk on Feb 05, 2013 at 14:01 UTC

    We have not done any code change here but why this error message came now

    Because only now you have invoked that code path?

    logdie is logdie, if you open up that file and look at it, the exit is in logcroak

    If you grep the source/pod/dist for logcroak, you'll find talk of  use Log::Log4perl qw(:no_extra_logdie_message);

    So there you have it, your program is using some flavor of LOGEXIT/LOGDIE , and log4perl does its job

Re: Mod Perl Error
by vinoth.ree (Parson) on Feb 05, 2013 at 14:03 UTC
Re: Mod Perl Error
by manorhce (Beadle) on Feb 05, 2013 at 14:21 UTC

    My Code is running without "no_extra_logdie_message"

    Yes we are using Log4perl and code used below modules

    use Log::Log4perl; use Log::Log4perl::Level; use Log::Log4perl::Layout; use Log::Log4perl::Appender; use Log::Log4perl::Appender::String; use Log::Log4perl::Filter;

    from error it is showing something wrong with 984

    983 $Log::Log4perl::LOGDIE_MESSAGE_ON_STDERR ? 984 confess($msg) : 985 exit($Log::Log4perl::LOGEXIT_CODE); 986 }

      Not much use in quoting from log4perl, there is nothing wrong with the module, just the way you use it

Re: Mod Perl Error
by manorhce (Beadle) on Feb 05, 2013 at 17:38 UTC

    The issue started when we restarted the server after a very long time

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1017167]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-09-18 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (126 votes), past polls