Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Unnatural experiments, can't get wwsympa connected
- From: "Stefan Hornburg (Racke)" <address@concealed>
- To: "Mail administrator, Otto Makela" <address@concealed>, "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] Unnatural experiments, can't get wwsympa connected
- Date: Fri, 13 Aug 2021 16:45:11 +0200
Hello Otto,
please post an excerpt of the Apache log.
A common error is the wwsympa_url configuration parameter not matching the incoming host name.
Regards
Racke
On August 13, 2021 3:54:55 PM GMT+02:00, "Mail administrator, Otto Makela" <address@concealed> wrote:
Confession: I'm doing bad, unauthorized and experimental things.
The reason for this is extreme laziness, not wanting to maintain
manually tarball-installed packages.
I have a Red Hat Enterprise Linux release 8.4 (Ootpa) server,
where I have installed by hand the following packages, and the
dependencies that follow with them, all satisfied:
sympa-6.2.62-1.el7.x86_64
sympa-httpd-6.2.62-1.el7.x86_64
foundation-icons-fonts-3.0-2.el7.noarch.rpm
js-respond-1.4.2-1.el7.noarch.rpm
These standard RHEL8 repository packages were also installed:
mariadb mariadb-server mariadb-server-utils mod_ssl
The end result is a Sympa server that is running, the httpd server
is accepting connections, but for some reason wwsympa (via spawn-fcgi)
doesn't really seem to be all there. Guessing from strace, it seems
to be getting queries from httpd and responding to them, but those
responses somehow never seem to come back to httpd:
# systemctl status sympa
● sympa.service - Sympa mailing list manager
Loaded: loaded (/usr/lib/systemd/system/sympa.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/sympa.service.d
└─dependencies.conf
Active: active (running) since Fri 2021-08-13 05:15:53 EEST; 10h ago
Process: 1852 ExecStart=/usr/sbin/sympa_msg.pl (code=exited, status=0/SUCCESS)
Process: 1084 ExecStartPre=/usr/sbin/sympa.pl --health_check (code=exited, status=0/SUCCESS)
Process: 1055 ExecStartPre=/bin/chown sympa:sympa /run/sympa (code=exited, status=0/SUCCESS)
Process: 1045 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, status=0/SUCCESS)
Main PID: 1933 (sympa_msg.pl)
Tasks: 1 (limit: 23667)
Memory: 84.9M
CGroup: /system.slice/sympa.service
└─1933 /usr/bin/perl /usr/sbin/sympa_msg.pl
Aug 13 05:15:48 myserver.mydomain.fi systemd[1]: Starting Sympa mailing list manager...
Aug 13 05:15:51 myserver.mydomain.fi sympa/health_check[1084]: info main:: Configuration file read, default log level 0
Aug 13 05:15:53 myserver.mydomain.fi sympa_msg[1852]: info main::_load() Configuration file read, default log level 0
Aug 13 05:15:53 myserver.mydomain.fi sympa_msg[1852]: notice Sympa::Process::daemonize() Starting sympa/msg daemon, PID 1933
Aug 13 05:15:53 myserver.mydomain.fi systemd[1]: Started Sympa mailing list manager.
Aug 13 05:15:53 myserver.mydomain.fi sympa_msg[1933]: notice main:: Sympa/msg 6.2.62 Started
# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2021-08-13 09:15:26 EEST; 6h ago
Docs: man:httpd.service(8)
Main PID: 6625 (httpd)
Status: "Total requests: 235; Idle/Busy workers 100/0;Requests/sec: 0.00938; Bytes served/sec: 24 B/sec"
Tasks: 287 (limit: 23667)
Memory: 83.0M
CGroup: /system.slice/httpd.service
├─6625 /usr/sbin/httpd -DFOREGROUND
├─6626 /usr/sbin/httpd -DFOREGROUND
├─6627 /usr/sbin/httpd -DFOREGROUND
├─6628 /usr/sbin/httpd -DFOREGROUND
├─6629 /usr/sbin/httpd -DFOREGROUND
├─6630 /usr/sbin/httpd -DFOREGROUND
└─6851 /usr/sbin/httpd -DFOREGROUND
Aug 13 09:15:26 myserver.mydomain.fi systemd[1]: Starting The Apache HTTP Server...
Aug 13 09:15:26 myserver.mydomain.fi systemd[1]: Started The Apache HTTP Server.
Aug 13 09:15:27 myserver.mydomain.fi httpd[6625]: Server configured, listening on: 2001:708:10:6021::164 port 80, ...
# 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: active (running) since Fri 2021-08-13 05:15:53 EEST; 10h ago
Process: 1934 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/libe>
Main PID: 1941 (wwsympa.fcgi)
Tasks: 5 (limit: 23667)
Memory: 525.4M
CGroup: /system.slice/wwsympa.service
├─1941 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
├─1945 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
├─1946 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
├─1947 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
└─1948 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
Aug 13 05:15:53 myserver.mydomain.fi spawn-fcgi[1934]: spawn-fcgi: child spawned successfully: PID: 1945
Aug 13 05:15:53 myserver.mydomain.fi spawn-fcgi[1934]: spawn-fcgi: child spawned successfully: PID: 1946
Aug 13 05:15:53 myserver.mydomain.fi spawn-fcgi[1934]: spawn-fcgi: child spawned successfully: PID: 1947
Aug 13 05:15:53 myserver.mydomain.fi spawn-fcgi[1934]: spawn-fcgi: child spawned successfully: PID: 1948
Aug 13 05:15:53 myserver.mydomain.fi systemd[1]: Started WWSympa - Web interface for Sympa mailing list manager.
Aug 13 05:15:57 myserver.mydomain.fi wwsympa[1945]: info main:: WWSympa started, process 1945
Aug 13 05:15:57 myserver.mydomain.fi wwsympa[1946]: info main:: WWSympa started, process 1946
Aug 13 05:15:57 myserver.mydomain.fi wwsympa[1948]: info main:: WWSympa started, process 1948
Aug 13 05:15:57 myserver.mydomain.fi wwsympa[1941]: info main:: WWSympa started, process 1941
Aug 13 05:15:57 myserver.mydomain.fi wwsympa[1947]: info main:: WWSympa started, process 1947
# ps -fu apache
UID PID PPID C STIME TTY TIME CMD
apache 6626 6625 0 09:15 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 6627 6625 0 09:15 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 6628 6625 0 09:15 ? 00:00:06 /usr/sbin/httpd -DFOREGROUND
apache 6629 6625 0 09:15 ? 00:00:05 /usr/sbin/httpd -DFOREGROUND
apache 6630 6625 0 09:15 ? 00:00:06 /usr/sbin/httpd -DFOREGROUND
apache 6851 6625 0 09:15 ? 00:00:07 /usr/sbin/httpd -DFOREGROUND
# ps -fu sympa
UID PID PPID C STIME TTY TIME CMD
sympa 1933 1 0 05:15 ? 00:00:02 /usr/bin/perl /usr/sbin/sympa_msg.pl
sympa 1941 1 0 05:15 ? 00:00:00 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa 1945 1 0 05:15 ? 00:00:00 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa 1946 1 0 05:15 ? 00:00:00 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa 1947 1 0 05:15 ? 00:00:00 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa 1948 1 0 05:15 ? 00:00:00 /usr/bin/perl /usr/libexec/sympa/wwsympa.fcgi
sympa 1988 1 0 05:15 ? 00:00:10 /usr/bin/perl /usr/sbin/bulk.pl
sympa 2002 1 0 05:15 ? 00:00:02 /usr/bin/perl /usr/sbin/task_manager.pl
sympa 2015 1 0 05:15 ? 00:00:01 /usr/bin/perl /usr/sbin/archived.pl
sympa 2016 1 0 05:15 ? 00:00:01 /usr/bin/perl /usr/sbin/bounced.pl
Maybe I'm deluded, and these unnatural experiments have twisted my little
mind, but I really think I'm fairly close getting this thing working.
Apart from the fact that I have no idea why the web server and fcgi aren't
talking with each other. Anyone have suggestions for debugging this?
I must be missing something fairly obvious.
Apache httpd is indicating in logs that connections are being responded to,
wwsympa doesn't seem to be logging anything anywhere.
Before you ask, selinux is disabled.--
address@concealed (Mail Administrator, Otto J. Makela)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-
[sympa-users] Unnatural experiments, can't get wwsympa connected,
Mail administrator, Otto Makela, 08/13/2021
-
Re: [sympa-users] Unnatural experiments, can't get wwsympa connected,
Stefan Hornburg (Racke), 08/13/2021
-
Re: [sympa-users] Unnatural experiments, can't get wwsympa connected,
Mail administrator, Otto Makela, 08/16/2021
- Re: [sympa-users] Unnatural experiments, can't get wwsympa connected, Stefan Hornburg (Racke), 08/16/2021
- Re: [sympa-users] Unnatural experiments, can't get wwsympa connected, Mail administrator, Otto Makela, 08/16/2021
- Re: [sympa-users] Unnatural experiments, Mail administrator, Otto Makela, 08/20/2021
-
Re: [sympa-users] Unnatural experiments, can't get wwsympa connected,
Mail administrator, Otto Makela, 08/16/2021
-
Re: [sympa-users] Unnatural experiments, can't get wwsympa connected,
Stefan Hornburg (Racke), 08/13/2021
Archive powered by MHonArc 2.6.19+.