Forum

Full Version: [1.0RC3] XBMC keeps restarting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
@all, Then please test Smile
Here is the other thread.

http://forum.xbian.org/showthread.php?tid=2468

I'm currently mobile CurlyMo, you want to merge the two linked threads since they are the same issue?
That latest thread doesn't say it's samba related.
It's the exact same error and issue, XBMC dying:

After start, I see the homescreen of Xbmc.
But after a while (1min), the screen of Xbmc is gone, and a black screen with textmessage appears.
I get the following message:
Quote:Xbian GNU/Linux 7 xbian tty1

xbian login: Rather than invoking init scripts through /etc/init.d, use the servive(8)
utility, e.g. service S01dbus start

Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g. start dbus ( ok ) Starting Samba daemons: nmbd.
Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service S16ssh start
initctl: Unknown job: ssh

Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g. start ssh
I often get this error too.
But the error itself is not samba related although it seems to be Wink
I know it's a generic upstart warning, but in one of the linked threads the OP stated turning off samba stops XBMC from crashing.
Yes, that's why i'm asking if others can confirm without just looking at the message as being the confirmation.
I am seeing the same error.
Please tell me how can I disable samba to help confirm if this is related.

I can still ssh into the pi.
In xbian-config --> services.
@LeoSum
exactly the same error situation for me.

i converted btrfs partition to ext4,
result: still the same error .
so the mentioned error seems te be 'not btrfs related'

i'm not using samba (so disabled that service) , only using nfs to my nas/nfsd
so error seems not to be samba related

root@xbian /var/log # tail -f messages
Sep 23 11:59:23 xbian xbmc: Exit status was: 99
Sep 23 12:01:07 xbian xbmc: Exit status was: 99
Sep 23 12:02:50 xbian xbmc: Exit status was: 99
Sep 23 12:04:33 xbian xbmc: Exit status was: 99
Sep 23 12:06:16 xbian xbmc: Exit status was: 99
Sep 23 12:08:01 xbian xbmc: Exit status was: 99
Sep 23 12:09:44 xbian xbmc: Exit status was: 99
Sep 23 12:11:28 xbian xbmc: Exit status was: 99
Sep 23 12:13:11 xbian xbmc: Exit status was: 99
Sep 23 12:14:54 xbian xbmc: Exit status was: 99

afterwards i played with cec-settings, disabled cec and problem seems to be solved
Hi Folks,
fresh install of Xbian 1.0 RC3.
I have disabled SAMBA just to test other comments in this thread but XBMC keeps restarting.

Also, disabling XBMC on restart allowed me to see the following errors?

Rather than invoking init scripts through /etc/init.d, use the services(8) utility
initctl: Unknown Job: checkroot-bootclean
initctl: Unknown Job: checkroot
initctl: Unknown Job: hostname
initctl: Unknown Job: mountdevsubfs
initctl: Unknown Job: mountkernfs
initctl: Unknown Job: mountnfs-bootclean
initctl: Unknown Job: mountnfs
initctl: Unknown Job: ssh
I don't understand, I don't have this issue and I'm on RC3.

Are you running any plugins?
(29th Sep, 2014 07:38 AM)f1vefour Wrote: [ -> ]I don't understand, I don't have this issue and I'm on RC3.

Are you running any plugins?

no. Like I said, fresh install.

Also noted that when trying to stop XBMC from command line, look what is respawned:
Terminal

2468 ? Ss 0:00 sudo -u xbian -g xbian -s /usr/local/lib/xbmc/xbmc.bin --standalone -fs --lircdev /run/lirc/lircd
2469 ? Ss 0:00 /bin/sh -e /proc/self/fd/9
2470 ? S 0:00 /sbin/start -q wait-for-state TIMEOUT=100 WAIT_FOR=xbmc-loaded WAITER=xbmc WAIT_STATE=started ACT=no
2471 ? S<s 0:00 /bin/sh -e /proc/self/fd/9
2476 ? Rl 0:08 /usr/local/lib/xbmc/xbmc.bin --standalone -fs --lircdev /run/lirc/lircd
2482 ? S< 0:00 sleep 100
2553 pts/2 R+ 0:00 ps ax

I have found something I do not understand why it works. I am not an expert on XBMC. However is working fro me and stops XBMC from restarting.

Terminal

If I
#nano /etc/init/xbmc.conf
and then change
env DAEMON_LIRC="/run/lirc/lircd"
to
#env DAEMON_LIRC="/run/lirc/lircd"

and then change the TIMEOUT value in

post-start script
/sbin/start -q wait-for-state TIMEOUT=100 WAIT_FOR=xbmc-loaded WAITER=xbmc WAIT_STATE=started ACT=no || { /sbin/initctl emit -n xbmc-failed-start; stop; $

to:
post-start script
/sbin/start -q wait-for-state TIMEOUT=500 WAIT_FOR=xbmc-loaded WAITER=xbmc WAIT_STATE=started ACT=no || { /sbin/initctl emit -n xbmc-failed-start; stop; $
Then XBMC starts ok, and after 1 minute a breif error appears on the screen "Xbian-Config Failed". However nothing happens, everything continues to work normally and XBMC does not restart AT ALL.
It´s been an hour without a XBMC restart.

Can someone tell me what the timeout parameter does?
I wasn't only talking to you @ErickP
Pages: 1 2 3 4 5
Reference URL's