Skip to Content.
Sympa Menu

en - Re: [sympa-users] sympa failing to start - apache - RHEL7

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Antonio Casado <address@concealed>
  • To: Steven Jones <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] sympa failing to start - apache - RHEL7
  • Date: Thu, 27 Feb 2020 09:20:19 +0100

Hi Steven,

El mié., 26 feb. 2020 a las 21:25, Steven Jones (<address@concealed>) escribió:
Hi,

so like this?  cant be right https wont run with "systemctl start sympasoap" enabled.
### Apache httpd 2.4 configuration for Sympa
##
## Note: As of 6.2.35-0.1.b.1, mod_proxy_fcgi was adopted instead of mod_fcgid.
## * You have to edit /etc/sysconfig/sympa as described in it.
## * Then, you have to run separate fastCGI services wwsympa and/or sympasoap:
#ssj start
##   systemctl start wwsympa
systemctl start wwsympa
systemctl start sympasoap

No, comment theses lines:

# systemctl start wwsympa
# systemctl start sympasoap
 
[root@vuwunicomailmd2 conf.d]# systemctl start wwsympa
[root@vuwunicomailmd2 conf.d]# systemctl status wwsympa
● wwsympa.service - WWSympa - Web interface for Sympa mailing list manager
   Loaded: loaded (/usr/lib/systemd/system/wwsympa.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Thu 2020-02-27 09:22:22 NZDT; 2s ago
  Process: 5596 ExecStart=/usr/bin/spawn-fcgi -F $FCGI_CHILDREN -P /run/sympa/wwsympa.pid -s /run/sympa/wwsympa.socket -u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- /usr/libexec/sympa/wwsympa.fcgi (code=exited, status=0/SUCCESS)
 Main PID: 5597 (code=exited, status=1/FAILURE)

Feb 27 09:22:21 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: Unit wwsympa.service entered failed state.
Feb 27 09:22:21 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: wwsympa.service failed.
Feb 27 09:22:22 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: wwsympa.service holdoff time over, scheduling restart.
Feb 27 09:22:22 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: Stopped WWSympa - Web interface for Sympa mailing list manager.
Feb 27 09:22:22 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: start request repeated too quickly for wwsympa.service
Feb 27 09:22:22 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: Failed to start WWSympa - Web interface for Sympa mailing list manager.
Feb 27 09:22:22 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: Unit wwsympa.service entered failed state.
Feb 27 09:22:22 vuwunicomailmd2.ods.vuw.ac.nz systemd[1]: wwsympa.service failed.

About wwsympa, check:

# ps -ef | grep sympa
sympa    23151     1  0 feb26 ?        00:05:02 /usr/bin/perl /usr/sbin/sympa_msg.pl
sympa    23156     1  0 feb26 ?        00:01:50 /usr/bin/perl /usr/sbin/task_manager.pl
sympa    23157     1  0 feb26 ?        00:00:42 /usr/bin/perl /usr/sbin/bulk.pl
sympa    23159     1  0 feb26 ?        00:00:07 /usr/bin/perl /usr/sbin/bounced.pl
sympa    23160     1  0 feb26 ?        00:00:11 /usr/bin/perl /usr/sbin/archived.pl
sympa    23258     1  0 feb26 ?        00:00:30 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa    23259     1  0 feb26 ?        00:00:34 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa    23260     1  0 feb26 ?        00:00:31 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa    23261     1  0 feb26 ?        00:00:22 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa    23262     1  0 feb26 ?        00:00:29 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi

# ls -l /var/run/sympa/
total 24
-rw-r--r-- 1 sympa  sympa   6 feb 26 08:49 archived.pid
-rw-r--r-- 1 sympa  sympa   6 feb 26 08:49 bounced.pid
-rw-r--r-- 1 sympa  sympa   6 feb 27 08:41 bulk.pid
-rw-r--r-- 1 sympa  sympa   6 feb 26 08:49 sympa_msg.pid
-rw-r--r-- 1 sympa  sympa   6 feb 26 08:49 task_manager.pid
-rw-r--r-- 1 root   root   29 feb 26 08:54 wwsympa.pid
srw------- 1 apache apache  0 feb 26 08:54 wwsympa.socket

# more /usr/lib/systemd/system/wwsympa.service
[Unit]
Description=WWSympa - Web interface for Sympa mailing list manager
After=syslog.target sympa.service

[Service]
Type=forking
PIDFile=/run/sympa/wwsympa.pid
ExecStart=/usr/bin/spawn-fcgi -F $FCGI_CHILDREN \
    -P /run/sympa/wwsympa.pid \
    -s /run/sympa/wwsympa.socket \
    -u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- \
    /usr/libexec/sympa/wwsympa.fcgi
Environment="FCGI_CHILDREN=5"
Environment="FCGI_USER=sympa"
Environment="FCGI_GROUP=sympa"
Environment="FCGI_OPTS=-M 0600 -U nginx"
EnvironmentFile=-/etc/sysconfig/sympa
Restart=always

[Install]
WantedBy=multi-user.target

# rpm -qa | grep fcgi
mod_fcgid-2.3.9-6.el7.x86_64
spawn-fcgi-1.6.3-5.el7.x86_64


Lucky, bye.

--
Antonio Casado Rodríguez
Administrador de Servicios de Red y Seguridad TIC
Área de Comunicaciones
STIC (Servicio de las Tecnologías de la Información y las Comunicaciones)
UNIVERSIDAD DE ALMERÍA

Puede consultar la información adicional sobre confidencialidad de este email y protección de datos en nuestra página web http://www.ual.es/lopd-email
 - Responsable del Tratamiento: Universidad de Almería
 - Finalidad: Atender y dar respuesta a su petición o consulta y mantener los contactos y relaciones que se produzcan como consecuencia de la misma.
 - Derechos: Para el ejercicio de derechos de protección de datos diríjase a: http://www.ual.es/lopd-derechos



Archive powered by MHonArc 2.6.19+.

Top of Page