Can not connect to Retropie Manager (Connection refused)
-
@Bender2k please, post here the output of this command:
/opt/retropie/supplementary/retropie-manager/rpmanager.sh --isrunning
-
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?
-
@Bender2k please, post here the output of this command:
cat /etc/rc.local
-
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:~ $
-
@Bender2k please, reboot your pi and then post here the output of this command:
cat /dev/shm/rpmanager.log
-
pi@raspberrypi:~ $ cat /dev/shm/rpmanager.log
cat: /dev/shm/rpmanager.log: Datei oder Verzeichnis nicht gefunden(File or Folder not found)
-
@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 therpmanager
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. -
Yes, i installed a bluetooth plugin so i can use WiiMotes.
I will try to add the "&" to both forst lines. -
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 :( -
@Bender2k comment out the hciconfig lines completely (put a # in front). Also make sure
/etc/rc.local
has the correct permissionsls -l /etc/rc.local
sudo chmod a+x /etc/rc.local
will fix it if it's missing executable permissions.
-
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.....
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.