en@sympa.community
Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Register WWSympa FastCGI service fail
- From: "??????" <address@concealed>
- To: "Stefan Hornburg (Racke)" <address@concealed>
- Cc: "sympa-users" <address@concealed>
- Subject: Re: [sympa-users] Register WWSympa FastCGI service fail
- Date: Mon, 29 Oct 2018 09:55:43 +0800
Hello Racke,
Thank you for help.
I updated wwsympa.service file as you told, but it still failed to start the service.
According to the content you provided for wwsympa.service, I find wwsympa.fcgi file now, but still can't find directory /etc/sysconfig and file /var/run/sympa/wwsympa.pid, /var/run/sympa/wwsympa.socket.
Is this the problem?
Also, how to have sympa-nginx?
I am sorry for not quite knowing linux.
best regards
Ari
------------------ Original ------------------
From: "Stefan Hornburg (Racke)"<address@concealed>;
Date: Sat, Oct 27, 2018 11:05 PM
To: "sympa-users"<address@concealed>;
Subject: Re: [sympa-users] Register WWSympa FastCGI service fail
> Hello,
>
> I installed sympa using apt-get in debian9.5, but failed to "Install WWSympa FCGI service". I put file
> _https://sympa-community.github.io/manual/examples/systemd/wwsympa.service_
> in /etc/systemd/system/ directory. and then run:
> $ systemctl start wwsympa.service
> it says "Failed with result 'exit-code'".
> from this example file there is "/var/run/sympa/wwsympa.pid","/var/run/sympa/wwsympa.socket", and
> "/etc/sysconfig/sympa", but I can't find these files in respective directory.
> Can anyone tell what are the paths for debian 9.5? or did I missed some installation of packages?
> I find there is "sympa-nginx"(Im using nginx) under "Requirements" under "Configure HTTP server" in documentation. But I
> try "apt-get install sympa-nginx", there is no package.
>
> Can anyone help me? Thank you.
> Ari
Hello Ari,
you need to adjust the service file for your usecase (Sympa package installed by API) as follows.
The location of wwsympa.fcgi and web user is different. And yes, sympa-nginx would be nice to have :-).
[Unit]
Description=WWSympa - Web interface for Sympa mailing list manager
After=syslog.target
BindTo=sympa.service
[Service]
Type=forking
PIDFile=/var/run/sympa/wwsympa.pid
ExecStart=/usr/bin/spawn-fcgi -F $FCGI_CHILDREN \
-P /var/run/sympa/wwsympa.pid \
-u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- \
/usr/lib/cgi-bin/sympa/wwsympa.fcgi
Environment="FCGI_CHILDREN=5"
Environment="FCGI_USER=sympa"
Environment="FCGI_GROUP=sympa"
Environment="FCGI_OPTS=-s /var/run/sympa/wwsympa.socket -M 0600 -U www-data"
EnvironmentFile=-/etc/sysconfig/sympa
Restart=always
[Install]
WantedBy=multi-user.target
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
-
[sympa-users] Register WWSympa FastCGI service fail,
??????, 10/26/2018
- Re: [sympa-users] Register WWSympa FastCGI service fail, Stefan Hornburg (Racke), 10/27/2018
- <Possible follow-up(s)>
-
Re: [sympa-users] Register WWSympa FastCGI service fail,
??????, 10/29/2018
- Re: [sympa-users] Register WWSympa FastCGI service fail, Stefan Hornburg (Racke), 10/30/2018
Archive powered by MHonArc 2.6.19+.