Skip to Content.
Sympa Menu

en - Re: [en@sympa] Trouble with spaw-fcgi on FreeBSD

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Alan Hicks <address@concealed>
  • To: address@concealed
  • Cc: Jens Grassel <address@concealed>
  • Subject: Re: [en@sympa] Trouble with spaw-fcgi on FreeBSD
  • Date: Mon, 18 Sep 2023 16:57:47 +0000

On 16/09/2023 08:40, Jens Grassel wrote:
Hi,

I'm trying to setup sympa under FreeBSD and so far everything works as
expected except the web interface. This seems to be caused by the fcgi
script not running (it dies directly after startup).

Is there any way to debug this? Because there are no error messages at
all. :-(

Some information about the system:

- sympa version 6.2.70 (via packages)

# cat /etc/rc.conf | grep spawn_fcgi
spawn_fcgi_enable="YES"
spawn_fcgi_app="/usr/local/bin/perl"
spawn_fcgi_app_args="/usr/local/libexec/sympa/wwsympa.fcgi"
spawn_fcgi_bindsocket="/var/run/sympa/wwsympa.socket"
spawn_fcgi_bindsocket_mode="0600 -U www"
spawn_fcgi_username="sympa"
spawn_fcgi_groupname="sympa"
# service spawn-fcgi start
Starting spawn_fcgi.
spawn-fcgi: child spawned successfully: PID: 13544
# ls -la /var/run/sympa/wwsympa.socket
srw------- 1 www www 0 Sep 16 08:31 /var/run/sympa/wwsympa.socket
# service spawn-fcgi status
spawn_fcgi is not running.
# pgrep 13544
#

Any ideas?

Kind regards,

Jens

Hi,

spawn-fcgi works with sympa but you only mention spawn-fcgi, perhaps sympa isn't running?

service sympa status

You can see how spawn-fcgi is launched with the following, it may offer some insight

sh -x /usr/local/etc/rc.d/spawn-fcgi start

Yes, it's unfortunate there are no logs for spawn-fcgi.

Alan



Archive powered by MHonArc 2.6.19+.

Top of Page