Kodi Community Forum

Full Version: librtmp - Help Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
thanks for willingto help....but this is my result?


##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (official) Version: 4.0.5
OpenELEC:~ # journalctl --no-pager | grep autostart.sh
OpenELEC:~ # journalctl --no-pager --unit=xbmc-autostart
-- Logs begin at Tue 2014-06-24 00:02:51 CEST, end at Tue 2014-06-24 00:36:59 CE ST. --
OpenELEC:~ # journalctl --no-pager / grep autostart.sh
File is neither a device node, nor regular file, nor executable: /
Failed to add filters: Invalid argument
OpenELEC:~ #
(2014-06-24, 00:41)haakie Wrote: [ -> ]OpenELEC:~ # journalctl --no-pager | grep autostart.sh
OpenELEC:~ # journalctl --no-pager --unit=xbmc-autostart
-- Logs begin at Tue 2014-06-24 00:02:51 CEST, end at Tue 2014-06-24 00:36:59 CEST. --

I guess you've failed to add the required command to /storage/.config/autostart.sh.

Re-read the installation instructions carefully and locate the step you have missed out - my guess would be step #2.

(2014-06-24, 00:41)haakie Wrote: [ -> ]OpenELEC:~ # journalctl --no-pager / grep autostart.sh
File is neither a device node, nor regular file, nor executable: /
Failed to add filters: Invalid argument
OpenELEC:~ #

If you don't understand Linux, don't type random commands hoping it will work.
with step 2 you mean create the line in autostart.sh?....because I really did that.

when I make the command in putty: journalctl --no-pager | grep autostart.sh.....nothing happened?

I have the exact line as in instructions:
#!/bin/sh

# Hack for third-party libraries
[ $PPID -eq 1 -a -f /storage/.config/hacklib ] && . /storage/.config/hacklib

# Rest of autostart.sh goes here...

and I did the md5 checksum.....also ok
and in storage.config i have hacklib and mktmplib (and autostart.sh ofcourse!)
And you've rebooted?
yes...several times.

only want to know if it is working (:-()
when I type in your command in putty I see nothing happen.......

well....I go to bed now...it is 2 a.m. .....tommorrow I will have a look again

damm........this is annoying!!
sorry that I am a total Linux noob....I really appreciate your help
I really don't know what you've done wrong. The only thing that is clear is that you don't have any autostart.sh process, or you have one but it's not finding the hacklib script. Or, you've not created the /storage/lib folder.

Paste the following five commands into PuTTY (mouse right click on PuTTY window) and then copy & paste the results here so I can see what is going on:
Code:
pastebinit /storage/.config/autostart.sh
md5sum /storage/.config/autostart.sh /storage/.config/hacklib /storage/.config/mktmplib
ls -la /storage/.config | pastebinit
ls -la /storage/lib | pastebinit
ls -la /storage | pastebinit
step 1
http://sprunge.us/VOaf

step2
ab2f7682ff356792ac3b3d7f16156e19 /storage/.config/autostart.sh
722896b7516cd10d32306ec7fe268c07 /storage/.config/hacklib
8aedba1f56629f93e8f14829de0e9123 /storage/.config/mktmplib

step3
http://sprunge.us/RBWD

step4
http://sprunge.us/FARS

step5
http://sprunge.us/BRGe

and now I really go to bed..........hoping for an answer tomorrow.........thanks again!
Just as a test, can you paste the following commands:
Code:
cd /storage/.config
rm -f autostart.sh
curl -L http://sprunge.us/gHBK -o autostart.sh
chmod +x autostart.sh
sync
reboot
and once your Pi has restarted, and XBMC is idle at the menu, connect to your Pi using PuTTY and paste the following command (pasting the response here):
Code:
journalctl --no-pager --unit=xbmc-autostart
Hi Millhouse,
the problem is that when I type the command, I don't get ANY responseHuh.........it is the same as with "journalctl --no-pager | grep autostart.sh"........here is printscreen of putty:

##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################
OpenELEC (official) Version: 4.0.5
OpenELEC:~ # journalctl --no-pager --unit=xbmc-autostart
-- Logs begin at Tue 2014-06-24 10:43:36 CEST, end at Tue 2014-06-24 10:50:18 CEST. --
OpenELEC:~ # journalctl --no-pager | grep autostart.sh
OpenELEC:~ #
What's the output of the following:
Code:
systemctl status xbmc-autostart
now I have a result!

OpenELEC (official) Version: 4.0.5
OpenELEC:~ # systemctl status xbmc-autostart
● xbmc-autostart.service - XBMC user autostart script
Loaded: loaded (/usr/lib/systemd/system/xbmc-autostart.service; disabled)
Active: active (exited) since Thu 1970-01-01 01:00:18 CET; 44 years 5 months ago
Process: 339 ExecStart=/bin/sh -c . /etc/profile; exec /bin/sh /storage/.config/autostart.sh (code=exited, status=0/SUCCESS)
Main PID: 339 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/xbmc-autostart.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Now try the following:
Code:
echo $LD_LIBRARY_PATH | pastebinit
ls -la /var/tmp/libhack/ | pastebinit

It looks like it's working, however your system log (journal) is being wiped out because the clock on your system is not being set early enough - are you on WiFi?
I am NOT on wifi.....i use wired internet

step 1 http://sprunge.us/FKiF
step2 http://sprunge.us/gRiM
(2014-06-24, 11:34)haakie Wrote: [ -> ]I am NOT on wifi.....i use wired internet

step 1 http://sprunge.us/FKiF
step2 http://sprunge.us/gRiM

I think we're zeroing in on the problem (or maybe just one of your two problems):
Code:
pastebinit /storage/.profile
ok...now we're talking!

result: http://sprunge.us/AdRV