1

Topic: Internal Server Error

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== ==== Provide required information ====
- iRedMail version and backend MySQL: MySQL, 0.1.6
- Linux/BSD distribution name and version: CentOS 5.8
- Any related log? Log is helpful for troubleshooting.
====

error_log:

[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]     ctx.db = self._connect(self.keywords)
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]   File "/usr/lib/python2.4/site-packages/web/db.py", line 546, in _connect
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]     return self.db_module.connect(**keywords)
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]   File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 81, in Connect
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]     return Connection(*args, **kwargs)
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]   File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 187, in __init__
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136]     super(Connection, self).__init__(*args, **kwargs2)
[Wed Jun 06 02:38:26 2012] [error] [client 201.216.157.136] OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' (111)")

Getting internal server error all of a sudden when I go to the iredadmin page, no other page gives me problem's.  Any thoughts?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Internal Server Error

No idea yet, sorry. Error code 2003 means a general error, no special reason.

Does restarting Apache fix this issue?

3

Re: Internal Server Error

Nope no fix with that either.

4

Re: Internal Server Error

Oops, no idea at all. Did you try to restart both MySQL and Apache?

5

Re: Internal Server Error

Wow, it seem's MySQL keep's stopping.  It's server issue, thanks for the help.