Results 1 to 7 of 7

Thread: Metasploit service - `remove_stale_pid_file': log/thin.pid already exists

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Jun
    Posts
    16

    Angry Metasploit service - `remove_stale_pid_file': log/thin.pid already exists

    Hello,
    OK now I'm really loosing my mind because of the Metasploit service, I had the error with it before I couldn't fix it so I had to format my PC and have a fresh Kali OS, after installation I had to apt-get update && apt-get dist-upgrade -y update successfull, of course the metasploit service was running like a charm, anyway I installed Google Chrome and made it run as root, than installed PlayOnLinux and runed it as a normal user by adding it adduser youcef, after trying to reboot my PC in rebooting an error was showing so i had it in mind it was metasploit service after booting in again into my OS desktop I started the terminal and
    Code:
    root@Yusuf:~# service postgresql status 
    Running clusters: 9.1/main 
    root@Yusuf:~# service metasploit status 
    [ ok ] Metasploit rpc server is running.
    [FAIL] Metasploit web server is not running ... failed!
    [FAIL] Metasploit worker is not running ... failed!
    root@Yusuf:~# service metasploit stop 
    [ ok ] Stopping Metasploit worker: worker.
    [FAIL] Stopping Metasploit web server: thin failed!
    [ ok ] Stopping Metasploit rpc server: prosvc.
    root@Yusuf:~# service metasploit start 
    [ ok ] Starting Metasploit rpc server: prosvc.
    [....] Starting Metasploit web server: thin/opt/metasploit/apps/pro/ui/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/daemonizing.rb:173:in `remove_stale_pid_file': log/thin.pid already exists, seems like it's already running (process ID: 0). Stop the process or delete log/thin.pid. (Thin::PidFileExist)
    	from /opt/metasploit/apps/pro/ui/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/daemonizing.rb:43:in `daemonize'
    	from /opt/metasploit/apps/pro/ui/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:61:in `start'
    	from /opt/metasploit/apps/pro/ui/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'
    	from /opt/metasploit/apps/pro/ui/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'
    	from /opt/metasploit/apps/pro/ui/vendor/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>'
    	from /opt/metasploit/apps/pro/ui/scripts/ctl.rb:32:in `load'
    	from /opt/metasploit/apps/pro/ui/scripts/ctl.rb:32:in `start_thin'
    	from /opt/metasploit/apps/pro/ui/scripts/ctl.rb:46:in `<main>'

    seriously?? only after 3 days of a fresh Kali installation I get the metasploit error????
    Last edited by g0tmi1k; 2013-12-06 at 08:52. Reason: Meaning full title.

Similar Threads

  1. Metasploit: unrecognized service
    By someshwarceh in forum General Archive
    Replies: 2
    Last Post: 2014-02-22, 00:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •