Go to advanced search

by dannycv
Tue Dec 26, 2017 10:57 pm
Forum: Troubleshooting
Topic: Fail to start /etc/rc.local
Replies: 10
Views: 6710

Re: Fail to start /etc/rc.local

stupid question... will you get any error, when you type in that command line to the console/terminal sudo -u pi /usr/bin/python /usr/bin/deluge-web while you are logge on? I typed that in the console and got: [email protected]:~ $ sudo -u pi /usr/bin/python /usr/bin/deluge-web + sudo -u pi /usr/bin/python...
by dannycv
Tue Dec 26, 2017 10:55 pm
Forum: Troubleshooting
Topic: Fail to start /etc/rc.local
Replies: 10
Views: 6710

Re: Fail to start /etc/rc.local

I'd try exec >/boot/local.txt 2>&1;set -x as that would mean if the boot completely failed you'd be able to put the card in any computer and read the log file (some windows text editors may bork over the line endings though). I typed exec >/boot/local.txt 2>&1;set -x and got: [email protected]:~ $ -bash: /...
by dannycv
Tue Dec 26, 2017 3:57 pm
Forum: Troubleshooting
Topic: Fail to start /etc/rc.local
Replies: 10
Views: 6710

Re: Fail to start /etc/rc.local

How do I like[sic] at the file /tmp/rc-local.out.? Sorry Im completely new to raspberry pi or anything about coding. Presumably, whatever editor you used to change /etc/rc.local would be a good choice to use to examine /tmp/rc-local.out. Whatever you're comfortable with... I just typed in the conso...
by dannycv
Tue Dec 26, 2017 11:57 am
Forum: Troubleshooting
Topic: Fail to start /etc/rc.local
Replies: 10
Views: 6710

Re: Fail to start /etc/rc.local

The answer to just about every "I put it in rc.local; it didn't work" question is to put this line in rc.local, just before the line that says "# Print the IP address": exec > /tmp/rc-local.out 2>&1;set -x I inserted the line here: # DISPLAY IP ON REBOOT exec > /tmp/rc-local.out 2>&1;set -x _IP=$(h...
by dannycv
Mon Dec 25, 2017 1:27 pm
Forum: Troubleshooting
Topic: Fail to start /etc/rc.local
Replies: 10
Views: 6710

Fail to start /etc/rc.local

Hi, I just started using raspberry pi as a torrentbox, following this guide: https://techwiztime.com/article/best-raspberry-pi-torrentbox/ I was trying to make deluge run automatically on startup, so I followed the guide , using this code: sudo nano /etc/rc.local , then adding: # DISPLAY IP ON REBOO...

Go to advanced search