Hi,

On 20/06/2021 13:28, Philipp Kolmann wrote:
> I have faced the same issue and with several sources across the
> internet I was able to fix it for me.
>
> 1.) Adding a wwsympa.service
> 2.) Changing the apache config.
>
> Maybe this helps someone facing the issues while updating to bullseye.
>

Thanks for this fix. However, it might be worth mentioning that you have to enable apache module proxy_fcgi (and it's dependency proxy) for the handler to work:

a2enmod proxy_fcgi # will enable proxy as dependency

In my setup apache2 otherwise answered all requests to /wws with a 404 with no hint, what's missing. Enabling module proxy at least gave:

AH01144: No protocol handler was valid for the URL /wws (scheme 'unix'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

Ah, and you have to install package spawn-fcgi obviously.

Attached you can find a similar sympa-soap.service and corresponding apache config.

To the Debian Maintainers: I hope this fix makes it in the Bullseye version of sympa before Bullseye gets released!

Regards,
--
Patrick Cernko <[email protected]>
Joint Administration: Information Services and Technology
Max-Planck-Institute für Informatik & Softwaresysteme
[Unit]
Description=SympaSOAP - SOAP interface for Sympa mailing list manager
After=syslog.target sympa.service

[Service]
Type=forking
PIDFile=/run/sympa/sympa-soap.pid
ExecStart=/usr/bin/spawn-fcgi -F $FCGI_CHILDREN \
    -P /run/sympa/sympa-soap.pid \
    -s /run/sympa/sympa-soap.socket \
    -u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- \
    /usr/lib/cgi-bin/sympa/sympa_soap_server.fcgi
Environment="FCGI_CHILDREN=5"
Environment="FCGI_USER=sympa"
Environment="FCGI_GROUP=sympa"
Environment="FCGI_OPTS=-M 0600 -U www-data"
Restart=always

[Install]
WantedBy=multi-user.target
#
# Apache >> 2.4 configuration for Sympa (soap webservice)
#

<IfModule mod_fcgid.c>
    #ScriptAlias /sympasoap 
/usr/lib/cgi-bin/sympa/sympa_soap_server-wrapper.fcgi
    #<Directory /usr/lib/cgi-bin/sympa>
    #    Require all granted
    #</Directory>
    <Location /sympasoap>
         SetHandler "proxy:unix:/run/sympa/sympa-soap.socket|fcgi://"
         Require all granted
    </Location>
</IfModule>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to