1 (edited by doktor 2014-06-14 08:16:53)

Topic: 500 Error on almost every pages.

==== Required information ====
- iRedMail version: iRedAdmin-Pro-MySQL 1.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  Mysql
- Linux/BSD distribution name and version: Centos 6.3
- Related log if you're reporting an issue:

error_log

[Fri Jun 13 03:26:49 2014] [error] [client 87.98.252.201] script not found or unable to stat: /var/www/cgi-bin/php
[Fri Jun 13 03:26:49 2014] [error] [client 87.98.252.201] script not found or unable to stat: /var/www/cgi-bin/php5
[Fri Jun 13 03:26:49 2014] [error] [client 87.98.252.201] script not found or unable to stat: /var/www/cgi-bin/php-cgi
[Fri Jun 13 03:26:49 2014] [error] [client 87.98.252.201] script not found or unable to stat: /var/www/cgi-bin/php.cgi
[Fri Jun 13 03:26:49 2014] [error] [client 87.98.252.201] script not found or unable to stat: /var/www/cgi-bin/php4
[Fri Jun 13 13:31:24 2014] [error] [client 217.31.48.30] File does not exist: /var/www/html/rom-0
[Fri Jun 13 19:27:20 2014] [notice] caught SIGTERM, shutting down
[Fri Jun 13 19:29:04 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 13 19:29:05 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 13 19:29:05 2014] [notice] Digest: done
[Fri Jun 13 19:29:06 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
[Fri Jun 13 19:50:00 2014] [notice] caught SIGTERM, shutting down
[Fri Jun 13 19:50:01 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 13 19:50:01 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 13 19:50:01 2014] [notice] Digest: done
[Fri Jun 13 19:50:01 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
[Fri Jun 13 19:57:45 2014] [notice] caught SIGTERM, shutting down
[Fri Jun 13 19:57:45 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 13 19:57:45 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 13 19:57:45 2014] [notice] Digest: done
[Fri Jun 13 19:57:46 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
[Fri Jun 13 20:02:27 2014] [notice] caught SIGTERM, shutting down
[Fri Jun 13 20:02:27 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 13 20:02:28 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 13 20:02:28 2014] [notice] Digest: done
[Fri Jun 13 20:02:28 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations



ssl_access_log

94.54.131.17 - - [13/Jun/2014:20:08:56 +0300] "GET /iredadmin/static/default/images/arrow_sm_grey.gif HTTP/1.1" 200 55
94.54.131.17 - - [13/Jun/2014:20:08:57 +0300] "GET /iredadmin/profile/domain/general/xx.xxHTTP/1.1" 500 21
94.54.131.17 - - [13/Jun/2014:20:08:58 +0300] "GET /iredadmin/domains HTTP/1.1" 200 50182
94.54.131.17 - - [13/Jun/2014:20:09:00 +0300] "GET /iredadmin/domains HTTP/1.1" 200 50182
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/css/screen.css HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/css/fancybox.css HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/css/reset.css HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/js/jquery-1.4.2.min.js HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/js/jquery.idtabs.js HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/js/jquery.fancybox.js HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/js/jquery.tablesorter.js HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/js/jquery.tooltip.js HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/images/action_edit.png HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/images/graph_16.png HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/images/ico_add_12.png HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:09:01 +0300] "GET /iredadmin/static/default/images/enabled.png HTTP/1.1" 304 -
94.54.131.17 - - [13/Jun/2014:20:10:24 +0300] "GET /iredadmin/profile/domain/general/34tc.com HTTP/1.1" 500 21
94.54.131.17 - - [13/Jun/2014:20:10:25 +0300] "GET /iredadmin/profile/domain/general/34tc.com HTTP/1.1" 500 21
94.54.131.17 - - [13/Jun/2014:20:10:26 +0300] "GET /iredadmin/domains HTTP/1.1" 200 50182
94.54.131.17 - - [13/Jun/2014:20:14:37 +0300] "GET /iredadmin/system/license HTTP/1.1" 200 11395


ssl_request_log

[13/Jun/2014:20:05:19 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/domains HTTP/1.1" 50182
[13/Jun/2014:20:08:56 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/images/arrow_sm_grey.gif HTTP/1.1" 55
[13/Jun/2014:20:08:57 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/profile/domain/general/xx.xxHTTP/1.1" 21
[13/Jun/2014:20:08:58 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/domains HTTP/1.1" 50182
[13/Jun/2014:20:09:00 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/domains HTTP/1.1" 50182
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/css/screen.css HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/css/fancybox.css HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/css/reset.css HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/js/jquery-1.4.2.min.js HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/js/jquery.idtabs.js HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/js/jquery.fancybox.js HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/js/jquery.tablesorter.js HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/js/jquery.tooltip.js HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/images/action_edit.png HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/images/graph_16.png HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/images/ico_add_12.png HTTP/1.1" -
[13/Jun/2014:20:09:01 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/static/default/images/enabled.png HTTP/1.1" -
[13/Jun/2014:20:10:24 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/profile/domain/general/34tc.com HTTP/1.1" 21
[13/Jun/2014:20:10:25 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/profile/domain/general/34tc.com HTTP/1.1" 21
[13/Jun/2014:20:10:26 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/domains HTTP/1.1" 50182
[13/Jun/2014:20:14:37 +0300] 94.54.131.17 TLSv1.2 DHE-RSA-AES128-GCM-SHA256 "GET /iredadmin/system/license HTTP/1.1" 11395


Problem :

I tried login to https://95xxxx/iredadmin/profile/domain/general/xxxx.xxx get an internet server error
I tried too login to preferences page i get same error, example : http://prntscr.com/3sge52
i tried add a new domain and check this ss : http://prntscr.com/3sge1r

2

Re: 500 Error on almost every pages.

Any related log in /var/log/httpd/ssl_error_log?

3

Re: 500 Error on almost every pages.

ssl_error_log

[Sat Jun 14 02:21:00 2014] [error] [client 46.197.132.200]
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200] Traceback (most recent call last):
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]     return self.handle()
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]     return self._delegate(fn, self.fvars, args)
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]     return handle_class(cls)
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]     return tocall(*args)
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]   File "/var/www/iredadmin/controllers/decorators.py", line 11, in proxyfunc
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]     return func(self, *args, **kw)
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]   File "/var/www/iredadmin/controllers/mysql/user.py", line 170, in GET
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]     existing_settings=user_profile['settings'])
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200] KeyError: 'settings'
[Sat Jun 14 03:05:30 2014] [error] [client 46.197.132.200]
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200] Traceback (most recent call last):
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]     return self.handle()
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]     return self._delegate(fn, self.fvars, args)
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]     return handle_class(cls)
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]   File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]     return tocall(*args)
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]   File "/var/www/iredadmin/controllers/decorators.py", line 11, in proxyfunc
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]     return func(self, *args, **kw)
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]   File "/var/www/iredadmin/controllers/mysql/user.py", line 170, in GET
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]     existing_settings=user_profile['settings'])
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200] KeyError: 'settings'
[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200]
[Sat Jun 14 04:42:29 2014] [error] [client 71.6.165.200] Invalid method in request quit

4

Re: 500 Error on almost every pages.

doktor wrote:

[Sat Jun 14 03:05:32 2014] [error] [client 46.197.132.200] KeyError: 'settings'

Please upgrade your iRedMail to the latest iRedMail-0.8.7 to fix this issue. We have several SQL structure change in iRedMail-0.8.7.

5

Re: 500 Error on almost every pages.

Hello,

Thank you i sended a mail for remote support.

6

Re: 500 Error on almost every pages.

Issue solved by upgrading iRedMail to the latest iRedMail-0.8.7.