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: Phil Stracchino <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Newbie configuration problem
  • Date: Fri, 19 Feb 2021 22:25:07 -0500

On 2/19/21 9:57 PM, Bill Oliver wrote:
> 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=


OK, so wwsympa is running, but it's creating its pid file and socket in
the wrong location.

It may also be running as the wrong user. Does your apache run as
www-data or as apache?

Try making these changes to your wwsympa.service file:

FCGI_PID_DIR=/run/sympa
FCGI_OPTS='-s /run/sympa/wwsympa.socket -M 0600 -U apache'

(That's assuming your apache is running as user apache, which I assume
it MOST LIKELY is. But if it's running as www-data, then leave that
part unchanged.)


I think you will then have to do something like a systemctl reload, to
make systemd re-read the service file, then systemctl restart wwsympa.


> 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


/etc/sysconfig/sympa doesn't necessarily exist. I don't have one.


Disclaimer: I do not use systemd and won't touch it with a ten-foot pole.

--
Phil Stracchino
Babylon Communications
address@concealed
address@concealed
Landline: +1.603.293.8485
Mobile: +1.603.998.6958



Archive powered by MHonArc 2.6.19+.

Top of Page