ROON BRIDGE installs but service not running?

Hi,
I’ve run an install of ROON BRIDGE on a BBB and the run output reports that

RB Sevice is Enabled & Started. But, running a check of running services

fails to show RoonBridge Service.

This is the version of LINUX (#uname -a)
Linux beaglebone 4.0.0-botic5 #1 PREEMPT Tue Apr 28 23:42:17 CEST 2015 armv7l

GNU/Linux

– below is terminal output of the INSTALL & SRVICE CHECK

Debian GNU/Linux 7

BeagleBoard.org Debian Image 2015-03-01

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

Last login: Sun Sep 24 21:44:04 2017 from tosh-laptop.home
root@beaglebone:~# ./roonbridge-installer-linuxarmv7hf.sh

--------------------------------------------------------------------------------                                      

                   ------

Welcome to the RoonBridge installer

This installer sets up RoonBridge to run on linux with the following settings:

 - RoonBridge will be installed in /opt/RoonBridge
 - RoonBridge's data will be stored in /var/roon/RoonBridge
 - RoonBridge will be configured to run as a system service
 - RoonBridge will run as root

These settings are suitable for turning a dedicated or semi-dedicated device
into an appliance that runs RoonBridge

If you want customize how RoonBridge is installed, see:

   http://kb.roonlabs.com/LinuxInstall

--------------------------------------------------------------------------------                                      

                   ------

Do you want to install RoonBridge on this machine? [Y/n] Y

Downloading RoonBridge_linuxarmv7hf.tar.bz2 to /tmp/tmp.Ry8itGqE8I/RoonBridge_li                                      

                   nuxarmv7hf.tar.bz2

######################################################################## 100.0%

Unpacking RoonBridge_linuxarmv7hf.tar.bz2...Done

Checking to see if RoonBridge can run on this machine

    Checking for Binary Compatibility                            [   OK   ]
    Checking for ALSA Libraries                                  [   OK   ]

STATUS: SUCCESS

--------------------------------------------------------------------------------                                      

                   ------

Warning: The /opt/RoonBridge directory already exists.

This usually indicates that RoonBridge was installed previously on this machine.                                      

                    The previous
installation must be deleted before the installation can proceed.

Under normal circumstances, this directory does not contain any user data, so it                                      

                    should be safe to delete it.

--------------------------------------------------------------------------------                                      

                   ------

Delete /opt/RoonBridge and re-install? [Y/n] Y

Copying Files...Done

Installing /etc/systemd/system/roonbridge.service

Enabling service roonbridge...
Service Enabled

Starting service roonbridge...
Service Started

--------------------------------------------------------------------------------                                      

                   ------

All Done! RoonBridge should be running on your machine now.

--------------------------------------------------------------------------------                                      

                   ------

root@beaglebone:~# htop
root@beaglebone:~# runlevel
N 5
root@beaglebone:~# ls /etc/rc2.d/S*
/etc/rc2.d/S01bootlogs                /etc/rc2.d/S16rsyslog   /etc/rc2.d/S18loadcpufreq   /etc/rc2.d/S19wicd
/etc/rc2.d/S01capemgr.sh              /etc/rc2.d/S16sudo      /etc/rc2.d/S18rsync         /etc/rc2.d/S20saned
/etc/rc2.d/S01generic-boot-script.sh  /etc/rc2.d/S16upmpdcli  /etc/rc2.d/S18ssh           

/etc/rc2.d/S21Turn_off_LEDS.sh
/etc/rc2.d/S01motd                    /etc/rc2.d/S16xrdp      /etc/rc2.d/S18udhcpd        /etc/rc2.d/S21rc.local
/etc/rc2.d/S13rpcbind                 /etc/rc2.d/S17apache2   /etc/rc2.d/S19avahi-daemon  /etc/rc2.d/S21rmnologin
/etc/rc2.d/S14nfs-common              /etc/rc2.d/S18acpid     /etc/rc2.d/S19bluetooth     /etc/rc2.d/S21squeezelite
/etc/rc2.d/S16hostapd                 /etc/rc2.d/S18cron      /etc/rc2.d/S19cpufrequtils
/etc/rc2.d/S16mpd                     /etc/rc2.d/S18dbus      /etc/rc2.d/S19lightdm
root@beaglebone:~#
root@beaglebone:~#
root@beaglebone:~# ls /etc/rc2.d/K*
ls: cannot access /etc/rc2.d/K*: No such file or directory
root@beaglebone:~#
root@beaglebone:~#
root@beaglebone:~# ps wwwaux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.7   4740  3760 ?        Ss   14:18   0:01 /lib/systemd/systemd
root         2  0.0  0.0      0     0 ?        S    14:18   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    14:18   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   14:18   0:00 [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    14:18   0:00 [kworker/u2:0]
root         7  0.0  0.0      0     0 ?        S    14:18   0:02 [rcu_preempt]
root         8  0.0  0.0      0     0 ?        S    14:18   0:00 [rcu_sched]
root         9  0.0  0.0      0     0 ?        S    14:18   0:00 [rcu_bh]
root        10  0.0  0.0      0     0 ?        S    14:18   0:00 [watchdog/0]
root        11  0.0  0.0      0     0 ?        S<   14:18   0:00 [khelper]
root        12  0.0  0.0      0     0 ?        S    14:18   0:00 [kdevtmpfs]
root        13  0.0  0.0      0     0 ?        S<   14:18   0:00 [netns]
root        14  0.0  0.0      0     0 ?        S<   14:18   0:00 [perf]
root        16  0.0  0.0      0     0 ?        S    14:18   0:00 [khungtaskd]
root        17  0.0  0.0      0     0 ?        S<   14:18   0:00 [writeback]
root        18  0.0  0.0      0     0 ?        SN   14:18   0:00 [ksmd]
root        19  0.0  0.0      0     0 ?        S<   14:18   0:00 [crypto]
root        20  0.0  0.0      0     0 ?        S<   14:18   0:00 [kintegrityd]
root        21  0.0  0.0      0     0 ?        S<   14:18   0:00 [bioset]
root        22  0.0  0.0      0     0 ?        S<   14:18   0:00 [kblockd]
root        23  0.0  0.0      0     0 ?        S<   14:18   0:00 [ata_sff]
root        24  0.0  0.0      0     0 ?        S<   14:18   0:00 [devfreq_wq]
root        25  0.0  0.0      0     0 ?        S<   14:18   0:00 [rpciod]
root        26  0.0  0.0      0     0 ?        S    14:18   0:00 [kswapd0]
root        27  0.0  0.0      0     0 ?        S    14:18   0:00 [fsnotify_mark]
root        28  0.0  0.0      0     0 ?        S<   14:18   0:00 [nfsiod]
root        36  0.0  0.0      0     0 ?        S<   14:18   0:00 [kthrotld]
root        37  0.0  0.0      0     0 ?        S    14:18   0:00 [kapmd]
root        38  0.0  0.0      0     0 ?        S    14:18   0:00 [irq/29-48060000]
root        39  0.0  0.0      0     0 ?        S    14:18   0:00 [kworker/u2:1]
root        40  0.0  0.0      0     0 ?        S    14:18   0:00 [irq/176-4803800]
root        41  0.0  0.0      0     0 ?        S    14:18   0:00 [irq/175-4803800]
root        42  0.0  0.0      0     0 ?        S<   14:18   0:00 [ipv6_addrconf]
root        43  0.0  0.0      0     0 ?        S<   14:18   0:00 [deferwq]
root        45  0.0  0.0      0     0 ?        S    14:18   0:01 [irq/155-44e0b00]
root        46  0.0  0.0      0     0 ?        S    14:18   0:00 [irq/181-tps6521]
root        47  0.0  0.0      0     0 ?        S    14:18   0:00 [irq/156-4802a00]
root        51  0.0  0.0      0     0 ?        S    14:18   0:01 [mmcqd/1]
root        52  0.0  0.0      0     0 ?        S    14:18   0:00 [mmcqd/1boot0]
root        53  0.0  0.0      0     0 ?        S    14:18   0:00 [mmcqd/1boot1]
root       124  0.0  0.0      0     0 ?        S<   14:18   0:00 [kworker/0:1H]
root       177  0.0  0.0      0     0 ?        S    14:18   0:00 [jbd2/mmcblk0p2-]
root       178  0.0  0.0      0     0 ?        S<   14:18   0:00 [ext4-rsv-conver]
root       201  0.0  5.4  35636 27600 ?        Ss   14:18   0:01 /lib/systemd/systemd-journald
root       202  0.0  0.0      0     0 ?        S    14:18   0:00 [kauditd]
root       225  0.0  0.4   2628  2056 ?        Ss   14:18   0:00 /sbin/udevd
root       607  0.0  0.2   1896  1388 ?        Ss   14:19   0:00 /sbin/rpcbind -w
statd      655  0.0  0.3   2208  1704 ?        Ss   14:19   0:00 /sbin/rpc.statd
root       724  0.0  0.2   2288  1372 ?        Ss   14:19   0:00 /usr/sbin/rpc.idmapd
root       747  0.0  0.3   2624  1852 ?        S    14:19   0:00 /sbin/udevd
root       759  0.0  0.3   2624  1788 ?        S    14:19   0:00 /sbin/udevd
avahi     1301  0.0  0.4   2764  2064 ?        Ss   14:19   0:00 avahi-daemon: running [beaglebone.local]
mpd       1303  0.1 15.1  80384 77000 ?        SLsl 14:19   0:10 /usr/bin/mpd --no-daemon
root      1317  0.0  0.2   1336  1080 ?        Ss   14:19   0:00 /usr/sbin/acpid
root      1318  0.0  2.3  64840 11996 ?        Ssl  14:19   0:00 /usr/bin/node autorun.js
root      1319  0.1  4.8  36472 24672 ?        Ssl  14:19   0:10 /usr/bin/ruby1.9.1 /usr/local/bin/jekyll build --

destination bone101 --watch
root      1322  0.0  0.5   4608  3004 ?        Ss   14:19   0:00 /sbin/wpa_supplicant -u -s -O 

/var/run/wpa_supplicant
root      1325  0.0  0.3   2708  1828 ?        Ss   14:19   0:00 /lib/systemd/systemd-logind
root      1326  0.0  0.8  26444  4440 ?        Ssl  14:19   0:00 /usr/sbin/console-kit-daemon --no-daemon
root      1328  0.0  0.4  27372  2160 ?        Ssl  14:19   0:00 /usr/sbin/rsyslogd -n -c5
102       1329  0.2  0.4   2780  2056 ?        Ss   14:19   0:16 /usr/bin/dbus-daemon --system --address=systemd: --

nofork --nopidfile --systemd-activation
root      1333  0.0  0.9  24576  4676 ?        Ssl  14:19   0:00 /usr/lib/upower/upowerd
root      1350  0.0  0.2   3344  1388 tty1     Ss+  14:19   0:00 /sbin/agetty --noclear tty1 38400 linux
root      1351  0.0  0.2   3164  1516 ttyO0    Ss+  14:19   0:00 /sbin/agetty -s ttyO0 115200 38400 9600 vt102
avahi     1368  0.0  0.2   2764  1340 ?        S    14:19   0:00 avahi-daemon: chroot helper
1001      1371  0.1  1.8  29472  9216 ?        Sl   14:19   0:11 /usr/local/bin/squeezelite -o hw:CARD=Botic,DEV=0 -p 

55 -n BBB -C 1
root      1437  0.0  0.7  29604  3824 ?        Sl   14:19   0:00 /usr/sbin/lightdm
upmpdcli  1552  0.2  0.8  81760  4400 ?        Ssl  14:19   0:17 /usr/bin/upmpdcli -D -c /etc/upmpdcli.conf
xrdp      1557  0.0  0.2   4564  1348 ?        S    14:19   0:00 /usr/sbin/xrdp
root      1560  0.0  0.8  21716  4088 ?        Ssl  14:19   0:00 /usr/lib/policykit-1/polkitd --no-debug
root      1574  0.1  2.2  28920 11300 tty7     Ss+  14:19   0:07 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -

nolisten tcp vt7 -novtswitch
root      1576  0.0  0.2   3360  1352 ?        S    14:19   0:00 /usr/sbin/xrdp-sesman
root      1582  0.0  0.4   5164  2468 ?        Ss   14:19   0:00 /usr/sbin/sshd
root      1589  0.0  0.2   3356  1428 ?        Ss   14:19   0:00 /usr/sbin/cron
root      1611  0.0  0.7   5896  3596 ?        Ss   14:19   0:01 /usr/sbin/apache2 -k start
www-data  1613  0.0  0.5   5676  2968 ?        S    14:19   0:00 /usr/sbin/apache2 -k start
www-data  1624  0.0  0.6 227088  3292 ?        Sl   14:19   0:00 /usr/sbin/apache2 -k start
www-data  1625  0.0  0.6 227080  3288 ?        Sl   14:19   0:00 /usr/sbin/apache2 -k start
root      1717  0.0  0.0      0     0 ?        S    14:19   0:00 [file-storage]
root      1718  0.0  0.0      0     0 ?        S    14:19   0:00 [file-storage]
root      1720  0.6  0.3   3164  1624 ttyGS0   Ss+  14:19   0:43 /sbin/agetty -s ttyGS0 115200 38400 9600
root      1804  0.0  0.8  14368  4204 ?        Sl   14:19   0:00 lightdm --session-child 12 15
root      1810  0.0  0.2   1784  1188 ?        Ss   14:19   0:00 /usr/sbin/udhcpd -S /etc/udhcpd.conf
debian    1841  0.0  0.4  12020  2528 ?        Ssl  14:19   0:00 /usr/bin/lxsession -s LXDE -e LXDE
root      1865  0.5  1.7  23884  9008 ?        S    14:19   0:36 /usr/bin/python -O /usr/share/wicd/daemon/wicd-

daemon.py
debian    1876  0.0  0.1   2832   744 ?        Ss   14:19   0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-

with-session x-session-manager
debian    1879  0.0  0.3   2780  1548 ?        S    14:19   0:00 /usr/bin/dbus-launch --exit-with-session x-session-

manager
debian    1880  0.0  0.3   2500  1596 ?        Ss   14:19   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-

address 7 --session
debian    1889  0.0  1.5  12836  7872 ?        S    14:19   0:00 openbox --config-file 

/home/debian/.config/openbox/lxde-rc.xml
debian    1891  0.2  2.3  78648 11776 ?        S    14:19   0:14 lxpanel --profile LXDE
debian    1893  0.0  2.5  87796 13044 ?        S    14:19   0:01 pcmanfm --desktop --profile LXDE
debian    1897  0.0  4.1  29008 21292 ?        S    14:19   0:01 /usr/bin/python -O /usr/share/wicd/gtk/wicd-

client.py --tray
debian    1900  0.0  1.9  32524 10032 ?        Sl   14:19   0:00 /usr/lib/notification-daemon/notification-daemon
root      1904  0.2  1.9  14772  9932 ?        S    14:19   0:17 /usr/bin/python -O /usr/share/wicd/daemon/monitor.py
debian    1908  0.0  0.7   5284  3860 ?        S    14:19   0:00 /usr/lib/arm-linux-gnueabihf/libmenu-

cache1/libexec/menu-cached
debian    1910  0.0  0.7   7276  3700 ?        S    14:19   0:00 /usr/lib/gvfs/gvfsd
debian    1922  0.0  1.0  32632  5448 ?        S    14:19   0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
root      1923  0.0  0.8  21876  4244 ?        Ssl  14:19   0:00 /usr/lib/udisks/udisks-daemon --no-debug
root      1924  0.0  0.4   5048  2044 ?        S    14:19   0:00 udisks-daemon: not polling any devices
debian    1927  0.0  0.7   7724  3964 ?        S    14:19   0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
debian    1929  0.0  0.8  17340  4272 ?        Sl   14:19   0:01 /usr/lib/gvfs/gvfs-afc-volume-monitor
root      2989  0.0  0.0      0     0 ?        S    15:36   0:01 [kworker/0:1]
root      3413  0.0  0.5   4108  2920 ?        Ss   16:01   0:00 /sbin/dhclient -v eth0
root      3514  0.3  0.6   7812  3536 ?        Ss   16:07   0:01 sshd: root@pts/0
root      3517  0.0  0.4   2632  2220 pts/0    Ss   16:07   0:00 -bash
root      3530  0.0  0.0      0     0 ?        S    16:08   0:00 [kworker/0:0]
root      3645  0.0  0.2   2492  1424 pts/0    R+   16:14   0:00 ps wwwaux
root@beaglebone:~#
root@beaglebone:~#
root@beaglebone:/# ./usr/sbin/service --status-all
 [ ? ]  Turn_off_LEDS
 [ ? ]  Turn_off_LEDS.sh
 [ + ]  acpid
 [ ? ]  alsa-utils
 [ + ]  apache2
 [ + ]  avahi-daemon
 [ - ]  bluetooth
 [ - ]  bootlogs
 [ ? ]  bootmisc.sh
 [ ? ]  capemgr.sh
 [ ? ]  checkfs.sh
 [ ? ]  checkroot-bootclean.sh
 [ + ]  checkroot.sh
 [ + ]  console-setup
 [ ? ]  cpufrequtils
 [ + ]  cron
 [ + ]  dbus
 [ ? ]  generic-boot-script.sh
 [ ? ]  hdparm
 [ - ]  hostapd
 [ - ]  hostname.sh
 [ ? ]  hwclock.sh
 [ + ]  kbd
 [ + ]  keyboard-setup
 [ ? ]  killprocs
 [ ? ]  kmod
 [ + ]  lightdm
 [ ? ]  loadcpufreq
 [ - ]  motd
 [ ? ]  mountall-bootclean.sh
 [ ? ]  mountall.sh
 [ ? ]  mountdevsubfs.sh
 [ ? ]  mountkernfs.sh
 [ ? ]  mountnfs-bootclean.sh
 [ ? ]  mountnfs.sh
 [ + ]  mpd
 [ ? ]  mtab.sh
 [ ? ]  networking
 [ + ]  nfs-common
 [ ? ]  pppd-dns
 [ + ]  procps
 [ ? ]  rc.local
 [ - ]  rmnologin
 [ + ]  rpcbind
 [ - ]  rsync
 [ + ]  rsyslog
 [ + ]  saned
 [ ? ]  screen-cleanup
 [ ? ]  sendsigs
 [ ? ]  squeezelite
 [ + ]  ssh
 [ - ]  sudo
 [ + ]  udev
 [ ? ]  udev-mtab
 [ ? ]  udhcpd
 [ ? ]  umountfs
 [ ? ]  umountnfs.sh
 [ ? ]  umountroot
 [ + ]  upmpdcli
 [ - ]  urandom
 [ + ]  wicd
 [ - ]  x11-common
 [ + ]  xrdp
root@beaglebone:/#

After restarting your BBB, is it recognised as a network Zone in Roon ?

In Settings of Roon Optimized Core Kit, only SqueezeLite shows up. Same as before attempted install of RB.

Just a guess, but I’d suggest closing SqueezeLite and restarting RoonBridge.

Killed SL and tried starting RB as follows …

root@beaglebone:/#
root@beaglebone:/# /opt/RoonBridge/start.sh
RoonBridge: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16’ not found (required by RoonBridge)
/opt/RoonBridge/start.sh: 37: kill: No such process

root@beaglebone:/#

I did a find & got this …

root@beaglebone:/# find -name glib
./usr/lib/pyshared/python2.6/glib
./usr/lib/pyshared/python2.7/glib
./usr/lib/python2.6/dist-packages/glib
./usr/lib/python2.7/dist-packages/glib
./usr/include/glib-2.0/glib
./usr/share/pyshared/glib
root@beaglebone:/#

. . . in my previous post, “Killed SL and tried starting RB”,
I did kill SL, but I think (bragging :smile:) the attempt to start RB
used an incorrect script, hence the errors.
Looking into the Linux scripts for start .sh & don’t find one
for RB??
The install run reports that RB is started, but it does not
show up in a display of running Services, even after SL is
terminated . . .
. . . the seach continues !

What version of glibc are you running? 2.16 is required, as described here.

How would I check that?

Type the following into a terminal:

ldd --version

Got this output …

root@beaglebone:/# ldd --version
ldd (Debian EGLIBC 2.13-38+deb7u8) 2.13
Copyright © 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

So, I see version 2.13 is running!?
–How do I update to 2.16 or higher?

Did some research and found this WARNING. . .

Upgrading the standard library is risky, as some programs and libraries may depend on the current version.

… need more research.

Try one of the Debian 9.1 Stretch images. I think they have libc 2.24. I’d opt for the IoT version unless you want a GUI.

You are suggesting a total replacement of the version I’m running?
If so, that would be a problem as what I’m running is a special
version built by Miero for the BBB, see

http://www.diyaudio.com/forums/twisted-pear/258254-support-botic-linux-driver.html

I guess the question is, would Roon Bridge on the BBB be audibly superior to SqueezeLite I’m running now?
Just trying to squeeze, hee hee, the best sound out to the Cronus/Hermes/Twisted Pair SABER dac.

I’d suggest checking with Miero how to update his version to meet the Roon requirements set out in the link in Mike’s post.

The Squeezelite emulation has resolution limitations, RAAT is limited by hardware. I don’t think people can tell you what the difference would be without having the same hardware.

Thanks to all posters !!! Will take my quest to Miero. Cheers !

Now that Support have diagnosed the issue I’ll shift this into the Linux section where some power Linux users hang out, but I think it depends on whether Jessie (Debian 8) supports the required version of the libc libraries. The last time I looked at the BBB I think it needed to be patched with the Stretch (Debian 9) libc library.

Edit: This page implies that Jessie now extends up to glibc 2.19. Provided that Miero doesn’t think it would break anything he is doing the usual commands to update and upgrade your distribution are:

sudo apt-get update
sudo apt-get dist-upgrade

Sorry for this late reply.

Before I saw your response I did multiple runs of “apt-get update”, “apt-get -t sid install libc6 libc6-dev libc6-dbg”, “apt-get -f install”.
It didn’t appear to fix the GLIBC problem, so I shut down for the night.
This morning I started BBB & ROON ROCK SERVER up. Ran putty and for the heck of it ran HTOP. Whoa!!! ROON BRIDGE and RAATServer were running!!

The audio stream path is,

TIDAL > ROON(running ROON ROCK UNIX OS on a garbage picked old DELL pc) ethernet > BBB > Hermes > Cronus > I2S > Buffalo II > Legato > PASS First Watt F6 clone (semi-south output) > THOR SEAS speakers

1 Like