1 (edited by Frankstar 2010-09-27 22:36:27)

Topic: Error opening iRedMailAdmin

Hello Guys !
Im trying to setup iRedMail in my Debian (lenny) rootsrv.
but the install doesnt ends successfully sad

I tryed MYSQL and openLdap backend.
Same error anytimes

*************************************
Setting up postfix-policyd (1.82-2) ...
dbconfig-common: writing config to /etc/dbconfig-common/postfix-policyd.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
dbconfig-common: postfix-policyd configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing postfix-policyd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
postfix-policyd
E: Sub-process /usr/bin/dpkg returned an error code (1)
< ERROR > Installation failed, please check the terminal output.
**********************************************************************************

any ideas ??

***EDIT****

No Problems with a Fresh lenny (without any pre installed mysql or apache modules)
New Problem -> http://www.iredmail.org/forum/post5632.html#p5632

----

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

2

Re: Error opening iRedMailAdmin

Did you run "apt-get update && apt-get upgrade" before install iRedMail?

3

Re: Error opening iRedMailAdmin

thnx for your reply !

apt-get update && apt-get upgrade ->
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

i upgraded yesterday last time.

4

Re: Error opening iRedMailAdmin

before install iRedMail, the machine whether have install mysql?

5

Re: Error opening iRedMailAdmin

shake wrote:

before install iRedMail, the machine whether have install mysql?

yes

6

Re: Error opening iRedMailAdmin

* iRedMail is designed to deploy on a FRESH server system, which     *
* means it doesn't have mail related components installed, e.g.      *
* Apache, MySQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. Otherwise *
* it may override your existing files/configurations althought it    *
* will backup files before modify

7

Re: Error opening iRedMailAdmin

i read this warning, but

* it may override your existing files/configurations althought it    *
* will backup files before modify

its a fresh lamp server, so  I thought its ok when hes overriding existing files/configurations.

so i have to install a realy fresh lenny ? without apache, mysql, ... ??

8

Re: Error opening iRedMailAdmin

suggest you install fresh lenny,  only base + ssh is ok

9

Re: Error opening iRedMailAdmin

ok, it worked, thanks shake

10

Re: Error opening iRedMailAdmin

Frankstar wrote:

ok, it worked, thanks shake

ok, but one more question.

Ive logged in with the www@domain.com user (@ roundcube)
There are already 2 Mails from root.

Thats a great idea !

But in the first mail there is standing.....

Official Web-based Admin Panel (iRedAdmin):
    * Version: 0.1.3
    * Configuration files:
        - /usr/share/apache2/iRedAdmin-0.1.3/
        - /usr/share/apache2/iRedAdmin-0.1.3/settings.ini*
    * URL:
        - https://mail.domain.com/iredadmin/
    * Login account:
        - Username: ***@*******, password: ********
    * Settings:


when im trying to open the iredadmin theres the error ->  https://178.63.83.87/iredadmin/ (internal server error)

11

Re: Error opening iRedMailAdmin

any idea ?

12

Re: Error opening iRedMailAdmin

check your apache log and would get some idea.

13

Re: Error opening iRedMailAdmin

can you post error log in apache to help troubleshooting?

14

Re: Error opening iRedMailAdmin

http://dl.dropbox.com/u/7838865/error.log

by the way, iredmail has the best support ive ever seen !!!

thumps up

15

Re: Error opening iRedMailAdmin

Hi Guys, when u dont find the problem, so can u tell me how can i add a user manualy in openldap ?!
I need 4 Users or a Catchall for a Domain.
The Mailserver is productive !

pls help smile

16

Re: Error opening iRedMailAdmin

You must modify the script create_mail_user_OpenLDAP.sh first, change ldap suffix, bind dn and bind password.

# cd /path/to/iRedMail-x.y.z/tools/
# sh create_mail_user_OpenLDAP.sh domain.ltd user01 user02 user03 

17 (edited by shake 2010-09-29 16:18:19)

Re: Error opening iRedMailAdmin

you also can try to debug iRedAdmin

/usr/share/apache2/iRedAdmin-0.1.3/settings.ini*

26 # Debug mode: True, False.
27 # Warning: Do *NOT* enable debug in product server.
28 debug = False

change False to Yes

Restart the apache server,

18 (edited by Frankstar 2010-09-29 20:37:01)

Re: Error opening iRedMailAdmin

Thx for your help shake.

Heres the debug from iredadmin.
http://dl.dropbox.com/u/7838865/iredadmin_debug.htm

i will try to edit the add user script and add a user smile

ps: good idea with the debug mode

*EDIT*

Script works fine !
So now i search for the iredadmin problem

19

Re: Error opening iRedMailAdmin

http://www.iredmail.org/forum/topic946- … l-060.html



You use German language, right?

'lang': 'de_DE'

You can try to set 'lang = en_US' in settings.ini, and then restart web server, if this change fixes this issue, that must be caused by incorrect de_DE translation.

20

Re: Error opening iRedMailAdmin

I have comfirm is the de_DE language bug.

21

Re: Error opening iRedMailAdmin

Changed to en_US
and restart the apache (apache2ctl gradeful + restart)

no effect, same error.

Any other settings.ini ?
i used /usr/share/apache2/iRedAdmin-0.1.3/settings.ini*

22

Re: Error opening iRedMailAdmin

check the debug info

whether have change the lang?

lang     'de_DE'

23

Re: Error opening iRedMailAdmin

de_DE may be not fully translated, so please use en_US instead, it should work.

24

Re: Error opening iRedMailAdmin

ZhangHuangbin wrote:

de_DE may be not fully translated, so please use en_US instead, it should work.

changed, but doesnt work.
Here the debug
https://www.frankstar.at/iredadmin/

25

Re: Error opening iRedMailAdmin

check the setting.ini , especially

bind_dn,
bind_pw

you can compare it with the iRedmail.tips