Subject: The mailing list for listmasters using Sympa
List archive
- From: Ruud Baart <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: [sympa-users] missing something with nginx setup
- Date: Sun, 27 Mar 2022 18:01:24 +0200
Hi,
I have installed new servers and changing from Apache to nginx. I'm almost ready but I have a problem with sympa and nginx. A check and upgrade command give no problem. But the web interface is not working correctly. Clearly I'm missing something. Some one an idea?
Server: Debian 11 (bullseye with backports). Server serves also
other websites with php and perl.
nginx: 1.18
Sympa: latest (6.2.68), installed from source.
in sympa.conf:
domain listserver.tiswe.fr
wwsympa_url https://listserver.tiswe.fr/wws
static_content_path /usr/local/sympa/static_content
static_content_url /static-sympa
nginx setup:
server_name listserver.tiswe.fr
listen 443 ssl;
ssl_certificate /etc/letsencrypt/.....
ssl_certificate_key /etc/letsencrypt/...
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
location /wws {
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/run/sympa/wwsympa.socket;
}
location /static-sympa {
alias /usr/local/sympa/static_content;
}
}
I have added in the nginx configuration locations as sympasoap
and css but that does not change a thing.
All files are existing. All services are running without problem (I think)
I can login and I can see the opening page https:/listserver.tiswe.fr/wws but with an error.ps -ef|grep sympa
sympa 247731 1 0 16:54 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/wwsympa.fcgi
sympa 247743 1 0 16:54 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/wwsympa.fcgi
sympa 247744 1 0 16:54 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/wwsympa.fcgi
sympa 247745 1 0 16:54 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/wwsympa.fcgi
sympa 247746 1 0 16:54 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/wwsympa.fcgi
sympa 248803 1 0 17:07 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/sympa_soap_server.fcgi
sympa 248804 1 0 17:07 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/sympa_soap_server.fcgi
sympa 248805 1 0 17:07 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/sympa_soap_server.fcgi
sympa 248806 1 0 17:07 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/sympa_soap_server.fcgi
sympa 248807 1 0 17:07 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/sympa_soap_server.fcgi
sympa 249238 1 0 17:13 ? 00:00:00 /usr/bin/perl /usr/local/sympa/bin/sympa_msg.pl
sympa 249251 1 0 17:13 ? 00:00:01 /usr/bin/perl /usr/local/sympa/bin/task_manager.pl
sympa 249252 1 0 17:13 ? 00:00:00 /usr/bin/perl /usr/local/sympa/bin/bulk.pl
sympa 249253 1 0 17:13 ? 00:00:00 /usr/bin/perl /usr/local/sympa/bin/archived.pl
sympa 249254 1 0 17:13 ? 00:00:00 /usr/bin/perl /usr/local/sympa/bin/bounced.pl
In the nginx errors like:
22/03/27 17:15:31 [error] 249265#249265: *51 open() "/usr/share/nginx/html/serveradmin" failed (2: No such file or directory), client: 82.98.36.201, server: listserver.tiswe.fr, request: "GET /serveradmin HTTP/1.1", host: "listserver.tiswe.fr", referrer: "https://listserver.tiswe.fr//wws"
2022/03/27 17:15:31 [error] 249265#249265: *51 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 82.98.36.201, server: listserver.tiswe.fr, request: "GET /favicon.ico HTTP/1.1", host: "listserver.tiswe.fr", referrer: "https://listserver.tiswe.fr/serveradmin"
2022/03/27 17:29:48 [error] 250295#250295: *23 open() "/usr/share/nginx/html/pref" failed (2: No such file or directory), client: 82.98.36.201, server: listserver.tiswe.fr, request: "GET /pref HTTP/1.1", host: "listserver.tiswe.fr", referrer: "https://listserver.tiswe.fr/wws"
-
[sympa-users] missing something with nginx setup,
Ruud Baart, 03/27/2022
-
Re: [sympa-users] missing something with nginx setup,
Rob Lister, 03/29/2022
- Re: [sympa-users] missing something with nginx setup, Stefan Hornburg (Racke), 03/29/2022
-
Re: [sympa-users] missing something with nginx setup,
Rob Lister, 03/29/2022
Archive powered by MHonArc 2.6.19+.