Squirrelmail on Ubuntu/Postfix/Courier server throwing 500 server internal errors

Discussion in 'Server Operation' started by elorc, Aug 12, 2010.

  1. elorc

    elorc New Member

    Weird thing, and pretty much the last issue I had from the Ubuntu 8.04 virtual user mail server guide... Squirrelmail is installed. The login screen loads fine, but when any account attempts to log in using valid credentials, they load to a blank screen (which turns out to be a 500 server internal error). If the user enters invalid credentials, it correctly displays the login error page.

    My apache2 access.log just shows the attempt to load the page:

    Code:
    ###.##.###.### - - [12/Aug/2010:12:23:36 -0700] "GET /squirrelmail HTTP/1.1" 301 385 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.19) Gecko/2010031218 Firefox/3.0.19"
    ###.##.###.### - - [12/Aug/2010:12:23:36 -0700] "GET /squirrelmail/ HTTP/1.1" 302 - "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.19) Gecko/2010031218 Firefox/3.0.19"
    ###.##.###.### - - [12/Aug/2010:12:23:36 -0700] "GET /squirrelmail/src/login.php HTTP/1.1" 200 2153 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.19) Gecko/2010031218 Firefox/3.0.19"
    ###.##.###.### - - [12/Aug/2010:12:23:51 -0700] "POST /squirrelmail/src/redirect.php HTTP/1.1" 200 1182 "http://www.mydomain.com/squirrelmail/src/login.php" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.19) Gecko/2010031218 Firefox/3.0.19"
    And the error.log file shows nothing related (or even happening around the same time). This happens on all of the browsers I tested (Safari, Firefox, and Internet Explorer). I can't seem to get any more detail on the error (or the cause). Any ideas as to what would cause this?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please make sure that you introduced no PHP syntax error when you modified the config.php of the change_sqlpass plugin.
     
  3. elorc

    elorc New Member

    Good catch. That's the one config file I didn't even think to check.

    Sure enough, I had a stray ");" floating around. I commented it out, tried again, and SquirrelMail works like a charm.

    Thanks for all of your help, falko!
     

Share This Page