1

Topic: Useradd not possible at installation process

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04.4
- Related log if you're reporting an issue:
====
Hi there,

the problem shows up at the installation process:

********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
chown: invalid user: `vmail:vmail'
chown: invalid user: `vmail:vmail'
< INFO > Configure Apache web server and PHP.
< INFO > Configure MySQL database server.
< INFO > Configure Postfix (Message Transfer Agent).
< INFO > Configure Cluebringer (postfix policy server).
< INFO > Configure Dovecot (pop3/imap/managesieve server).
chown: invalid user: `vmail:vmail'
chown: invalid user: `vmail:vmail'
chown: invalid user: `vmail:vmail'
chown: invalid user: `vmail:vmail'
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure iRedAPD (postfix policy daemon).
chown: invalid user: `iredapd:iredapd'
< INFO > Configure iRedAdmin (official web-based admin panel).
chown: invalid user: `iredadmin:iredadmin'
chown: invalid user: `iredadmin:iredadmin'
< INFO > Configure Roundcube webmail.
< INFO > Configure phpMyAdmin (web-based MySQL management tool).

*************************************************************************
* iRedMail-0.8.7 installation and configuration complete.
*************************************************************************


I've never had any problems using iredmail. This is a new installed system. What could happen such a problem? Apparmor maybe?

Thanks for your help!

2

Re: Useradd not possible at installation process

Tallaril wrote:

Apparmor maybe?

Maybe.

Does it work if you run chown command manually? For example:

# chown iredapd:iredapd /opt/iredapd/settings.py

3 (edited by GsLabs 2015-07-15 15:01:07)

Re: Useradd not possible at installation process

hi, same problem over here
ubuntu 14.04 fresh install on linode, any idea?

UPDATE:
Fixed, don't think it was the same problem as the user above.

Explaination:
I figured out that linode's fresh install of ubuntu 14.04LTS was giving me language-pack related errors (and something to do with perl).
Went to this post

Needed to reinstall language-base-pack (change "en" for yours):
sudo apt-get install --reinstall language-pack-en-base

In my case ubuntu repositories are pre-modified for linode provided mirrors. They didn't had the language-pack-es-base (the ones i needed)
So changed the repositories to ubuntu ones.
After that i was able to reinstall language pack.
Ubuntu errors had gone.


Then i tried to install iredadmin and voila!
Cannot confirm if the trick was fixing the error, changing repositories to default ones or both of them.

Hope it helps somebody to avoid a headache!