Skip to Content.
Sympa Menu

en - Re: [sympa-users] Newbie configuration problem

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Bill Oliver <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Newbie configuration problem
  • Date: Fri, 19 Feb 2021 21:57:46 -0500

On Fri, 2021-02-19 at 21:05 -0500, Phil Stracchino wrote:

OK, that certainly looks like wwsympa is alive.  So Apache isn't talking
to it.

Is there anything written to your Apache error log when you try to hit it?
Is the socket path correct, and does the socket actually exist in
/run/sympa/ and with valid permissions?


minbar:root:~:6 # ls -l /var/run/sympa/
total 24
-rw-r--r-- 1 sympa  sympa   5 Feb 16 23:58 archived.pid
-rw-r--r-- 1 sympa  sympa   5 Feb 16 23:58 bounced.pid
-rw-r--r-- 1 sympa  sympa   5 Feb 16 23:58 bulk.pid
-rw-r--r-- 1 sympa  sympa   5 Feb 16 23:58 sympa_msg.pid
-rw-r--r-- 1 sympa  sympa   5 Feb 16 23:58 task_manager.pid
-rw-r--r-- 1 root   root   29 Feb 19 21:01 wwsympa.pid
srw------- 1 apache apache  0 Feb 19 21:01 wwsympa.socket=


I configured mine slightly differently from yours:

    <IfDefine SYMPA>
        ScriptAlias /sympa /usr/libexec/sympa/wwsympa.fcgi
        Alias /static-sympa /var/spool/sympa/static_content

        <Location /sympa>
            SetHandler "proxy:unix:/var/run/sympa/wwsympa.socket|fcgi://"
            Options +ExecCGI
            Require all granted
        </Location>

        <Location /static-sympa>
            Require all granted
        </Location>
    </IfDefine>


You might try adding the ScriptAlias directive if everything else looks
correct.



Thanks for your patience.  Some progress, I think.

The last two lines in /var/run/sympa don't exist for me:

ls -l /var/run/sympa/
total 20
-rw-r--r-- 1 sympa sympa 5 Feb 20 03:44 archived.pid
-rw-r--r-- 1 sympa sympa 5 Feb 20 03:44 bounced.pid
-rw-r--r-- 1 sympa sympa 5 Feb 20 03:44 bulk.pid
-rw-r--r-- 1 sympa sympa 5 Feb 20 03:44 sympa_msg.pid
-rw-r--r-- 1 sympa sympa 5 Feb 20 03:44 task_manager.pid\\

So, I don't have wwsympa.pid or wwsympa.socket=

And I don't have a clue how to configure that.  Again, it may be that line in my wwsympa.service file that I *know* is wrong, but I can't figure out what it should be:


EnvironmentFile=-/etc/sysconfig/sympa


I don't know what that should point to.  Do you have that line in your //usr/lib/systemd/system/wwsympa.service file?  Could that be screwing this up?

Thanks!

billo






Archive powered by MHonArc 2.6.19+.

Top of Page