1

Topic: "[proxy:warn]...because of worker sharing" on Apache Restart

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Hello,

I just installed iRedMail-0.9.4 on a clean server. Everything went smoothly, but I get the following warnings when I restart Apache:

* Restarting web server apache2
[Wed Jan 27 10:56:13.206285 2016] [proxy:warn] [pid 16215] AH01146: Ignoring parameter 'retry=60' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Wed Jan 27 10:56:13.206486 2016] [proxy:warn] [pid 16215] AH01146: Ignoring parameter 'connectiontimeout=5' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Wed Jan 27 10:56:13.206529 2016] [proxy:warn] [pid 16215] AH01146: Ignoring parameter 'timeout=360' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing

Any ideas what causes this? and how it can be fixed?

Thanks for all the help in advance.

/ASZ

----

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

2

Re: "[proxy:warn]...because of worker sharing" on Apache Restart

You can fix it by swapping the order of two "ProxyPass" setting in /etc/apache2/conf-available/SOGo.conf.

3 (edited by siamzam 2016-01-27 20:02:39)

Re: "[proxy:warn]...because of worker sharing" on Apache Restart

Works Great!
Thank you very much ZhangHuangbin for the quick reply, that solved the problem.

However, I have one other problem as well. When I try to send e-mail from Roundcube, I get the following error:

SMTP Error (451): Failed to add recipient "example@example.com" (4.3.5 Server configuration problem).

I checked the status of iredapd, and it was not running. I tried to start it but I got the following message:

Starting iredapd ...
Traceback (most recent call last):
  File "/opt/iredapd/iredapd.py", line 25, in <module>
    from libs.ldaplib.modeler import Modeler
  File "/opt/iRedAPD-1.8.0/libs/ldaplib/modeler.py", line 4, in <module>
    import ldap
ImportError: No module named ldap

So I installed python-ldap using the following command:

sudo apt-get install python-ldap

Now I can start iredapd by using:
sudo service iredapd start

and the command "sudo service iredapd status" shows that iredapd is running.

But as soon as I try to send an e-mail using roundcube, I get the same error:

SMTP Error (451): Failed to add recipient "example@example.com" (4.3.5 Server configuration problem).

And when I check the status of iredapd, it show that "iredapd is stopped."

Please help me solve this! Thank you very much.

4

Re: "[proxy:warn]...because of worker sharing" on Apache Restart

Try this:

# cd /opt/iredapd/
# find . -name '*pyc' | xargs rm -f {}
# service iredapd restart

5

Re: "[proxy:warn]...because of worker sharing" on Apache Restart

WOW! Thanks man!

You are a lifesaver... That worked beautifully! Looks like everything is working now!

Thanks again.