1

Topic: Ubuntu 12.04 Password of cn=vmailadmin is incorrect.

I followed this tutorial :
http://www.iredmail.org/install_iredmail_on_ubuntu.html

I also had to do this :
chmod 666 /dev/null
chmod 777 /dev/urandom

to make it work,

Slapd have some issues to install/configure on ubuntu 12.04 if you don't do this :
rm /etc/init.d/slapd

now when I try to login to

www.mysite.com/iRedadmin

after entering my password, I get :
Error: Password of cn=vmailadmin is incorrect.

I checked the
/usr/share/apache2/iredadmin/settings.ini
under vmailadmin


and it is the same password as in
iRedMail-0.8.1/iRedAdmin.tips


What should I do ?

Just bought iRedLdap Pro yesterday






==== Provide required information ====
- iRedMail version and backend (LDAP):
- Linux/BSD distribution name and version: Ubuntu 12.04
- Any related log? Log is helpful for troubleshooting.
====

----

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

2

Re: Ubuntu 12.04 Password of cn=vmailadmin is incorrect.

vaya wrote:

I also had to do this :
chmod 666 /dev/null
chmod 777 /dev/urandom
to make it work,

Slapd have some issues to install/configure on ubuntu 12.04 if you don't do this :
rm /etc/init.d/slapd

This is weird, i didn't execute these commands for 4 years and iRedMail works well on Ubuntu.

Is this server a FRESH installation?

I think the easiest way to solve these issues is installing iRedMail on a FRESH system.

3

Re: Ubuntu 12.04 Password of cn=vmailadmin is incorrect.

Yes it is a fresh install, and I even wiped the box clean 3 times during my attempts,
Its a VPS, so the permissions on /dev/null and /dev/urandom are getting reset at boot..
and the slapd does have some problems in general on a ubuntu 12.04 vps 64bit...

at first install slapd gets
start [Failed] when it tries to start and the installation doesn't continue

Then I delete the /etc/init.d/slapd
The installation then does finish successfully,

but slapd now starts with :
[Aborded]


(iRedmail complains about OpenLdap not running]

then I remove / re-install slapd and it does finally starts,

but now iRedmail complains about cn=vmailadmin is incorrect.


I done all this 3 times, and wiping the box clean, and it is the same thing each time

I can give you ssh access if you want to have a look,

really need some help here.

4

Re: Ubuntu 12.04 Password of cn=vmailadmin is incorrect.

May i know which VPS server software you're using (VMware/VirtualBox/Xen/OpenVZ/...)?

vaya wrote:

I can give you ssh access if you want to have a look,

Mail me SSH access related info directly: zhb _at_ iredmail.org, i'd like to give it a try.

5

Re: Ubuntu 12.04 Password of cn=vmailadmin is incorrect.

Thanks, I just did,

it is OpenVZ

6

Re: Ubuntu 12.04 Password of cn=vmailadmin is incorrect.

= UPDATE =
This issue is fixed by adding below line in /etc/init.d/slapd, right after '### END INIT INFO':

### END INIT INFO
chmod 666 /dev/null /dev/*random