Questions tagged [unix-sockets]

11 questions
2
votes
1 answer

How to share unix domain socket between containers without named volume?

I have two containers A and B which needs to talk via unix domain socket created by A in /var/run/notif.sock. I can't use named volume as sharing /var/run between containers is risky as it contains container's runtime data. Bind mount requires the…
Ankur Sao
  • 21
  • 1
  • 2
1
vote
2 answers

Redis failing to create unix socket

I am trying to set redis up to use a Unix Socket. I am using the stock Debian installation /etc/redis/redis.conf except with the following additions at the end of the file, based on this info: # create a unix domain socket to listen on unixsocket…
run_the_race
  • 167
  • 6
1
vote
1 answer

Unable to find php8.0-fpm.sock in /run/php/php8.0-fpm.sock, Nginx Web Server

I'm currently listening for TCP sockets in my Nginx Web Server, but for some reasons I'd like to listen to my UNIX-domain sockets. The issue is I'm unable to find php8.0-fpm.sock in both /var/run/php/php8.0-fpm.sock and /run/php/php8.0-fpm.sock…
AtomX
  • 125
  • 1
  • 6
1
vote
1 answer

503 service unavailable with high loads when using php7.3-fpm and lighttpd 1.4.53 connected via UNIX sockets instead of TCP

I recently switched my php7.3-fpm configuration to use UNIX Sockets instead of listening at localhost:9000. This solved a lag problem (every now and then I had requests that took over a second for no reason). But, now using unix sockets I get "503…
SDwarfs
  • 385
  • 4
  • 15
0
votes
0 answers

ProxyPass to dynamic socket path based on URL path

We’re developing a web application and any Git branch can be deployed to a branch-specific directory per click in our Gitlab CI pipeline. I want to make those branches available via Apache HTTPd without static branch names in the config. How to…
0
votes
1 answer

How to restart spawn-fcgi which is returning Socket is already in use?

I have done ps -aux | grep spawn-fcgi found the pid and killed it by kill -9 pid but still when i rerun spawn-fcgi,it still returns Socket is already in use. I am using spawn-fcgi for a qgis server and I need to export some env variables before I…
watkib
  • 101
  • 1
0
votes
0 answers

Rewriterule for unix sockets in apache (can't connect to unix domain socket

in fcgi-racadm.socket file Description=fast cgi socket for remote RACADM [Socket] ListenStream=/var/lib/remoteracadm/fcgiracadm.socket Accept=false SocketMode=0600 SocketUser=apache SocketGroup=apache [Install] WantedBy=sockets.target In…
shilpa
  • 1
0
votes
1 answer

How to telnet to a unix socket in debian to test memcached

To test memcached on Ubuntu, I would run this command: echo "stats settings" | nc -U /run/mydir/memcached.sock However now I have changed to Debian, and Debian nc does not support the -U option. I have tried ss, listen, telnet -b…
run_the_race
  • 167
  • 6
0
votes
0 answers

How to connect to remote Greenbone Community with a unix socket over ssh?

I want to use python-gvm to get reports from greenbone. For this I need a ssh connection which listen to a unix socket. At first I create a test user for the ssh connection. It should use the script shell.sh if I login. useradd -s /shell.sh…
ikreb
  • 103
  • 5
0
votes
1 answer

Apache can’t connect to Unix domain socket

I am trying to install a custom web application with Apache HTTPd as frontend web server. But why does Apache report it couldn't access the Unix socket where the application listens? The web application is configured to listen here: # ls -l…
Daniel Böhmer
  • 259
  • 1
  • 11
0
votes
1 answer

Unix socket communication with Apache 2.4.51 and Flask App using Uwsgi returning "404 Not Found"

I'm using Apache in the front as web server and running python flask application at the back end and they communicate using Unix socket as mentioned in the link below for mod_proxy_uwsgi module and i have loaded both mod_proxy and mod_proxy_uwsgi as…
Jai
  • 1
  • 2