Loading ...
Sorry, an error occurred while loading the content.
 

Re: [mp2] $timeout & Re: "server failed to start!"

Expand Messages
  • Geoffrey Young
    ... I swapped the order in CVS. thanks. --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html
    Message 1 of 22 , Mar 4, 2004
      > my $timeout = $vars->{startup_timeout} ||
      > $ENV{APACHE_TEST_STARTUP_TIMEOUT} ||
      > 60;

      I swapped the order in CVS. thanks.

      --Geoff


      --
      Report problems: http://perl.apache.org/bugs/
      Mail list info: http://perl.apache.org/maillist/modperl.html
      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
    • Stas Bekman
      ... Try: t/TEST -startup_timeout=600 ... Thanks for pointing that out. That will be fixed in 1.99_13. ... Thanks for the thanks ;)
      Message 2 of 22 , Mar 4, 2004
        Edouard Lagache wrote:
        > Dear mod_perl community,
        >
        > Randy Kobes <randy@...> wrote at Wed, 3 Mar
        > 2004 19:54:47 -0600
        > ... snip ...
        >
        >>>>waiting 120 seconds for server to start: giving up after 121 secs
        >>>>!!! server failed to start!
        >
        > ... snip ...
        >
        >>Does it help if you set the APACHE_TEST_STARTUP_TIMEOUT
        >>environment variable to, say, 200?
        >
        >
        > Alas no, it does not, as shown below:

        Try:

        t/TEST -startup_timeout=600

        > In addition, version 1.99_12 of mod_perl ignores the value of the
        > environment APACHE_TEST_STARTUP_TIMEOUT because the test script now
        > assign's a value to the configuration variable 'startup_timeout', and
        > that will always override APACHE_TEST_STARTUP_TIMEOUT because as line 526
        > of Apache-Test/lib/Apache/TestServer.pm reads:
        >
        > my $timeout = $vars->{startup_timeout} ||
        > $ENV{APACHE_TEST_STARTUP_TIMEOUT} ||
        > 60;
        >
        > The value of the configuration setting 'startup_timeout' is automatically
        > generated at line 21 of lib/ModPerl/TestRun.pm. So the only way right
        > now to change the value of the $timeout variable above is to edit lib/
        > ModPerl/TestRun.pm (or eqv.)

        Thanks for pointing that out. That will be fixed in 1.99_13.

        > Thanks to everyone who contributes to the mod_perl project!

        Thanks for the thanks ;)

        __________________________________________________________________
        Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
        http://stason.org/ mod_perl Guide ---> http://perl.apache.org
        mailto:stas@... http://use.perl.org http://apacheweek.com
        http://modperlbook.org http://apache.org http://ticketmaster.com

        --
        Report problems: http://perl.apache.org/bugs/
        Mail list info: http://perl.apache.org/maillist/modperl.html
        List etiquette: http://perl.apache.org/maillist/email-etiquette.html
      • Stas Bekman
        ... No, Geoff, the order was correct. Command line options override env vars. The correct patch seems to be: Index: lib/ModPerl/TestRun.pm
        Message 3 of 22 , Mar 4, 2004
          Geoffrey Young wrote:
          >> my $timeout = $vars->{startup_timeout} ||
          >> $ENV{APACHE_TEST_STARTUP_TIMEOUT} ||
          >> 60;
          >
          >
          > I swapped the order in CVS. thanks.

          No, Geoff, the order was correct. Command line options override env vars.

          The correct patch seems to be:

          Index: lib/ModPerl/TestRun.pm
          ===================================================================
          RCS file: /home/cvs/modperl-2.0/lib/ModPerl/TestRun.pm,v
          retrieving revision 1.19
          diff -u -r1.19 TestRun.pm
          --- lib/ModPerl/TestRun.pm 4 Mar 2004 06:01:06 -0000 1.19
          +++ lib/ModPerl/TestRun.pm 4 Mar 2004 22:27:08 -0000
          @@ -32,6 +32,7 @@
          # default timeout in secs (threaded mpms are extremely slow to
          # startup, due to a slow perl_clone operation)
          $self->{conf_opts}->{startup_timeout} ||=
          + $ENV{APACHE_TEST_STARTUP_TIMEOUT} ||
          Apache::Build->build_config->mpm_is_threaded() ? 300 : 120;

          $self->{conf_opts}->{maxclients} ||= MIN_MAXCLIENTS;


          __________________________________________________________________
          Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
          http://stason.org/ mod_perl Guide ---> http://perl.apache.org
          mailto:stas@... http://use.perl.org http://apacheweek.com
          http://modperlbook.org http://apache.org http://ticketmaster.com

          --
          Report problems: http://perl.apache.org/bugs/
          Mail list info: http://perl.apache.org/maillist/modperl.html
          List etiquette: http://perl.apache.org/maillist/email-etiquette.html
        • Edouard Lagache
          Stas Bekman wrote at Thu, 4 Mar 2004 14:24:59 -0800 ... Sad to report that either way - not the desired outcome (???) My five cent attempt
          Message 4 of 22 , Mar 4, 2004
            Stas Bekman <stas@...> wrote at Thu, 4 Mar 2004 14:24:59 -0800

            >Edouard Lagache wrote:
            ... snip ...
            >>>>>waiting 120 seconds for server to start: giving up after 121 secs
            >>>>>!!! server failed to start!
            ... snip ...
            >
            >Try:
            >
            >t/TEST -startup_timeout=600

            *Sigh* trying this literally causes:

            >canebas.org [780]% t/TEST -startup_timeout=600
            >!!! unknown opts or test names: -startup_timeout=600
            >-help will list options

            Just in case of command line processing weirdness I tried:

            >canebas.org [776]% t/TEST -startup_timeout 600
            >/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_12/t -f /
            >usr/local/src/mod_perl-1.99_12/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
            >using Apache/2.0.48 (prefork MPM)
            >
            >waiting 120 seconds for server to start:
            ^^^
            >.....................................

            Sad to report that either way - not the desired outcome (???) My five
            cent attempt to peer into the mod_perl code in search of the cause went
            nowhere.

            Sorry, folks - back to you'all!

            Peace, Edouard

            P.S. Just to be sure, I uncompressed a new distribution from the 1.99_12
            tarball before running any of the above.
            --------------------------
            Edouard Lagache, Sysadmin
            canebas.org
            elagache@...
            29 Altamount Drive
            Orinda, CA, 94563


            --
            Report problems: http://perl.apache.org/bugs/
            Mail list info: http://perl.apache.org/maillist/modperl.html
            List etiquette: http://perl.apache.org/maillist/email-etiquette.html
          • Stas Bekman
            ... ah, sorry, I should have checked before suggesting that option. It was fixed in the current cvs: modperl-2.0/Changes: make t/TEST -startup_timeout secs
            Message 5 of 22 , Mar 4, 2004
              Edouard Lagache wrote:
              > Stas Bekman <stas@...> wrote at Thu, 4 Mar 2004 14:24:59 -0800
              >
              >
              >>Edouard Lagache wrote:
              >
              > ... snip ...
              >
              >>>>>>waiting 120 seconds for server to start: giving up after 121 secs
              >>>>>>!!! server failed to start!
              >
              > ... snip ...
              >
              >>Try:
              >>
              >>t/TEST -startup_timeout=600
              >
              >
              > *Sigh* trying this literally causes:

              ah, sorry, I should have checked before suggesting that option. It was fixed
              in the current cvs:

              modperl-2.0/Changes:
              make 't/TEST -startup_timeout secs' working (previously user's value
              was ignored) [Stas]

              so either just change lib/ModPerl/TestRun.pm to set a higher value, or use the
              current cvs (which is the preferred way, so you can test the latest fixes).

              But something is telling me that this is not the real problem. The process
              starts but probably it doesn't respond. A simple:

              t/TEST -ping

              will tell you whether it's really running or just hanging there.

              __________________________________________________________________
              Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
              http://stason.org/ mod_perl Guide ---> http://perl.apache.org
              mailto:stas@... http://use.perl.org http://apacheweek.com
              http://modperlbook.org http://apache.org http://ticketmaster.com

              --
              Report problems: http://perl.apache.org/bugs/
              Mail list info: http://perl.apache.org/maillist/modperl.html
              List etiquette: http://perl.apache.org/maillist/email-etiquette.html
            • Edouard Lagache
              Stas Bekman wrote at Thu, 4 Mar 2004 15:23:04 -0800 ... I ll snag a copy of the current CVS to see if that helps. Thank you for everyone s
              Message 6 of 22 , Mar 4, 2004
                Stas Bekman <stas@...> wrote at Thu, 4 Mar 2004 15:23:04 -0800

                >But something is telling me that this is not the real problem. The process
                >starts but probably it doesn't respond. A simple:
                >
                >t/TEST -ping
                >
                >will tell you whether it's really running or just hanging there.

                Indeed your hypothesis is correct:

                >canebas.org [785]% t/TEST -ping
                >*** no server is running on localhost:8529
                >canebas.org [786]% ps ax | grep httpd
                >21564 pts/9 S 0:00 /usr/local/apache2/bin/httpd -d /usr/local/
                >src/mod_perl-1.99_12/t -f /usr/local/src/mod_perl-1.99_12/t/conf/
                >httpd.conf -DAPACHE2 -DPERL_USEITHREADS

                I'll snag a copy of the current CVS to see if that helps.

                Thank you for everyone's help!

                Peace, Edouard :-)

                --------------------------
                Edouard Lagache, Sysadmin
                canebas.org
                elagache@...
                29 Altamount Drive
                Orinda, CA, 94563


                --
                Report problems: http://perl.apache.org/bugs/
                Mail list info: http://perl.apache.org/maillist/modperl.html
                List etiquette: http://perl.apache.org/maillist/email-etiquette.html
              • Randy Kobes
                ... Is there anything in the mod_perl t/logs/ error log that s relevant? In particular, is there any suggestions about raising some Apache configuration
                Message 7 of 22 , Mar 4, 2004
                  On Thu, 4 Mar 2004, Edouard Lagache wrote:

                  > Dear mod_perl community,
                  >
                  > Randy Kobes <randy@...> wrote at Wed, 3 Mar
                  > 2004 19:54:47 -0600
                  > ... snip ...
                  > >
                  > >Does it help if you set the APACHE_TEST_STARTUP_TIMEOUT
                  > >environment variable to, say, 200?
                  >
                  > Alas no, it does not, as shown below:
                  >
                  > >/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_12/t -f /
                  > >usr/local/src/mod_perl-1.99_12/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
                  > >using Apache/2.0.48 (prefork MPM)
                  > >
                  > >waiting 300 seconds for server to start:
                  > >..................................... snip ....
                  > >waiting 300 seconds for server to start: giving up after 301 secs
                  > >!!! server failed to start!
                  > >

                  Is there anything in the mod_perl t/logs/ error log that's
                  relevant? In particular, is there any suggestions about
                  raising some Apache configuration limits?

                  --
                  best regards,
                  randy

                  --
                  Report problems: http://perl.apache.org/bugs/
                  Mail list info: http://perl.apache.org/maillist/modperl.html
                  List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                • Edouard Lagache
                  Dear mod_perl community, As promised, I grabbed a snapshot of CVS and attempted to build that. It behaved identically to 1.99_12 - the server is running but
                  Message 8 of 22 , Mar 5, 2004
                    Dear mod_perl community,

                    As promised, I grabbed a snapshot of CVS and attempted to build that. It
                    behaved identically to 1.99_12 - the server is running but the test
                    scripts fail to connect (as shown below.) If I run the server on the
                    same port (8529), I can connect fine, so the problem isn't network or
                    server alone.

                    Randy Kobes <randy@...> wrote at Thu, 4 Mar
                    2004 22:42:50 -0600

                    >Is there anything in the mod_perl t/logs/ error log that's
                    >relevant? In particular, is there any suggestions about
                    >raising some Apache configuration limits?

                    Unfortunately, the t/logs/error_log file is never created (see below.)

                    I've got a work around for mod_perl for now, so no crisis here. I
                    therefore toss the problem back to you all for pondering at your leisure
                    (assuming leisure is a meaningful concept anymore! :-)

                    Thanks all for everything!

                    Peace, Edouard :-)

                    -----------------------------------------------------------------------
                    perl Makefile.PL MP_INST_APACHE2=1 MP_APXS=/usr/local/apache2/bin/apxs
                    MP_APR_CONFIG=/usr/local/apache2/bin/apr-config
                    Reading Makefile.PL args from @ARGV
                    MP_INST_APACHE2 = 1
                    MP_APXS = /usr/local/apache2/bin/apxs
                    MP_APR_CONFIG = /usr/local/apache2/bin/apr-config
                    Configuring Apache/2.0.48 mod_perl/1.99_13-dev Perl/v5.8.3
                    .
                    .
                    .
                    t/TEST -clean
                    APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
                    APACHE_TEST_APXS= \
                    /usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
                    t/TEST -bugreport -verbose=0
                    /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl_CVS/modperl-2.0/t
                    -f /usr/local/src/mod_perl_CVS/modperl-2.0/t/conf/httpd.conf -D APACHE2 -
                    D PERL_USEITHREADS
                    using Apache/2.0.48 (prefork MPM)

                    waiting 300 seconds for server to start:
                    .....................................
                    .....................................
                    .....................................
                    .....................................
                    .....................................
                    ................................................
                    waiting 300 seconds for server to start: giving up after 308 secs
                    [ error] server failed to start! (t/logs/error_log wasn't created, start
                    the server in the debug mode)
                    +--------------------------------------------------------+
                    | Please file a bug report: http://perl.apache.org/bugs/ |
                    +--------------------------------------------------------+
                    make: *** [run_tests] Error 1
                    canebas.org [825]% t/TEST -ping
                    [warning] no server is running on localhost:8529
                    canebas.org [826]% ps ax | grep httpd
                    6716 pts/9 S 0:00 /usr/local/apache2/bin/httpd -d /usr/local/
                    src/mod_perl_CVS/modperl-2.0/t -f /usr/local/src/mod_perl_CVS/modperl-
                    2.0/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
                    -----------------------------------------------------------------------

                    --------------------------
                    Edouard Lagache, Sysadmin
                    canebas.org
                    elagache@...
                    29 Altamount Drive
                    Orinda, CA, 94563


                    --
                    Report problems: http://perl.apache.org/bugs/
                    Mail list info: http://perl.apache.org/maillist/modperl.html
                    List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                  • Stas Bekman
                    ... What server do you run on the same port? Other things to try: 1) try to run just the registry test suite cd ModPerl-Registry make test 2) strace the
                    Message 9 of 22 , Mar 5, 2004
                      Edouard Lagache wrote:
                      > Dear mod_perl community,
                      >
                      > As promised, I grabbed a snapshot of CVS and attempted to build that. It
                      > behaved identically to 1.99_12 - the server is running but the test
                      > scripts fail to connect (as shown below.) If I run the server on the
                      > same port (8529), I can connect fine, so the problem isn't network or
                      > server alone.

                      What server do you run on the same port?

                      Other things to try:

                      1) try to run just the registry test suite

                      cd ModPerl-Registry
                      make test

                      2) strace the processes and see what they are doing. Try starting it in a
                      single server mode:

                      strace /usr/local/apache2/bin/httpd \
                      -d /usr/local/src/mod_perl_CVS/modperl-2.0/t \
                      -f /usr/local/src/mod_perl_CVS/modperl-2.0/t/conf/httpd.conf \
                      -DAPACHE2 -DPERL_USEITHREADS -DONE_PROCESS -DNO_DETATCH

                      __________________________________________________________________
                      Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                      http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                      mailto:stas@... http://use.perl.org http://apacheweek.com
                      http://modperlbook.org http://apache.org http://ticketmaster.com

                      --
                      Report problems: http://perl.apache.org/bugs/
                      Mail list info: http://perl.apache.org/maillist/modperl.html
                      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                    • Edouard Lagache
                      Dear Stas and mod_perl community, First, ... I downloaded, built, and tested this version - but alias, it predictably behaves the same as the CVS snapshot
                      Message 10 of 22 , Mar 6, 2004
                        Dear Stas and mod_perl community,

                        First,

                        >A release candidate for mod_perl-1.99_13 is available:
                        >
                        >http://apache.org/~stas/mod_perl-1.99_13-dev.tar.gz
                        >
                        >Please test and report any failures to this list.

                        I downloaded, built, and tested this version - but alias, it predictably
                        behaves the same as the CVS snapshot earlier. All new tests below are on
                        the release candidate.


                        Stas Bekman <stas@...> wrote at Fri, 5 Mar 2004 17:45:25 -0800

                        >Edouard Lagache wrote:
                        >> If I run the server on the
                        >> same port (8529), I can connect fine, so the problem isn't network or
                        >> server alone.
                        >
                        >What server do you run on the same port?

                        I temporarily changed the default port in the main apache config file to
                        make sure that there were no issues with my system or apache connecting
                        at 8529. This bug is weird enough that I just wanted to be sure.

                        >Other things to try:
                        >
                        >1) try to run just the registry test suite
                        >
                        >cd ModPerl-Registry
                        >make test

                        Alas same outcome - trace below.

                        >2) strace the processes and see what they are doing. Try starting it in a
                        >single server mode:
                        >
                        >strace /usr/local/apache2/bin/httpd \
                        >-d /usr/local/src/mod_perl_CVS/modperl-2.0/t \
                        >-f /usr/local/src/mod_perl_CVS/modperl-2.0/t/conf/httpd.conf \
                        >-DAPACHE2 -DPERL_USEITHREADS -DONE_PROCESS -DNO_DETATCH

                        Trace appended behind ModPerl-Registry trace. The trace is more than I
                        can fathom, but it "hangs" on a read statement that seems plausibly where
                        the server would be waiting for a connection. I left the strace run for
                        over 5 minutes and it stayed exactly at the same unfinished read
                        statement below. Sorry folks, I leave the interpretation of this to you'all!

                        Peace, Edouard :-)

                        ------------------------------------------------------------------------
                        canebas.org [863]% cd ModPerl-Registry/
                        total 36K
                        0 blibdirs 16K Makefile 4.0K MANIFEST 4.0K README 0 TODO
                        4.0K lib/ 4.0K Makefile.PL 0 pm_to_blib 4.0K t/
                        canebas.org [864]% make test
                        /usr/bin/perl -I../blib/arch/Apache2 -I../blib/lib/Apache2 \
                        t/TEST -clean
                        APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
                        APACHE_TEST_APXS= \
                        /usr/bin/perl -I../blib/arch/Apache2 -I../blib/lib/Apache2 \
                        t/TEST -bugreport -verbose=0
                        /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl_CVS/mod_perl-
                        1.99_13-dev/ModPerl-Registry/t -f /usr/local/src/mod_perl_CVS/mod_perl-
                        1.99_13-dev/ModPerl-Registry/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
                        using Apache/2.0.48 (prefork MPM)

                        waiting 300 seconds for server to start:
                        .....................................
                        .....................................
                        .....................................
                        .....................................
                        .....................................
                        .....................................
                        .............................................................................
                        waiting 300 seconds for server to start: not ok
                        [ error] giving up after 301 secs. If you think that your system
                        is slow or overloaded try again with a longer timeout value.
                        by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
                        to a high value (e.g. 600) and repeat the last command.

                        [ error] server failed to start! (t/logs/error_log wasn't created, start
                        the server in the debug mode)
                        +--------------------------------------------------------+
                        | Please file a bug report: http://perl.apache.org/bugs/ |
                        +--------------------------------------------------------+
                        make: *** [run_tests] Error 1
                        canebas.org [865]%

                        ------------------------------------------------------------------------
                        strace /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl_CVS/
                        mod_perl-1.99_13-dev/t -f /usr/local/src/mod_perl_CVS/mod_perl-1.99_13-
                        dev/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS -DONE_PROCESS -
                        DNO_DETATCH >& ~/mod_perl_strace.txt
                        ------------------------------------------------------------------------
                        execve("/usr/local/apache2/bin/httpd", ["/usr/local/apache2/bin/httpd",
                        "-d", "/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t", "-f", "/usr/
                        local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/httpd.conf", "-
                        DAPACHE2", "-DPERL_USEITHREADS", "-DONE_PROCESS", "-DNO_DETATCH"], [/* 42
                        vars */]) = 0
                        uname({sys="Linux", node="canebas.org", ...}) = 0
                        brk(0) = 0x80aea08
                        old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
                        0) = 0x40016000
                        open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
                        directory)
                        open("/usr/local/apache2/lib/tls/i686/mmx/libaprutil-0.so.0", O_RDONLY) =
                        -1 ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/tls/i686/mmx", 0xbfffed40) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/apache2/lib/tls/i686/libaprutil-0.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/tls/i686", 0xbfffed40) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/apache2/lib/tls/mmx/libaprutil-0.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/tls/mmx", 0xbfffed40) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/apache2/lib/tls/libaprutil-0.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/tls", 0xbfffed40) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/apache2/lib/i686/mmx/libaprutil-0.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/i686/mmx", 0xbfffed40) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/apache2/lib/i686/libaprutil-0.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/i686", 0xbfffed40) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/apache2/lib/mmx/libaprutil-0.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/apache2/lib/mmx", 0xbfffed40) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/apache2/lib/libaprutil-0.so.0", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0TQ\0\000"...,
                        512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=736133, ...}) = 0
                        old_mmap(NULL, 80780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40017000
                        old_mmap(0x4002a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x12000) = 0x4002a000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/tls/i686/mmx/libgdbm.so.2", O_RDONLY)
                        = -1 ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/tls/i686/mmx", 0xbfffed30) = -1
                        ENOENT (No such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/tls/i686/libgdbm.so.2", O_RDONLY) = -
                        1 ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/tls/i686", 0xbfffed30) = -1 ENOENT
                        (No such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/tls/mmx/libgdbm.so.2", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/tls/mmx", 0xbfffed30) = -1 ENOENT
                        (No such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/tls/libgdbm.so.2", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/tls", 0xbfffed30) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/i686/mmx/libgdbm.so.2", O_RDONLY) = -
                        1 ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/i686/mmx", 0xbfffed30) = -1 ENOENT
                        (No such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/i686/libgdbm.so.2", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/i686", 0xbfffed30) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/mmx/libgdbm.so.2", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib/mmx", 0xbfffed30) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libgdbm.so.2", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        stat64("/usr/local/BerkeleyDB.4.1/lib", {st_mode=S_IFDIR|0755,
                        st_size=4096, ...}) = 0
                        open("/usr/local/qt/lib/tls/i686/mmx/libgdbm.so.2", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        stat64("/usr/local/qt/lib/tls/i686/mmx", 0xbfffed30) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/qt/lib/tls/i686/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        stat64("/usr/local/qt/lib/tls/i686", 0xbfffed30) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/qt/lib/tls/mmx/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        stat64("/usr/local/qt/lib/tls/mmx", 0xbfffed30) = -1 ENOENT (No such file
                        or directory)
                        open("/usr/local/qt/lib/tls/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        stat64("/usr/local/qt/lib/tls", 0xbfffed30) = -1 ENOENT (No such file or
                        directory)
                        open("/usr/local/qt/lib/i686/mmx/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        stat64("/usr/local/qt/lib/i686/mmx", 0xbfffed30) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/qt/lib/i686/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        stat64("/usr/local/qt/lib/i686", 0xbfffed30) = -1 ENOENT (No such file or
                        directory)
                        open("/usr/local/qt/lib/mmx/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        stat64("/usr/local/qt/lib/mmx", 0xbfffed30) = -1 ENOENT (No such file or
                        directory)
                        open("/usr/local/qt/lib/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        stat64("/usr/local/qt/lib", 0xbfffed30) = -1 ENOENT (No such file or
                        directory)
                        open("/etc/ld.so.cache", O_RDONLY) = 3
                        fstat64(3, {st_mode=S_IFREG|0644, st_size=85222, ...}) = 0
                        old_mmap(NULL, 85222, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4002b000
                        close(3) = 0
                        open("/usr/lib/libgdbm.so.2", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\24\0"...,
                        512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=22504, ...}) = 0
                        old_mmap(NULL, 25480, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40040000
                        old_mmap(0x40046000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x5000) = 0x40046000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libdb-4.1.so", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\344"...,
                        512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=710596, ...}) = 0
                        old_mmap(NULL, 644312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40047000
                        old_mmap(0x400e3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x9b000) = 0x400e3000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libexpat.so.0", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libexpat.so.0", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        open("/usr/lib/libexpat.so.0", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360 \0"..., 512)
                        = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=130104, ...}) = 0
                        old_mmap(NULL, 128932, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400e5000
                        old_mmap(0x40103000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x1e000) = 0x40103000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libapr-0.so.0", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\205"...,
                        512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=1318386, ...}) = 0
                        old_mmap(NULL, 121620, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40105000
                        old_mmap(0x40121000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x1b000) = 0x40121000
                        close(3) = 0
                        open("/usr/local/apache2/lib/librt.so.1", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/librt.so.1", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        open("/lib/librt.so.1", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\33"..., 512)
                        = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=37552, ...}) = 0
                        old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
                        0) = 0x40123000
                        old_mmap(NULL, 73720, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40124000
                        old_mmap(0x4012a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x5000) = 0x4012a000
                        old_mmap(0x4012c000, 40952, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012c000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/lib/libm.so.6", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2004\0"..., 512)
                        = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=211876, ...}) = 0
                        old_mmap(NULL, 138496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40136000
                        old_mmap(0x40157000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x20000) = 0x40157000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        open("/lib/libcrypt.so.1", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\t\0"...,
                        512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=23668, ...}) = 0
                        old_mmap(NULL, 181312, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40158000
                        old_mmap(0x4015d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x4000) = 0x4015d000
                        old_mmap(0x4015e000, 156736, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015e000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        open("/lib/libnsl.so.1", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p<\0\000"...,
                        512) = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=91604, ...}) = 0
                        old_mmap(NULL, 85184, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40185000
                        old_mmap(0x40197000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x11000) = 0x40197000
                        old_mmap(0x40198000, 7360, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40198000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libdl.so.2", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        open("/lib/libdl.so.2", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\26"..., 512)
                        = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=15084, ...}) = 0
                        old_mmap(NULL, 8620, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4019a000
                        old_mmap(0x4019c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x2000) = 0x4019c000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libpthread.so.0", O_RDONLY) = -1
                        ENOENT (No such file or directory)
                        open("/lib/libpthread.so.0", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300@\0"..., 512)
                        = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=103104, ...}) = 0
                        old_mmap(NULL, 335428, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4019d000
                        old_mmap(0x401ac000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0xf000) = 0x401ac000
                        old_mmap(0x401af000, 261700, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401af000
                        close(3) = 0
                        open("/usr/local/apache2/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such
                        file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/lib/libc.so.6", O_RDONLY) = 3
                        read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320Y\1"..., 512)
                        = 512
                        fstat64(3, {st_mode=S_IFREG|0755, st_size=1549556, ...}) = 0
                        old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
                        0) = 0x401ef000
                        old_mmap(NULL, 1281764, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401f0000
                        old_mmap(0x40323000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        3, 0x132000) = 0x40323000
                        old_mmap(0x40327000, 7908, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40327000
                        close(3) = 0
                        munmap(0x4002b000, 85222) = 0
                        getrlimit(0x3, 0xbffff2fc) = 0
                        setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0
                        getpid() = 27692
                        rt_sigaction(SIGRTMIN, {0x401a6050, [], SA_RESTORER, 0x402184f8}, NULL, 8) = 0
                        rt_sigaction(SIGRT_1, {0x401a5f20, [], SA_RESTORER, 0x402184f8}, NULL, 8) = 0
                        rt_sigaction(SIGRT_2, {0x401a60f0, [], SA_RESTORER, 0x402184f8}, NULL, 8) = 0
                        rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
                        _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff34c, 34, (nil), 0}) = 0
                        brk(0) = 0x80aea08
                        brk(0x80afa08) = 0x80afa08
                        brk(0) = 0x80afa08
                        brk(0x80b0000) = 0x80b0000
                        brk(0) = 0x80b0000
                        brk(0x80b1000) = 0x80b1000
                        brk(0) = 0x80b1000
                        brk(0x80b3000) = 0x80b3000
                        brk(0) = 0x80b3000
                        brk(0x80b5000) = 0x80b5000
                        brk(0) = 0x80b5000
                        brk(0x80b7000) = 0x80b7000
                        brk(0) = 0x80b7000
                        brk(0x80b9000) = 0x80b9000
                        brk(0) = 0x80b9000
                        brk(0x80bb000) = 0x80bb000
                        brk(0) = 0x80bb000
                        brk(0x80bd000) = 0x80bd000
                        brk(0) = 0x80bd000
                        brk(0x80bf000) = 0x80bf000
                        brk(0) = 0x80bf000
                        brk(0x80c1000) = 0x80c1000
                        brk(0) = 0x80c1000
                        brk(0x80c3000) = 0x80c3000
                        brk(0) = 0x80c3000
                        brk(0x80c5000) = 0x80c5000
                        brk(0) = 0x80c5000
                        brk(0x80c7000) = 0x80c7000
                        brk(0) = 0x80c7000
                        brk(0x80c9000) = 0x80c9000
                        brk(0) = 0x80c9000
                        brk(0x80cb000) = 0x80cb000
                        brk(0) = 0x80cb000
                        brk(0x80cd000) = 0x80cd000
                        brk(0) = 0x80cd000
                        brk(0x80cf000) = 0x80cf000
                        brk(0) = 0x80cf000
                        brk(0x80d1000) = 0x80d1000
                        brk(0) = 0x80d1000
                        brk(0x80d3000) = 0x80d3000
                        brk(0) = 0x80d3000
                        brk(0x80d5000) = 0x80d5000
                        brk(0) = 0x80d5000
                        brk(0x80d7000) = 0x80d7000
                        brk(0) = 0x80d7000
                        brk(0x80d9000) = 0x80d9000
                        brk(0) = 0x80d9000
                        brk(0x80db000) = 0x80db000
                        brk(0) = 0x80db000
                        brk(0x80dd000) = 0x80dd000
                        brk(0) = 0x80dd000
                        brk(0x80df000) = 0x80df000
                        brk(0) = 0x80df000
                        brk(0x80e1000) = 0x80e1000
                        brk(0) = 0x80e1000
                        brk(0x80e3000) = 0x80e3000
                        brk(0) = 0x80e3000
                        brk(0x80e5000) = 0x80e5000
                        brk(0) = 0x80e5000
                        brk(0x80e7000) = 0x80e7000
                        brk(0) = 0x80e7000
                        brk(0x80e9000) = 0x80e9000
                        brk(0) = 0x80e9000
                        brk(0x80eb000) = 0x80eb000
                        brk(0) = 0x80eb000
                        brk(0x80ed000) = 0x80ed000
                        brk(0) = 0x80ed000
                        brk(0x80ef000) = 0x80ef000
                        brk(0) = 0x80ef000
                        brk(0x80f1000) = 0x80f1000
                        brk(0) = 0x80f1000
                        brk(0x80f3000) = 0x80f3000
                        lstat64("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                        httpd.conf", {st_mode=S_IFREG|0644, st_size=49733, ...}) = 0
                        open("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                        httpd.conf", O_RDONLY) = 3
                        brk(0) = 0x80f3000
                        brk(0x80f5000) = 0x80f5000
                        fstat64(3, {st_mode=S_IFREG|0644, st_size=49733, ...}) = 0
                        read(3, "# WARNING: this file is generate"..., 4096) = 4096
                        open("/usr/local/apache2/modules/mod_speedycgi.so", O_RDONLY) = 4
                        read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3447\0"..., 512)
                        = 512
                        fstat64(4, {st_mode=S_IFREG|0755, st_size=516132, ...}) = 0
                        old_mmap(NULL, 47848, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4002b000
                        old_mmap(0x40036000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        4, 0xb000) = 0x40036000
                        close(4) = 0
                        brk(0) = 0x80f5000
                        brk(0x80f6000) = 0x80f6000
                        open("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/src/modules/perl/
                        mod_perl.so", O_RDONLY) = 4
                        read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\301\0"...,
                        512) = 512
                        fstat64(4, {st_mode=S_IFREG|0755, st_size=202547, ...}) = 0
                        old_mmap(NULL, 162308, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40329000
                        old_mmap(0x4034f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        4, 0x26000) = 0x4034f000
                        close(4) = 0
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/i686/mmx/
                        libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/i686/mmx",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/i686/
                        libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/i686",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/mmx/
                        libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/mmx",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls/libperl.so",
                        O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/tls",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/i686/mmx/
                        libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/i686/mmx",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/i686/libperl.so",
                        O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/i686",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/mmx/libperl.so",
                        O_RDONLY) = -1 ENOENT (No such file or directory)
                        stat64("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/mmx",
                        0xbfffa760) = -1 ENOENT (No such file or directory)
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/libperl.so",
                        O_RDONLY) = 4
                        read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\6\2"...,
                        512) = 512
                        fstat64(4, {st_mode=S_IFREG|0555, st_size=1181976, ...}) = 0
                        old_mmap(NULL, 1072128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40351000
                        old_mmap(0x4044b000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        4, 0xfa000) = 0x4044b000
                        old_mmap(0x40455000, 7168, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40455000
                        close(4) = 0
                        open("/usr/lib/perl5/5.8.3/i686-linux-thread-multi/CORE/libutil.so.1",
                        O_RDONLY) = -1 ENOENT (No such file or directory)
                        open("/usr/local/apache2/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No
                        such file or directory)
                        open("/usr/local/BerkeleyDB.4.1/lib/libutil.so.1", O_RDONLY) = -1 ENOENT
                        (No such file or directory)
                        open("/etc/ld.so.cache", O_RDONLY) = 4
                        fstat64(4, {st_mode=S_IFREG|0644, st_size=85222, ...}) = 0
                        old_mmap(NULL, 85222, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40457000
                        close(4) = 0
                        open("/lib/libutil.so.1", O_RDONLY) = 4
                        read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \16\0\000"...,
                        512) = 512
                        fstat64(4, {st_mode=S_IFREG|0755, st_size=12696, ...}) = 0
                        old_mmap(NULL, 11048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40037000
                        old_mmap(0x40039000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
                        4, 0x1000) = 0x40039000
                        close(4) = 0
                        munmap(0x40457000, 85222) = 0
                        brk(0) = 0x80f6000
                        brk(0x80f8000) = 0x80f8000
                        stat64("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t",
                        {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
                        lstat64("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                        extra.conf", {st_mode=S_IFREG|0644, st_size=2418, ...}) = 0
                        open("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                        extra.conf", O_RDONLY) = 4
                        brk(0) = 0x80f8000
                        brk(0x80fa000) = 0x80fa000
                        fstat64(4, {st_mode=S_IFREG|0644, st_size=2418, ...}) = 0
                        read(4, "# WARNING: this file is generate"..., 4096) = 2418
                        read(4, "", 4096) = 0
                        close(4) = 0
                        brk(0) = 0x80fa000
                        brk(0x80fc000) = 0x80fc000
                        read(3, "modperl\n PerlResponseHandler "..., 4096) = 4096
                        brk(0) = 0x80fc000
                        brk(0x80fe000) = 0x80fe000
                        read(3, "ndler TestModperl::print\n</Locat"..., 4096) = 4096
                        read(3, "rride none\n \n <Fil"..., 4096) = 4096
                        brk(0) = 0x80fe000
                        brk(0x8100000) = 0x8100000
                        read(3, " PerlFixupHandler TestModperl::"..., 4096) = 4096
                        brk(0) = 0x8100000
                        brk(0x8102000) = 0x8102000
                        read(3, "r TestDirective::pod\n</Location>"..., 4096) = 4096
                        brk(0) = 0x8102000
                        brk(0x8104000) = 0x8104000
                        read(3, "Error::runtime\n</Location>\n\n<Loc"..., 4096) = 4096
                        brk(0) = 0x8104000
                        brk(0x8106000) = 0x8106000
                        read(3, "tHandler TestHooks::access::"..., 4096) = 4096
                        brk(0) = 0x8106000
                        brk(0x8108000) = 0x8108000
                        read(3, "Handler TestHooks::startup\n <"..., 4096) = 4096
                        brk(0) = 0x8108000
                        brk(0x810a000) = 0x810a000
                        read(3, "response\n PerlOutputFilterHan"..., 4096) = 4096
                        brk(0) = 0x810a000
                        brk(0x810c000) = 0x810c000
                        read(3, "er::in_autoload\n</Location>\n\nLis"..., 4096) = 4096
                        read(3, "v/t/htdocs/testdirective/vh\n "..., 4096) = 4096
                        brk(0) = 0x810c000
                        brk(0x810e000) = 0x810e000
                        read(3, "PACHE_TEST_CONFIG_ORDER 951\nList"..., 4096) = 581
                        read(3, "", 4096) = 0
                        lstat64("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                        extra.last.conf", {st_mode=S_IFREG|0644, st_size=2785, ...}) = 0
                        open("/usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                        extra.last.conf", O_RDONLY) = 4
                        brk(0) = 0x810e000
                        brk(0x8110000) = 0x8110000
                        fstat64(4, {st_mode=S_IFREG|0644, st_size=2785, ...}) = 0
                        read(4, "# WARNING: this file is generate"..., 4096) = 2785
                        brk(0) = 0x8110000
                        brk(0x8112000) = 0x8112000
                        read(4, "", 4096) = 0
                        close(4) = 0
                        read(3, "", 4096) = 0
                        close(3) = 0
                        stat64("/usr/local/apache2/bin/suexec", 0xbffff410) = -1 ENOENT (No such
                        file or directory)
                        open("/dev/random", O_RDONLY) = 3
                        read(3, <unfinished ...>
                        ------------------------------------------------------------------------

                        --------------------------
                        Edouard Lagache, Sysadmin
                        canebas.org
                        elagache@...
                        29 Altamount Drive
                        Orinda, CA, 94563


                        --
                        Report problems: http://perl.apache.org/bugs/
                        Mail list info: http://perl.apache.org/maillist/modperl.html
                        List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                      • Stas Bekman
                        ... that explains it. Your don t have enough entropy and /dev/random blocks. It s interesting to know what happens if you just key random keys for a few secs
                        Message 11 of 22 , Mar 6, 2004
                          Edouard Lagache wrote:

                          > open("/dev/random", O_RDONLY) = 3
                          > read(3, <unfinished ...>

                          that explains it. Your don't have enough entropy and /dev/random blocks.
                          It's interesting to know what happens if you just key random keys for a few
                          secs after it hangs

                          This should make the problem to go away:

                          % PERL_HASH_SEED=0 make test

                          __________________________________________________________________
                          Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                          http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                          mailto:stas@... http://use.perl.org http://apacheweek.com
                          http://modperlbook.org http://apache.org http://ticketmaster.com

                          --
                          Report problems: http://perl.apache.org/bugs/
                          Mail list info: http://perl.apache.org/maillist/modperl.html
                          List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                        • Edouard Lagache
                          Dear Stas and all, Stas Bekman wrote at Sat, 6 Mar 2004 12:12:09 -0800 ... THANK YOU STAS! :-) Of course actually make test
                          Message 12 of 22 , Mar 6, 2004
                            Dear Stas and all,

                            Stas Bekman <stas@...> wrote at Sat, 6 Mar 2004 12:12:09 -0800

                            >Edouard Lagache wrote:
                            >
                            >> open("/dev/random", O_RDONLY) = 3
                            >> read(3, <unfinished ...>
                            >
                            >that explains it. Your don't have enough entropy and /dev/random blocks.
                            >It's interesting to know what happens if you just key random keys for a few
                            >secs after it hangs
                            >
                            >This should make the problem to go away:
                            >
                            >% PERL_HASH_SEED=0 make test

                            THANK YOU STAS! :-)

                            Of course actually 'make test PERL_HASH_SEED=0' but yes! FYI, typing
                            random keys didn't work, but the PERL_HASH_SEED immediately solved the
                            problem.

                            Alas, I still have a test failing, but it fails in a similar way so
                            perhaps it is a similar problem?

                            The test "t/modperl/cookie" just hangs. The result of a verbose test run
                            is below. I waited 5 minutes before killing the test with <CTRL>C. Any
                            ideas why the test would simply stall out?

                            Thanks again!!

                            Peace, Edouard

                            -----------------------------------------------------------------------

                            canebas.org [892]% make test PERL_HASH_SEED=0 TEST_VERBOSE=1
                            TEST_FILES="t/modperl/cookie"
                            cd "src/modules/perl" && make -f Makefile.modperl
                            make[1]: Entering directory `/usr/local/src/mod_perl_CVS/mod_perl-
                            1.99_13-dev/src/modules/perl'
                            make[1]: Nothing to be done for `all'.
                            .
                            .
                            .
                            t/TEST -clean
                            APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER=
                            APACHE_TEST_APXS= \
                            /usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
                            t/TEST -bugreport -verbose=1 t/modperl/cookie
                            /usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl_CVS/mod_perl-
                            1.99_13-dev/t -f /usr/local/src/mod_perl_CVS/mod_perl-1.99_13-dev/t/conf/
                            httpd.conf -D APACHE2 -D PERL_USEITHREADS
                            using Apache/2.0.48 (prefork MPM)

                            waiting 300 seconds for server to start: ..[Sat Mar 06 14:34:47 2004]
                            [info] 27 Apache:: modules loaded
                            [Sat Mar 06 14:34:47 2004] [info] 5 APR:: modules loaded
                            [Sat Mar 06 14:34:47 2004] [info] base server + 16 vhosts ready to run tests
                            ...
                            waiting 300 seconds for server to start: ok (waited 4 secs)
                            server localhost:8529 started
                            server localhost:8530 listening (TestModperl::merge)
                            server localhost:8531 listening (TestModperl::perl_options)
                            server localhost:8532 listening (TestModperl::setupenv)
                            server localhost:8533 listening (TestVhost::config)
                            server localhost:8534 listening (TestProtocol::echo_filter)
                            server localhost:8535 listening (TestProtocol::echo)
                            server localhost:8536 listening (TestPreConnection::note)
                            server localhost:8537 listening (TestHooks::stacked_handlers2)
                            server localhost:8538 listening (TestHooks::startup)
                            server localhost:8539 listening (TestFilter::in_bbs_inject_header)
                            server localhost:8540 listening (TestFilter::in_str_msg)
                            server localhost:8541 listening (TestFilter::both_str_con_add)
                            server localhost:8542 listening (TestFilter::in_bbs_msg)
                            server localhost:8543 listening (TestDirective::perlmodule)
                            server localhost:8544 listening (TestDirective::perlrequire)
                            server localhost:8545 listening (TestPerl::ithreads)
                            server localhost:8546 listening (TestDirective::perlloadmodule4)
                            server localhost:8547 listening (TestDirective::perlloadmodule5)
                            server localhost:8548 listening (TestDirective::perlloadmodule3)
                            server localhost:8549 listening (TestDirective::perlloadmodule6)
                            t/modperl/cookie....1..3
                            # Running under perl version 5.008003 for linux
                            # Current time local: Sat Mar 6 14:34:51 2004
                            # Current time GMT: Sat Mar 6 22:34:51 2004
                            # Using Test.pm version 1.24
                            # getting the same interp ID for /TestModperl__cookie

                            ----> <CTRL>C here after 5 minutes <----

                            [warning]
                            halting tests
                            [warning] server localhost:8529 shutdown
                            +--------------------------------------------------------+
                            | Please file a bug report: http://perl.apache.org/bugs/ |
                            +--------------------------------------------------------+
                            make: *** [run_tests] Error 1
                            -----------------------------------------------------------------------



                            --
                            Report problems: http://perl.apache.org/bugs/
                            Mail list info: http://perl.apache.org/maillist/modperl.html
                            List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                          • Stas Bekman
                            ... For the same reason I think. it tries to get a random number to generate UUID. PERL_HASH_SEED=0 won t help here. Setting it was just preventing
                            Message 13 of 22 , Mar 6, 2004
                              Edouard Lagache wrote:
                              > Dear Stas and all,
                              >
                              > Stas Bekman <stas@...> wrote at Sat, 6 Mar 2004 12:12:09 -0800
                              >
                              >
                              >>Edouard Lagache wrote:
                              >>
                              >>
                              >>>open("/dev/random", O_RDONLY) = 3
                              >>>read(3, <unfinished ...>
                              >>
                              >>that explains it. Your don't have enough entropy and /dev/random blocks.
                              >>It's interesting to know what happens if you just key random keys for a few
                              >>secs after it hangs
                              >>
                              >>This should make the problem to go away:
                              >>
                              >>% PERL_HASH_SEED=0 make test
                              >
                              >
                              > THANK YOU STAS! :-)
                              >
                              > Of course actually 'make test PERL_HASH_SEED=0' but yes! FYI, typing
                              > random keys didn't work, but the PERL_HASH_SEED immediately solved the
                              > problem.
                              >
                              > Alas, I still have a test failing, but it fails in a similar way so
                              > perhaps it is a similar problem?
                              >
                              > The test "t/modperl/cookie" just hangs. The result of a verbose test run
                              > is below. I waited 5 minutes before killing the test with <CTRL>C. Any
                              > ideas why the test would simply stall out?


                              > t/modperl/cookie....1..3
                              > # Running under perl version 5.008003 for linux
                              > # Current time local: Sat Mar 6 14:34:51 2004
                              > # Current time GMT: Sat Mar 6 22:34:51 2004
                              > # Using Test.pm version 1.24
                              > # getting the same interp ID for /TestModperl__cookie

                              For the same reason I think. it tries to get a random number to generate UUID.
                              PERL_HASH_SEED=0 won't help here. Setting it was just preventing
                              apr_uuid_get(uuid) from being called at the startup. But here it needs to be
                              called anyway.

                              There are several other tests that will block for the same reason.

                              remove these tests, as they will hang:

                              rm t/apr/uuid.t
                              rm t/apr-ext/uuid.t

                              the rest of the tests should run with this patch:

                              Index: Apache-Test/lib/Apache/TestHandler.pm
                              ===================================================================
                              RCS file:
                              /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestHandler.pm,v
                              retrieving revision 1.3
                              diff -u -r1.3 TestHandler.pm
                              --- Apache-Test/lib/Apache/TestHandler.pm 4 Mar 2004 05:51:31 -0000 1.3
                              +++ Apache-Test/lib/Apache/TestHandler.pm 6 Mar 2004 23:13:51 -0000
                              @@ -77,7 +77,7 @@
                              if ($interp eq 'tie') { #first request for an interpreter instance
                              # unique id for this instance
                              require APR::UUID;
                              - $same_interp_id = $id = APR::UUID->new->format;
                              + $same_interp_id = $id = int rand 10000000;
                              $same_interp_counter = 0; #reset the counter
                              }
                              elsif ($interp ne $same_interp_id) {

                              I don't know why your /dev/random blocks. May be a broken kernel config?

                              this should print 10 random chars from perl:

                              % perl -le 'open I, "/dev/random"; read I, $d, 10; print $d'

                              a simple 'cat /dev/random' is an even simpler test ;)

                              If it blocks, now you have abstracted the problem outside of the mp domain. So
                              please ask at one of the linux support list and please report back your
                              findings, as this is not the first time this problem is reported. Thanks.

                              As for using installed mp2 (while you still have /dev/random broken), you need
                              to set only PERL_HASH_SEED to any value at the server startup, and as long as
                              you don't use APR::UUID you won't have any problems.

                              __________________________________________________________________
                              Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                              http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                              mailto:stas@... http://use.perl.org http://apacheweek.com
                              http://modperlbook.org http://apache.org http://ticketmaster.com

                              --
                              Report problems: http://perl.apache.org/bugs/
                              Mail list info: http://perl.apache.org/maillist/modperl.html
                              List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                            • Edouard Lagache
                              Thank you Stas! Your diagnosis is right on the money! ... Indeed it locks up and prints nothing, failing as does in the mod_perl test suite - so there is
                              Message 14 of 22 , Mar 6, 2004
                                Thank you Stas!

                                Your diagnosis is right on the money!

                                >I don't know why your /dev/random blocks. May be a broken kernel config?
                                >
                                >this should print 10 random chars from perl:
                                >
                                >% perl -le 'open I, "/dev/random"; read I, $d, 10; print $d'

                                Indeed it locks up and prints nothing, failing as does in the mod_perl
                                test suite - so there is something amiss in my kernel setup - NOT in mod_perl!

                                Your patch below doesn't quite work, but it's close enough to get through
                                the test suite and thus install.

                                Thanks again for all your help! This is my problem to solve now. You
                                all can get back to work with everything involved in getting the next
                                release out the door!

                                Peace, Edouard :-)

                                ----------------------------------------------------------------------

                                Stas Bekman <stas@...> wrote at Sat, 6 Mar 2004 15:21:21 -0800

                                >Edouard Lagache wrote:
                                >> Dear Stas and all,
                                >>
                                >> Stas Bekman <stas@...> wrote at Sat, 6 Mar 2004 12:12:09 -0800
                                >>
                                >>
                                >>>Edouard Lagache wrote:
                                >>>
                                >>>
                                >>>>open("/dev/random", O_RDONLY) = 3
                                >>>>read(3, <unfinished ...>
                                >>>
                                >>>that explains it. Your don't have enough entropy and /dev/random blocks.
                                >>>It's interesting to know what happens if you just key random keys for
                                a few
                                >>>secs after it hangs
                                >>>
                                >>>This should make the problem to go away:
                                >>>
                                >>>% PERL_HASH_SEED=0 make test
                                >>
                                >>
                                >> THANK YOU STAS! :-)
                                >>
                                >> Of course actually 'make test PERL_HASH_SEED=0' but yes! FYI, typing
                                >> random keys didn't work, but the PERL_HASH_SEED immediately solved the
                                >> problem.
                                >>
                                >> Alas, I still have a test failing, but it fails in a similar way so
                                >> perhaps it is a similar problem?
                                >>
                                >> The test "t/modperl/cookie" just hangs. The result of a verbose test run
                                >> is below. I waited 5 minutes before killing the test with <CTRL>C. Any
                                >> ideas why the test would simply stall out?
                                >
                                >
                                >> t/modperl/cookie....1..3
                                >> # Running under perl version 5.008003 for linux
                                >> # Current time local: Sat Mar 6 14:34:51 2004
                                >> # Current time GMT: Sat Mar 6 22:34:51 2004
                                >> # Using Test.pm version 1.24
                                >> # getting the same interp ID for /TestModperl__cookie
                                >
                                >For the same reason I think. it tries to get a random number to generate
                                UUID.
                                >PERL_HASH_SEED=0 won't help here. Setting it was just preventing
                                >apr_uuid_get(uuid) from being called at the startup. But here it needs to be
                                >called anyway.
                                >
                                >There are several other tests that will block for the same reason.
                                >
                                >remove these tests, as they will hang:
                                >
                                >rm t/apr/uuid.t
                                >rm t/apr-ext/uuid.t
                                >
                                >the rest of the tests should run with this patch:
                                >
                                >Index: Apache-Test/lib/Apache/TestHandler.pm
                                >===================================================================
                                >RCS file:
                                >/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestHandler.pm,v
                                >retrieving revision 1.3
                                >diff -u -r1.3 TestHandler.pm
                                >--- Apache-Test/lib/Apache/TestHandler.pm 4 Mar 2004 05:51:31 -0000
                                > 1.3
                                >+++ Apache-Test/lib/Apache/TestHandler.pm 6 Mar 2004 23:13:51 -0000
                                >@@ -77,7 +77,7 @@
                                > if ($interp eq 'tie') { #first request for an interpreter instance
                                > # unique id for this instance
                                > require APR::UUID;
                                >- $same_interp_id = $id = APR::UUID->new->format;
                                >+ $same_interp_id = $id = int rand 10000000;
                                > $same_interp_counter = 0; #reset the counter
                                > }
                                > elsif ($interp ne $same_interp_id) {
                                >
                                >I don't know why your /dev/random blocks. May be a broken kernel config?
                                >
                                >this should print 10 random chars from perl:
                                >
                                >% perl -le 'open I, "/dev/random"; read I, $d, 10; print $d'
                                >
                                >a simple 'cat /dev/random' is an even simpler test ;)
                                >
                                >If it blocks, now you have abstracted the problem outside of the mp
                                >domain. So
                                >please ask at one of the linux support list and please report back your
                                >findings, as this is not the first time this problem is reported. Thanks.
                                >
                                >As for using installed mp2 (while you still have /dev/random broken), you
                                >need
                                >to set only PERL_HASH_SEED to any value at the server startup, and as
                                long as
                                >you don't use APR::UUID you won't have any problems.
                                >
                                >__________________________________________________________________
                                >Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                                >http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                                >mailto:stas@... http://use.perl.org http://apacheweek.com
                                >http://modperlbook.org http://apache.org http://ticketmaster.com
                                >
                                >--
                                >Report problems: http://perl.apache.org/bugs/
                                >Mail list info: http://perl.apache.org/maillist/modperl.html
                                >List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                                >

                                ----------------------------------------------------------------------

                                --------------------------
                                Edouard Lagache, Sysadmin
                                canebas.org
                                elagache@...
                                29 Altamount Drive
                                Orinda, CA, 94563


                                --
                                Report problems: http://perl.apache.org/bugs/
                                Mail list info: http://perl.apache.org/maillist/modperl.html
                                List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                              • Stas Bekman
                                ... That s good. I ve found this reference: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103049 and it says that apr-0.9.3-14 solves the problem. But
                                Message 15 of 22 , Mar 6, 2004
                                  Edouard Lagache wrote:
                                  > Thank you Stas!
                                  >
                                  > Your diagnosis is right on the money!
                                  >
                                  >
                                  >>I don't know why your /dev/random blocks. May be a broken kernel config?
                                  >>
                                  >>this should print 10 random chars from perl:
                                  >>
                                  >>% perl -le 'open I, "/dev/random"; read I, $d, 10; print $d'
                                  >
                                  >
                                  > Indeed it locks up and prints nothing, failing as does in the mod_perl
                                  > test suite - so there is something amiss in my kernel setup - NOT in mod_perl!

                                  That's good.

                                  I've found this reference:
                                  http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103049
                                  and it says that apr-0.9.3-14 solves the problem. But 2.0.48 comes with apr
                                  0.9.5 and supposedly should use /dev/urandom. Is it possible that you have
                                  libapr installed elsewhere and it gets loaded first? Scan for libapr.*.so files

                                  locate libapr | grep so

                                  > Your patch below doesn't quite work, but it's close enough to get through
                                  > the test suite and thus install.

                                  What part doesn't work? I'm seriously considering to drop ARP::UUID from
                                  Apache-Test and just use a plain rand.

                                  > Thanks again for all your help! This is my problem to solve now. You
                                  > all can get back to work with everything involved in getting the next
                                  > release out the door!

                                  Unfortunately, you aren't the first one to hit this problem and not the last
                                  one. So ideally we should find a way for the application to figure out those
                                  things before it hangs and tell the user how to fix them or at least print out
                                  the diagnosys information to help resolve the problem, without a user needed
                                  to contact this list.

                                  I've emailed apr-dev to ask whether apr_uuid_get can be adjusted to have some
                                  sort of timeout mechanism.

                                  __________________________________________________________________
                                  Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                                  http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                                  mailto:stas@... http://use.perl.org http://apacheweek.com
                                  http://modperlbook.org http://apache.org http://ticketmaster.com

                                  --
                                  Report problems: http://perl.apache.org/bugs/
                                  Mail list info: http://perl.apache.org/maillist/modperl.html
                                  List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                                • Stas Bekman
                                  ... So as Justin told me over apr-dev, the solution is to rebuild Apache with --with-devrandom=/dev/urandom - however, that is not secure for certain needs. Or
                                  Message 16 of 22 , Mar 7, 2004
                                    > Unfortunately, you aren't the first one to hit this problem and not the
                                    > last one. So ideally we should find a way for the application to figure
                                    > out those things before it hangs and tell the user how to fix them or at
                                    > least print out the diagnosys information to help resolve the problem,
                                    > without a user needed to contact this list.
                                    >
                                    > I've emailed apr-dev to ask whether apr_uuid_get can be adjusted to have
                                    > some sort of timeout mechanism.

                                    So as Justin told me over apr-dev, the solution is to rebuild Apache with
                                    --with-devrandom=/dev/urandom - however, that is not secure for certain needs.
                                    Or setup EGD and use --with-egd.

                                    Apache 2.1/apr-1.1 will have a self-contained PRNG generator built-in

                                    __________________________________________________________________
                                    Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                                    http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                                    mailto:stas@... http://use.perl.org http://apacheweek.com
                                    http://modperlbook.org http://apache.org http://ticketmaster.com

                                    --
                                    Report problems: http://perl.apache.org/bugs/
                                    Mail list info: http://perl.apache.org/maillist/modperl.html
                                    List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                                  • Edouard Lagache
                                    Hi Stas (and mod_perl community,) Stas Bekman wrote at Sat, 6 Mar 2004 16:38:39 -0800 ... I did a search, destroy, and re-symlink mission for
                                    Message 17 of 22 , Mar 7, 2004
                                      Hi Stas (and mod_perl community,)

                                      Stas Bekman <stas@...> wrote at Sat, 6 Mar 2004 16:38:39 -0800

                                      >I've found this reference:
                                      >http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103049
                                      >and it says that apr-0.9.3-14 solves the problem. But 2.0.48 comes with apr
                                      >0.9.5 and supposedly should use /dev/urandom.

                                      I did a search, destroy, and re-symlink mission for all these libraries.
                                      All old crufty libraries were fixed with links to current stuff in /usr/
                                      local/apache2/lib. I then recompiled Apache to make sure it used the new
                                      libraries. Alas, all /dev/random issues in the mod_perl tests remained.
                                      The original error of the "server failed to start" continued and if I
                                      passed it the PERL_HASH_SEED=0 argument, it would then fail on the t/
                                      mod_perl/cookie test as before. Whatever is new in apr 0.9.5, it doesn't
                                      seem to cure this problem (at least on my system.)

                                      So I followed the advise in the bugzilla posting. I deleted /dev/random
                                      and symlinked that to /dev/urandom. That solved all testing issues for
                                      the mod_perl 1.99_13 release candidate. I just finished get Embperl up
                                      and running under mod_perl, that's should as good a "live action" test as any.

                                      So if nothing else works, following the advise in the bugzilla.redhat.com
                                      posting will get you unstuck. Just as unhappy about the kludgy symlink
                                      as the fellow who originally posted it, but it works and it will have to
                                      do until I can take the time to poke into possible kernel issue.

                                      Thanks again Stas and everyone for all your help!

                                      Peace, Edouard :-)

                                      --------------------------
                                      Edouard Lagache, Sysadmin
                                      canebas.org
                                      elagache@...
                                      29 Altamount Drive
                                      Orinda, CA, 94563


                                      --
                                      Report problems: http://perl.apache.org/bugs/
                                      Mail list info: http://perl.apache.org/maillist/modperl.html
                                      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                                    • Edouard Lagache
                                      Hi Stas! (and mod_perl crew! :-) Stas Bekman wrote at Sun, 7 Mar 2004 12:20:19 -0800 ... PERFECT! I rebuilt Apache and mod_perl works
                                      Message 18 of 22 , Mar 7, 2004
                                        Hi Stas! (and mod_perl crew! :-)

                                        Stas Bekman <stas@...> wrote at Sun, 7 Mar 2004 12:20:19 -0800

                                        >> Unfortunately, you aren't the first one to hit this problem and not the
                                        >> last one. So ideally we should find a way for the application to figure
                                        >> out those things before it hangs and tell the user how to fix them or at
                                        >> least print out the diagnosys information to help resolve the problem,
                                        >> without a user needed to contact this list.
                                        >>
                                        >> I've emailed apr-dev to ask whether apr_uuid_get can be adjusted to have
                                        >> some sort of timeout mechanism.
                                        >
                                        >So as Justin told me over apr-dev, the solution is to rebuild Apache with
                                        >--with-devrandom=/dev/urandom - however, that is not secure for certain
                                        >needs.
                                        > Or setup EGD and use --with-egd.

                                        PERFECT! I rebuilt Apache and mod_perl works perfectly without the
                                        urandom symlink hack. So if anyone else has the "server failed to
                                        start!" problem again, the answer is to build Apache with --with-
                                        devrandom=/dev/urandom (at least if they can live with the security
                                        compromises.)

                                        Thanks again Stas and everyone!

                                        Peace, Edouard :-)

                                        --------------------------
                                        Edouard Lagache, Sysadmin
                                        canebas.org
                                        elagache@...
                                        29 Altamount Drive
                                        Orinda, CA, 94563


                                        --
                                        Report problems: http://perl.apache.org/bugs/
                                        Mail list info: http://perl.apache.org/maillist/modperl.html
                                        List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                                      • Stas Bekman
                                        ... Now documented at: http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup ... ;)
                                        Message 19 of 22 , Mar 7, 2004
                                          > PERFECT! I rebuilt Apache and mod_perl works perfectly without the
                                          > urandom symlink hack. So if anyone else has the "server failed to
                                          > start!" problem again, the answer is to build Apache with --with-
                                          > devrandom=/dev/urandom (at least if they can live with the security
                                          > compromises.)

                                          Now documented at:
                                          http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#Server_Hanging_at_the_Startup

                                          > Thanks again Stas and everyone!

                                          ;)

                                          __________________________________________________________________
                                          Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
                                          http://stason.org/ mod_perl Guide ---> http://perl.apache.org
                                          mailto:stas@... http://use.perl.org http://apacheweek.com
                                          http://modperlbook.org http://apache.org http://ticketmaster.com

                                          --
                                          Report problems: http://perl.apache.org/bugs/
                                          Mail list info: http://perl.apache.org/maillist/modperl.html
                                          List etiquette: http://perl.apache.org/maillist/email-etiquette.html
                                        Your message has been successfully submitted and would be delivered to recipients shortly.