Thanks for the advice.

The complete httpd.conf is included in my question--I reduced it to the nine lines or so in an attempt to eliminate that question.

I also grepped keys %INC for Apache and found nothing in there in the script--is that sufficient to be sure that Apache::DBI is not the culprit?

I am working on DBI->trace output now to see if I get any clues out of that output.

One interesting thing is that I replaced the code with one that explicitly undefs the $dbh, and that seemed to disconnect ok (which would probably be a sufficient workaround). But when I put it in an if branch so I could set a variable to decide whether to try undef()ing or disconnect()ing, both undef() and disconnect() appeared to work.

I am currently trying to figure out if that is really what is happening, I will post here with results.

Thanks again for your input.


In reply to Re^2: disconnect, then ping returns true under apache, false from command line, no Apache::DBI around. Why would this be? by msouth
in thread disconnect, then ping returns true under apache, false from command line, no Apache::DBI around. Why would this be? by msouth

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.