Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Review Suggested Edit

You can't approve or reject suggested edits because you haven't yet earned the Edit Posts ability.

Rejected.
This suggested edit was rejected over 1 year ago by Quasímodo‭:

The question mentions /home/istiak/ruby/qpixel/tmp/pids/server.pid. Thanks for the suggestion.

53 / 255
  • 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)
  • ```
  • There's a easiest way to solve the problem that is you have to remove the file `/home/XXX/ruby/YYY/tmp/pids/server.pid`. Then, you can run your server again.
  • ```bash
  • rm /home/XXX/ruby/YYY/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/XXX/ruby/YYY/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/XXX/ruby/YYY/tmp/pids/server.pid)
  • ```
  • If above code doesn't work than, try following ones.
  • ```
  • kill -9 $(lsof -i tcp:3000 -t)
  • ```

Suggested over 2 years ago by Trilarion‭