with intermitant 500's cropping up ... but im getting nothing in the error log whatsoever

Sounds to me like someone's either supressing STDERR, or the error log isn't where you think it is. If someone's supressing STDERR, that's a bad thing, as it could be masking other problems ... but the webserver should have still reported _something_ if it threw a 500

Most likely is that the server is set up using virtual hosts, or something similar, and is writing the logs to some other place -- not all errors from a given server have to go to one file. (or, I've also run into a problem where I was trying to debug on the wrong system because the client machine had an entry in /etc/hosts to force me to use an alternate server)

Find where the error is being sent to, and look at it, and all should be good. Most likely for a 500, something's being sent to STDOUT before the HTTP headers, and once you can figure out what's being sent, you can find why it's being sent.

It's possible that the server might not log an error if the application generated a 500 header -- but why someone would do that, I have no idea.


In reply to Re: mod_perl debugging help by jhourcle
in thread mod_perl debugging help by MiggyMan

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.