1 (edited by IRONFELIX 2014-10-20 20:03:22)

Topic: Cannot run cluebringer

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04 (trusty)
- Related log if you're reporting an issue:
====
HI.
I have problem to start working of IRedMail. The investigation shows me the next problem in cbpolicyd.log

[2014/10/20-13:16:10 - 3846] [CORE] NOTICE: Process Backgrounded
[2014/10/20-13:16:10 - 3846] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - v2.0.11a-debian
[2014/10/20-13:16:10 - 3846] [CBPOLICYD] NOTICE: Initializing system modules.
[2014/10/20-13:16:11 - 3846] [CBPOLICYD] NOTICE: System modules initialized.
[2014/10/20-13:16:11 - 3846] [CBPOLICYD] NOTICE: Module load started...
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => AccessControl: enabled
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => CheckHelo: enabled
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => CheckSPF: enabled
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => Greylisting: enabled
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => Quotas: enabled
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE:   => Protocol(Bizanga): enabled
[2014/10/20-13:16:11 - 3846] [CBPOLICYD] NOTICE: Module load done.
[2014/10/20-13:16:11 - 3846] [CBPOLICYD] DEBUG: Opening syslog, destination = 'native', facility = 'mail'.
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE: 2014/10/20-13:16:11 cbp (type Net::Server::PreFork) starting! pid(3846)
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE: Binding to TCP port 10031 on host 127.0.0.1 with IPv4
[2014/10/20-13:16:11 - 3846] [CORE] ERROR: 2014/10/20-13:16:11 No such group "cluebringer"

  at line 346 in file /usr/share/perl5/Net/Server.pm
[2014/10/20-13:16:11 - 3846] [CORE] NOTICE: 2014/10/20-13:16:11 Server closing!
[2014/10/20-13:16:11 - 3846] [CORE] DEBUG: Destroying system modules.
[2014/10/20-13:16:11 - 3846] [CORE] DEBUG: System modules destroyed.
[2014/10/20-13:16:11 - 3846] [CORE] DEBUG: Closing syslog.
[2014/10/20-13:16:11 - 3846] [CORE] DEBUG: Syslog closed.

Ubuntu user and group "cluebringer" are present. Sql user "cluebringer" too.

----

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

2

Re: Cannot run cluebringer

*) Please show us command output: "id cluebringer".
*) Could you please open /etc/cluebringer/cluebringer.conf, re-type Cluebringer user name in parameter "group=", then restart Cluebringer service again?

3

Re: Cannot run cluebringer

1. uid=108(cluebringer) gid=117(cluebringer) groups=117(cluebringer)
2. I've tried, but no results. (

4

Re: Cannot run cluebringer

i have no idea yet. You have cluebringer user and group, but Cluebringer cannot bind to this group.

Does it work if you comment out 'group=' line in /etc/cluebringer/cluebringer.conf?

5 (edited by IRONFELIX 2014-10-20 21:59:49)

Re: Cannot run cluebringer

ZhangHuangbin wrote:

Does it work if you comment out 'group=' line in /etc/cluebringer/cluebringer.conf?

Yep. It works with these messages

[2014/10/20-17:47:53 - 3213] [CORE] NOTICE: 2014/10/20-17:47:53 cbp (type Net::Server::PreFork) starting! pid(3213)
[2014/10/20-17:47:53 - 3213] [CORE] NOTICE: Binding to TCP port 10031 on host 127.0.0.1 with IPv4
[2014/10/20-17:47:53 - 3213] [CORE] WARNING: Group Not Defined.  Defaulting to EGID '117 117'
[2014/10/20-17:47:53 - 3213] [CORE] INFO: Setting up serialization via flock
[2014/10/20-17:47:53 - 3213] [CORE] INFO: Beginning prefork (4 processes)
[2014/10/20-17:47:53 - 3213] [CORE] INFO: Starting "4" children
[2014/10/20-17:47:53 - 3216] [CORE] DEBUG: Child Preforked (3216)
[2014/10/20-17:47:53 - 3216] [CBPOLICYD] DEBUG: Starting up caching engine
[2014/10/20-17:47:53 - 3217] [CORE] DEBUG: Child Preforked (3217)
[2014/10/20-17:47:53 - 3217] [CBPOLICYD] DEBUG: Starting up caching engine
[2014/10/20-17:47:53 - 3218] [CORE] DEBUG: Child Preforked (3218)
[2014/10/20-17:47:53 - 3218] [CBPOLICYD] DEBUG: Starting up caching engine
[2014/10/20-17:47:53 - 3219] [CORE] DEBUG: Child Preforked (3219)
[2014/10/20-17:47:53 - 3219] [CBPOLICYD] DEBUG: Starting up caching engine
[2014/10/20-17:47:53 - 3213] [CORE] DEBUG: Parent ready for children.

Anyway the mail started run ))) thanks.