Skip to Content.
Sympa Menu

en - Re: [en@sympa] Apache cannot be started

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Tim-Ole Golz <address@concealed>
  • To: Ralph Ballier <address@concealed>, "en@sympa" <address@concealed>
  • Subject: Re: [en@sympa] Apache cannot be started
  • Date: Fri, 3 Jan 2025 13:36:42 +0100

Hi, Ralph,

> after entering "systemctl start wwsympa.socket", this status query appears
> (see below). But wwsympa.fcgi is not running. Is this process necessary for
> it to work?

how did you set up the FCGI?

You can use one of these two methods AFAIK:

1) separate FCGI-Service:

https://www.sympa.community/manual/install/configure-http-server-spawnfcgi.html

2) per Systemd:

https://www.sympa.community/manual/install/configure-http-server-systemdsocket.html

For the second:

a) nano /lib/systemd/system/wwsympa.socket

[Unit]
Description=Sympa web interface socket

[Socket]
SocketUser=nobody
SocketMode=0600
ListenStream=$PIDDIR/wwsympa.socket

[Install]
WantedBy=sockets.target

b) mkdir /etc/systemd/system/wwsympa.socket.d

c) nano /etc/systemd/system/wwsympa.socket.d/override.conf

[Socket]
SocketUser=www-data

d) nano /lib/systemd/system/wwsympa.service

[Unit]
Description = WWSympa - Web interface for Sympa mailing list manager (service)
After = syslog.target sympa.service

[Service]
User = sympa
Group = sympa
ExecStart = /usr/lib/cgi-bin/sympa/wwsympa.fcgi
StandardOutput = null
StandardInput = socket
StandardError = null
Restart=on-failure

[Install]
WantedBy = multi-user.target

=> wwsympa.service will be invoked automatically when the socket will be
accessed.

And for the Apache-Vhost (in my case):

LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so

<Location /sympa>
SetHandler "proxy:unix:/run/sympa/wwsympa.socket|fcgi://"
# Don't forget to edit lines below!
Require local
#Require all granted
</Location>

/\ you should adjust the values to your local environment, of course.

Apache runs standalone, i.e. shows the „Welcome“-default-index, f. ex. when
you are using a simple Apache-conf without sympa?

Best regards, toag





Archive powered by MHonArc 2.6.19+.

Top of Page