When trying to connect to a socket, it tells me the address is already in use.
I try to kill the corresponding process but I get the message that this operation
is not permitted…
Error binding to socket myapp.sock: Address already in use
ERROR: Failed to start myapp daemon.
make: *** [run-sim] Error 1
[grabher@myapp ex1]$ ps -C myapp
PID TTY TIME CMD
2075 ? 00:06:43 myapp
[grabher@myapp ex1]$ kill -9 2075
2075: Operation not permitted
Anyone an idea how I could do that?
Thanks!
you need to kill the process as root
for example in ubuntu would be
sudo kill -9 pid