Skip to Content.
Sympa Menu

en - Re: [sympa-users] Register WWSympa FastCGI service fail

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Register WWSympa FastCGI service fail
  • Date: Tue, 30 Oct 2018 09:09:46 +0100

On 10/29/18 2:55 AM, ?????? wrote:
> 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?0?2/etc/sysconfig and
> file?0?2/var/run/sympa/wwsympa.pid,?0?2/var/run/sympa/wwsympa.socket.

As /etc/sysconfig/sympa is prefixed by a -, this file is optional.f

/var/run/sympa/wwsympa.pid and /var/run/sympa/wwsympa.socket should be
created by the wwsympa service, check
if there is a problem with permissions.

Why it fails - please post the output of "systemctl status wwsympa" and the
logs from "journalctl -u wwsympa" (last lines).

Regards
Racke


> Is this the problem?
> Also, how to have?0?2sympa-nginx?
> I am sorry for not quite knowing linux.
>
> best regards
> Ari
>
> ------------------?0?2Original?0?2------------------
> *From: *?0?2"Stefan Hornburg (Racke)"<address@concealed>;
> *Date: *?0?2Sat, Oct 27, 2018 11:05 PM
> *To: *?0?2"sympa-users"<address@concealed>;
> *Subject: *?0?2Re: [sympa-users] Register WWSympa FastCGI service fail
>
> On 10/26/18 6:29 AM, ?????? wrote:
>> 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 \
> ?0?2?0?2?0?2 -P /var/run/sympa/wwsympa.pid \
> ?0?2?0?2?0?2 -u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- \
> ?0?2?0?2?0?2 /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
> ?0?2?0?2?0?2?0?2?0?2?0?2?0?2?0?2 Racke
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.



Archive powered by MHonArc 2.6.19+.

Top of Page