Luca Guariento
Luca Guariento
Hello, I'm on a Debian 10, and would like to have IIP running via socket. My `/etc/systemd/system/iipsrv.socket`: ``` [Unit] Description=iipsrv socket [Socket] ListenStream=/run/iipsrv/iipsrv.sock [Install] WantedBy=sockets.target ``` My `/etc/systemd/system/iipsrv.service`: ``` [Unit]...
PS: without socket I can access it. So: .service file: `ExecStart=/usr/lib/iipimage-server/iipsrv.fcgi --bind 0.0.0.0:9000` and then in the nginx configuration: ``` location /fcgi-bin/iipsrv.fcgi { fastcgi_pass 0.0.0.0:9000; ``` works fine.
Thanks Andrew, I've deleted the socket (I found those instructions in a [gunicorn how-to](https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-debian-10) and thought it would apply to this as well. On that occasion it worked). I'm still...
`./iipsrv.fcgi --bind unix:/run/iipsrv.sock` or `./iipsrv.fcgi --bind /run/iipsrv.sock` ? The first one gives me a `bind/listen: No such file or directory` error. The second one returns nothing (it hangs there); then...
PS: `./iipsrv.fcgi --bind 0.0.0.0:9000` works just fine.
I'm running it with sudo just to avoid any permission errors (which it'll throw if I don't have permission). No, it's not listening to port 9000 if I launch it...
This is what I get: ``` hmsadm@hms:~$ sudo ./iipsrv.fcgi --bind /run/iipsrv.sock hmsadm@hms:~$ sudo ps -A | grep iipsrv 1044 pts/0 00:00:00 iipsrv.fcgi hmsadm@hms:~$ sudo lsof -i -P -n | grep...
No, no problem at all, I just wanted to find out why the socket connection isn't working. As I said I'm fine with binding it to 0.0.0.0:9000. If there was...
From http://0pointer.de/blog/projects/socket-activation.html: > Now, let's see how we can enable this service in systemd. For this we have to write two systemd unit files: one describing the socket, the other...
I've put everything in place for one more try with both the .socket and the .service files, `and sudo systemctl restart iipsrv.socket` writes this in the logs: ``` Mon Jan...