Skip to content

fcgiwrap doesn't start as service on FreeBSD 13 #59

@deep-darky

Description

@deep-darky

Hi!
When I install fcgiwrap on FreeBSD 13.0 + nginx, I can't start service with:

root@myhost:/var/run/fcgiwrap# service fcgiwrap start
Starting fcgiwrap.
root@myhost:/var/run/fcgiwrap# service fcgiwrap status
fcgiwrap is not running.
root@myhost:/var/run/fcgiwrap#

There are no errors, but also no pid file and sock.
when I manually execute this script (writting for debug):

root@myhost:~/bin# start_fcgi.sh
#!/bin/sh
/usr/sbin/daemon -S -p /var/run/fcgiwrap/fcgiwrap.pid /usr/local/sbin/fcgiwrap -c 2 -s unix:/var/run/fcgiwrap/fcgiwrap.sock
chown www:www /var/run/fcgiwrap/fcgiwrap.sock

Everything fine - I see:

root@myhost:/var/run/fcgiwrap# ls -l
total 5
-rw------- 1 root wheel 4 Apr 27 15:06 fcgiwrap.pid
srwxr-xr-x 1 www www 0 Apr 27 15:06 fcgiwrap.sock

Something wrong is in /usr/local/etc/rc.d/fcgiwrap
( I attach it, as is).
fcgiwrap.zip
For avoid any mistake, I twice install fcgiwrap - with pkg and with building from ports, but nothing change
This issue I have only on FreeBSD 13.0. I have another installation fcgiwrap on Archliux - it works fine "Just form box :-)"

With Best Wishes!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions