1

Topic: Internal Server Error

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue: error.log
====

Hello! I try to reinstall iRedMail.
Everything goes well, but does not work iredadmin, writes internal server error. I do not understand what's wrong.

Log:
[Sat Nov 01 09:48:30 2014] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sat Nov 01 09:48:31 2014] [notice] caught SIGTERM, shutting down
[Sat Nov 01 09:48:32 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.15 with Suhosin-Patch configured -- resuming normal operations
[Sat Nov 01 09:48:54 2014] [notice] caught SIGTERM, shutting down
[Sat Nov 01 09:48:55 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.15 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat Nov 01 09:51:11 2014] [error] [client 192.168.41.199] File does not exist: /var/www/mail
[Sat Nov 01 09:51:13 2014] [error] [client 192.168.41.199] File does not exist: /var/www/mail
[Sat Nov 01 09:51:26 2014] [notice] caught SIGTERM, shutting down
[Sat Nov 01 09:51:27 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Nov 01 09:51:27 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Nov 01 09:51:27 2014] [alert] (2)No such file or directory: mod_wsgi (pid=21479): Unable to change working directory to '/home/iredadmin'.
[Sat Nov 01 09:51:27 2014] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat Nov 01 09:51:37 2014] [error] [client 192.168.41.199] File does not exist: /var/www/iredadmin
[Sat Nov 01 09:51:40 2014] [error] [client 192.168.41.199] File does not exist: /var/www/iredadmin
[Sat Nov 01 09:51:41 2014] [error] [client 192.168.41.199] File does not exist: /var/www/iredadmin
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199] Traceback (most recent call last):
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/pymodules/python2.7/web/application.py", line 240, in process
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     return p(lambda: process(processors))
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/pymodules/python2.7/web/session.py", line 56, in _processor
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     self._load()
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/pymodules/python2.7/web/session.py", line 67, in _load
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     self.session_id = web.cookies().get(cookie_name)
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/pymodules/python2.7/web/webapi.py", line 312, in cookies
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     cookie.load(ctx.env.get('HTTP_COOKIE', ''))
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/python2.7/Cookie.py", line 632, in load
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     self.__ParseString(rawdata)
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/python2.7/Cookie.py", line 665, in __ParseString
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     self.__set(K, rval, cval)
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/python2.7/Cookie.py", line 585, in __set
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     M.set(key, real_value, coded_value)
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]   File "/usr/lib/python2.7/Cookie.py", line 460, in set
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199]     raise CookieError("Illegal key value: %s" % key)
[Sat Nov 01 09:51:56 2014] [error] [client 192.168.41.199] CookieError: Illegal key value: https://192.168.41.10/

----

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

Excuse me, what do you mean "reinstall iRedMail"?
You have to reinstall Ubuntu, then install iRedMail. This is the correct procedure to reinstall iRedMail.