Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] thin的pid文件未清除导致重启msf后台服务无法启动 #145

Closed
FunnyWolf opened this issue Aug 8, 2023 · 1 comment
Closed
Assignees

Comments

@FunnyWolf
Copy link
Owner

复现步骤

  1. kill msf后台进程
  2. 重启msf后台进程

截图
请提供Bug出现时的截图.

/root/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/thin-1.8.2/lib/thin/daemonizing.rb:190:in `remove_stale_pid_file': tmp/pids/thin.pid already exists, seems like it's already running (process ID: 133). Stop the process or delete tmp/pids/thin.pid. (Thin::PidFileExist)
	from /root/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/thin-1.8.2/lib/thin/daemonizing.rb:49:in `daemonize'
	from /root/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/thin-1.8.2/lib/thin/controllers/controller.rb:62:in `start'
	from /root/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/thin-1.8.2/lib/thin/runner.rb:203:in `run_command'
	from /root/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/thin-1.8.2/lib/thin/runner.rb:159:in `run!'
	from /root/.rbenv/versions/3.0.5/lib/ruby/gems/3.0.0/gems/thin-1.8.2/bin/thin:6:in `<top (required)>'
	from /root/.rbenv/versions/3.0.5/bin/thin:25:in `load'
	from /root/.rbenv/versions/3.0.5/bin/thin:25:in `<main>'

@FunnyWolf

@FunnyWolf FunnyWolf self-assigned this Aug 8, 2023
FunnyWolf added a commit to FunnyWolf/viperpython that referenced this issue Aug 8, 2023
FunnyWolf added a commit to FunnyWolf/viperpython that referenced this issue Aug 8, 2023
@FunnyWolf FunnyWolf reopened this Aug 28, 2023
@FunnyWolf
Copy link
Owner Author

we should delete this file /root/metasploit-framework/tmp/pids/thin.pid

FunnyWolf added a commit to FunnyWolf/viperpython that referenced this issue Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant