1 (edited by intern 2011-01-24 16:23:04)

Topic: I cannot login to admin-panel

Hello.
I have installed iRedmail-0.6.1. When I try to login on https://ip.add.re.ss/iredadmin I get error:
'Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.'

in logs I see next:
/var/log/httpd/error_log:
[Mon Jan 24 10:52:02 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 24 10:52:02 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 24 10:52:02 2011] [notice] Digest: done
PHP Warning:  PHP Startup: fileinfo: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=0\nPHP    compiled with module API=20060613, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
[Mon Jan 24 10:52:02 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Mon Jan 24 10:52:02 2011] [notice] Apache configured -- resuming normal operations

/var/log/httpd/ssl_error_log:
[Mon Jan 24 10:52:02 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jan 24 10:52:02 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jan 24 10:54:34 2011] [error] [client 192.168.0.93] Premature end of script headers: iredadmin.py
[Mon Jan 24 10:54:52 2011] [error] [client 192.168.0.93] Premature end of script headers: iredadmin.py
[Mon Jan 24 10:54:54 2011] [error] [client 192.168.0.93] File does not exist: /var/www/html/favicon.ico
[Mon Jan 24 10:54:57 2011] [error] [client 192.168.0.93] File does not exist: /var/www/html/favicon.ico
[Mon Jan 24 11:02:09 2011] [error] [client 192.168.0.93] Premature end of script headers: iredadmin.py
[Mon Jan 24 11:13:20 2011] [error] [client 192.168.0.93] Premature end of script headers: iredadmin.py

/var/log/httpd/ssl_request_log:
[24/Jan/2011:10:52:34 +0300] 192.168.0.93 TLSv1 AES256-SHA "GET /iredadmin HTTP/1.1" 633
[24/Jan/2011:10:52:52 +0300] 192.168.0.93 TLSv1 AES256-SHA "GET /iredadmin HTTP/1.1" 633
[24/Jan/2011:10:54:54 +0300] 192.168.0.93 TLSv1 AES256-SHA "GET /favicon.ico HTTP/1.1" 308
[24/Jan/2011:10:54:57 +0300] 192.168.0.93 TLSv1 AES256-SHA "GET /favicon.ico HTTP/1.1" 308
[24/Jan/2011:11:00:09 +0300] 192.168.0.93 TLSv1 AES256-SHA "GET /iredadmin HTTP/1.1" 633
[24/Jan/2011:11:11:20 +0300] 192.168.0.93 TLSv1 AES256-SHA "GET /iredadmin HTTP/1.1" 633

In /var/log/messages:
Jan 24 10:52:01 td7mail kernel: httpd[461]: segfault at 0000000000000030 rip 00002b93747a7438 rsp 00007fffd593ede0 error 4

Thank you.

----

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

2

Re: I cannot login to admin-panel

Please set "debug = True" in /var/www/iredadmin/settings.ini, restart apache and post error log here.

3

Re: I cannot login to admin-panel

ZhangHuangbin wrote:

Please set "debug = True" in /var/www/iredadmin/settings.ini, restart apache and post error log here.

debug is already enable in settings.ini

4

Re: I cannot login to admin-panel

[Mon Jan 24 10:52:02 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.

mod_python is conflict with iRedAdmin, so you have to remove it first.
Sorry for this trouble.

# rpm -e mod_python

5

Re: I cannot login to admin-panel

After removing mod_python I've got this one:
Internal server error on webpage
in /var/log/messages
Jan 24 11:46:31 td7mail kernel: httpd[755]: segfault at 0000000000000030 rip 00002b8375c02438 rsp 00007fff6ed77310 error 4

/var/log/httpd/ssl_error_log:
[Mon Jan 24 11:48:56 2011] [error] [client 192.168.0.93] OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")
[Mon Jan 24 11:48:56 2011] [error] [client 192.168.0.93]

6

Re: I cannot login to admin-panel

intern wrote:

[Mon Jan 24 11:48:56 2011] [error] [client 192.168.0.93] OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")

Please set correct password for mysql user 'iredadmin' in /var/www/iredadmin/settings.ini, in section "[iredadmin]".

7

Re: I cannot login to admin-panel

ZhangHuangbin wrote:
intern wrote:

[Mon Jan 24 11:48:56 2011] [error] [client 192.168.0.93] OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")

Please set correct password for mysql user 'iredadmin' in /var/www/iredadmin/settings.ini, in section "[iredadmin]".

Thank you. All works. smile
Good luck!

8

Re: I cannot login to admin-panel

intern wrote:
ZhangHuangbin wrote:
intern wrote:

[Mon Jan 24 11:48:56 2011] [error] [client 192.168.0.93] OperationalError: (1045, "Access denied for user 'iredadmin'@'localhost' (using password: YES)")

Please set correct password for mysql user 'iredadmin' in /var/www/iredadmin/settings.ini, in section "[iredadmin]".

Thank you. All works. smile
Good luck!

Please tell how to change that password