Roundcube Community Forum

Release Support => Pending Issues => Topic started by: cbrace on May 18, 2012, 03:06:46 PM

Title: server error 500
Post by: cbrace 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:
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
Title: Re: server error 500
Post by: SKaero on May 18, 2012, 10:30:41 PM
Whats in the RoundCube error log?
Title: Re: server error 500
Post by: cbrace on May 19, 2012, 02:41:28 PM
nothing
Title: Re: server error 500
Post by: SKaero 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.
Title: Re: server error 500
Post by: cbrace 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.
Title: Re: server error 500
Post by: SKaero 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.