Post History
There's a easiest way to solve the problem that is you have to remove the file /home/istiak/ruby/qpixel/tmp/pids/server.pid. Then, you can run your server again. rm /home/istiak/ruby/qpixel/tmp/pi...
Answer
#3: Post edited
- There's a easiest way to solve the problem that is you have to remove the file `/home/istiak/ruby/qpixel/tmp/pids/server.pid`. Then, you can run your server again.
- ```bash
- rm /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
- Otherwise, you can kill the process also. Before killing the process you have find number of the process
- ```bash
- more /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
- Then, put that number on following command (instead of 2786)
- ```bash
- kill -9 PID (eg,2786)
- ```
- If above code doesn't work than, try following ones.
- ```
- kill -9 $(lsof -i tcp:3000 -t)
- ```
- There's a easiest way to solve the problem that is you have to remove the file `/home/istiak/ruby/qpixel/tmp/pids/server.pid`. Then, you can run your server again.
- ```bash
- rm /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
- Otherwise, you can kill the process also. Before killing the process you have find number of the process
- ```bash
- more /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
- Then, put that number on following command (instead of 2786)
- ```bash
- kill -9 PID (eg,2786)
- ```
- You can try following code instead of above command (both are equivalent)
- ```bash
- kill -9 $(more /home/istiak/ruby/qpixel/tmp/pids/server.pid)
- ```
- If above code doesn't work than, try following ones.
- ```
- kill -9 $(lsof -i tcp:3000 -t)
- ```
#2: Post edited
- There's a easiest way to solve the problem that is you have to remove the file `/home/istiak/ruby/qpixel/tmp/pids/server.pid`. Then, you can run your server again.
- ```bash
- rm /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
Otherwise, you can kill the process also.- ```bash
- kill -9 PID (eg,2786)
- ```
- If above code doesn't work than, try following ones.
- ```
- kill -9 $(lsof -i tcp:3000 -t)
- ```
- There's a easiest way to solve the problem that is you have to remove the file `/home/istiak/ruby/qpixel/tmp/pids/server.pid`. Then, you can run your server again.
- ```bash
- rm /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
- Otherwise, you can kill the process also. Before killing the process you have find number of the process
- ```bash
- more /home/istiak/ruby/qpixel/tmp/pids/server.pid
- ```
- Then, put that number on following command (instead of 2786)
- ```bash
- kill -9 PID (eg,2786)
- ```
- If above code doesn't work than, try following ones.
- ```
- kill -9 $(lsof -i tcp:3000 -t)
- ```
#1: Initial revision
There's a easiest way to solve the problem that is you have to remove the file `/home/istiak/ruby/qpixel/tmp/pids/server.pid`. Then, you can run your server again. ```bash rm /home/istiak/ruby/qpixel/tmp/pids/server.pid ``` Otherwise, you can kill the process also. ```bash kill -9 PID (eg,2786) ``` If above code doesn't work than, try following ones. ``` kill -9 $(lsof -i tcp:3000 -t) ```