• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Can not connect to Retropie Manager (Connection refused)

Scheduled Pinned Locked Moved Help and Support
manageropenport
12 Posts 3 Posters 5.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    meleu @Bender2k
    last edited by 15 Jun 2017, 10:17

    @Bender2k please, post here the output of this command:

    /opt/retropie/supplementary/retropie-manager/rpmanager.sh --isrunning
    
    • Useful topics
    • joystick-selection tool
    • rpie-art tool
    • achievements I made
    1 Reply Last reply Reply Quote 0
    • B
      Bender2k
      last edited by 15 Jun 2017, 13:39

      Ahhhh,

      it is not running! But when i config the manager using the RetroPie Setup Script it says, that autostart on boot is enabled.
      When i start it by hand, i can access via browser but after a reboot it is again not running automatically.

      Where is the problem?

      M 1 Reply Last reply 15 Jun 2017, 14:02 Reply Quote 0
      • M
        meleu @Bender2k
        last edited by 15 Jun 2017, 14:02

        @Bender2k please, post here the output of this command:

        cat /etc/rc.local
        
        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • B
          Bender2k
          last edited by 15 Jun 2017, 15:45

          pi@raspberrypi:~ $ cat /etc/rc.local

          #!/bin/sh -e
          #
          # rc.local
          #
          # This script is executed at the end of each multiuser runlevel.
          # Make sure that the script will "exit 0" on success or any other
          # value on error.
          #
          # In order to enable or disable this script just change the execution
          # bits.
          #
          # By default this script does nothing.
          hciconfig hci0 up
          hciconfig hci0 pscan
          "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
          exit 0
          pi@raspberrypi:~ $
          M 2 Replies Last reply 15 Jun 2017, 15:54 Reply Quote 0
          • M
            meleu @Bender2k
            last edited by 15 Jun 2017, 15:54

            @Bender2k please, reboot your pi and then post here the output of this command:

            cat /dev/shm/rpmanager.log
            
            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • B
              Bender2k
              last edited by 15 Jun 2017, 16:00

              pi@raspberrypi:~ $ cat /dev/shm/rpmanager.log
              cat: /dev/shm/rpmanager.log: Datei oder Verzeichnis nicht gefunden

              (File or Folder not found)

              1 Reply Last reply Reply Quote 0
              • M
                meleu @Bender2k
                last edited by 15 Jun 2017, 17:03

                @Bender2k said in Can not connect to Retropie Manager (Connection refused):

                pi@raspberrypi:~ $ cat /etc/rc.local

                #!/bin/sh -e
                #
                # rc.local
                #
                # ...
                #
                hciconfig hci0 up
                hciconfig hci0 pscan
                "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
                exit 0
                

                Maybe those hciconfig commands aren't finalizing and then the rpmanager line isn't being executed. Usually we put a & char in the end each line in the /etc/rc.local in order to make the command execute in background mode and the script goes to the next command.

                I'm not sure what those hciconfig commands do (something related to bluetooth?), but I would try to add a & at the end of each line and see if it works.

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 0
                • B
                  Bender2k
                  last edited by 15 Jun 2017, 19:04

                  Yes, i installed a bluetooth plugin so i can use WiiMotes.
                  I will try to add the "&" to both forst lines.

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bender2k
                    last edited by 15 Jun 2017, 19:23

                    I added the "&" to both lines and i tried to put the 3rd line as first, before the hciconfig lines.
                    Both is not working. The manager is not starting automatically :(

                    B 1 Reply Last reply 15 Jun 2017, 20:58 Reply Quote 0
                    • B
                      BuZz administrators @Bender2k
                      last edited by 15 Jun 2017, 20:58

                      @Bender2k comment out the hciconfig lines completely (put a # in front). Also make sure /etc/rc.local has the correct permissions

                      ls -l /etc/rc.local
                      
                      sudo chmod a+x /etc/rc.local
                      

                      will fix it if it's missing executable permissions.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bender2k
                        last edited by Bender2k 16 Jun 2017, 13:02

                        I uncommented it and set the rights as you advised:

                        pi@raspberrypi:~ $ cat /etc/rc.local

                        #!/bin/sh -e
                        #
                        # rc.local
                        #
                        # This script is executed at the end of each multiuser runlevel.
                        # Make sure that the script will "exit 0" on success or any other
                        # value on error.
                        #
                        # In order to enable or disable this script just change the execution
                        # bits.
                        #
                        # By default this script does nothing.
                        #hciconfig hci0 up
                        #hciconfig hci0 pscan
                        "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
                        exit 0
                        
                        
                        
                        
                        
                        Result:
                        pi@raspberrypi:~ $ /opt/retropie/supplementary/retropie-manager/rpmanager.sh --isrunning
                        RetroPie-Manager is not running
                        
                        
                        
                        
                        Sad.....
                        1 Reply Last reply Reply Quote 0
                        11 out of 12
                        • First post
                          11/12
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                          This community forum collects and processes your personal information.
                          consent.not_received