CGI problems, Premature end of scripts

Discussion in 'General' started by Norman, Jan 13, 2009.

  1. Norman

    Norman Member HowtoForge Supporter

    While I can probably find this issue on my own I would love some suggestions on what may be the cause to speed up the diagnostics.

    All cgi scripts that have previously worked now only display "Premature end of script" in my logs. Any idea what may be the cause of this?
    Started happening last week, might've been an ISPconfig upgrade but Im not sure.
     
  2. Norman

    Norman Member HowtoForge Supporter

    Found issue...
    what an idiotic problem.

    If suexec.log file is larger than 2GB suexec cant execute.
    Case closed... wonder if there's an update to suexec which fixes this.

    added this to my monitrc file:

    check file suexec.log with path /var/log/apache2/suexec.log
    if size > 1900 MB then
    alert [email protected] with the mail-format { subject: Warning - suexec.log over limit! Please investigate ASAP! }
     
    Last edited: Jan 13, 2009

Share This Page