Closed aablakely closed 3 years ago
I forgot to add I am on Linux (CentOS 7)
I was finally able to end the server (/usr/lib/node_modules/ungit/source/server.js) with the following:
who
or w
ps -ft <tty>
e.g. pts/1 kill <pid>
e.g. kill 32255If anyone else runs into the same issue.
Yes so this has nothing to do with ungit but your ssh connection disconnect causing orphaned process and the port being used up. Your approach is correct to kill the process that way.
Also, if you want you can use tmux
or screen
to have process run on background regardless of ssh connection
Hi!
I am setting up ungit on a remote development server. Due to unrelated VPN/connection issues the SSH connection broke. When I reconnected and tried to rerun the "ungit" command, it says "Ungit server already running". What service should I be searching running processes for that is serving ungit? I would like to be able to
kill
it, or some other process-related solution, since I can no longer Ctrl-C.(This dev server runs apache because the project is a web application. Which means I have to be able to alternate between Apache/Ungit, but I definitely need to be able to stop serving Ungit!)
TIA.