Author Topic: server error 500  (Read 4192 times)

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
server error 500
« on: May 18, 2012, 03:06:46 PM »
Hi all,

Yesterday I upgraded PHP5 on my FreeBSD server from v5.3.11 to v5.3.13. Upgraded along with it were a host of PHP5 dependencies.

I am now getting frequent server error 500 in Roundcube mail. Here is a typical entry in the lighttpd error log:
Code: [Select]
2012-05-18 11:53:32: (mod_fastcgi.c.2566) unexpected end-of-file (perhaps the fastcgi process died): pid: 5253 socket: unix:/tmp/php.socket8211-1
2012-05-18 11:53:32: (mod_fastcgi.c.3352) response not received, request sent: 1287 on socket: unix:/tmp/php.socket8211-1 for /rc/index.php?_task=mail&_action=show&_uid=304363181&_mbox=bulk, closing connection
2012-05-18 11:53:35: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Warning:  Unknown: function '1' not found or invalid function name in Unknown on line 0
It is quite possible that this error has nothing whatsoever to do with RC, but as it is the only PHP application I am currently using on my server I am taking the liberty of asking about the problem here first.

Any thoughts about what is going on here?

FreeBSD 8.2-RELEASE
RC v0.7.2
Lighttpd v1.4.30

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,886
    • SKaero - Custom Roundcube development
Re: server error 500
« Reply #1 on: May 18, 2012, 10:30:41 PM »
Whats in the RoundCube error log?

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
Re: server error 500
« Reply #2 on: May 19, 2012, 02:41:28 PM »
nothing

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,886
    • SKaero - Custom Roundcube development
Re: server error 500
« Reply #3 on: May 20, 2012, 01:12:58 AM »
It should be putting something in error log is its triggering a 500, make sure the logs are writable.

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
Re: server error 500
« Reply #4 on: May 20, 2012, 04:39:09 AM »
Sorry, I was being too terse: RC is writing to the error log, I see a couple of IMAP login errors from the last week, but no info at all regarding the 500.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,886
    • SKaero - Custom Roundcube development
Re: server error 500
« Reply #5 on: May 20, 2012, 06:16:28 AM »
If the 500 error isn't getting logged in RoundCube then it probably isn't a RoundCube problem. My one guess would be that it had something to do with the connection to the IMAP server (maybe timing out?) but that tends to get logged if its the problem.