Re: [RDD] Troubleshooting daemon startup problems [WAS: Program file shortcuts]

2016-06-29 Thread Bruce Lee Mones
Hello, I installed Rivendell Appliance 2.6.6.1 to a HP MicroTower PC and it works with RD version 2.5.5 without a flaw. My issue is when i invoke the "yum update" to get the latest stable RD and after the update, i get a "Unable to start Rivendell System Daemons!" after the reboot. This is when

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Cowboy
On Wednesday 29 June 2016 10:32:00 am Seth Stevenson wrote: > I then added the script to rc.local like this. sudo sh > /etc/init.d/rdairplay. rc.local traditionally runs as root, so sudo is redundant. ( unpredictable ) On Wednesday 29 June 2016 12:54:54 pm Wayne Merricks wrote: > The Pi uses

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Alessio Elmi
It may be a good idea to handle the rdairplay.lock file in the home, which may be still present at boot in case of power failure. Il giorno mer 29 giu 2016 alle ore 20:20 Rob Landry <41001...@interpring.com> ha scritto: > On Wed, 29 Jun 2016, Wayne Merricks wrote: > > > don't bother with

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Seth Stevenson
Ok wayne, Here is what I did. I created a file called startrivendell.sh. In it is this #!/bin/bash sudo /etc/init.d/rivendell start /usr/local/bin/rdairplay I have it linked to the rdairplay icon in autostart folder I edited visudo with this: %bananapi ALL=(ALL) NOPASSWD:

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Rob Landry
On Wed, 29 Jun 2016, Wayne Merricks wrote: don't bother with rc.local it doesn't always work and its hard to figure out why. In my experience, it works fine through Debian 7, but not under Debian 8, which uses systemd. My World Classical Network machines run Rivendell on a virtual desktop

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Seth Stevenson
Wayne, I ran the script and it messed up the mysql database. I'm confused on how to make your instructions work. Also how would I use visudo with the script I made? On Wed, Jun 29, 2016 at 12:54 PM, Wayne Merricks < waynemerri...@thevoiceasia.com> wrote: > You can do sudo if you add a NOPASSWD

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Wayne Merricks
You can do sudo if you add a NOPASSWD flag via visudo to the script you need to run as sudo but thats getting ahead. The Rivendell init script does three things: 1. Create /var/run/rivendell and chown it to the rivendell group 2. Run /usr/sbin/rdcleandirs (seems to be a relatively new thing,

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Seth Stevenson
/user/local/bin/caed etc do not seem to start rivendell. Only sudo /etc/init.d/rivendell start. I don't think you can have sudo run in a script though, can you? Don't know what else to try. On Wed, Jun 29, 2016 at 12:09 PM, Wayne Merricks < waynemerri...@thevoiceasia.com> wrote: > In theory you

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Wayne Merricks
In theory you could replace the exec line with a script: Exec=/home/pi/startRivendell.sh #!/bin/bash /usr/local/bin/caed & /usr/local/bin/ripcd & /usr/local/bin/rdcatchd & sleep 5 /usr/local/bin/rdairplay remember to chmod it (chmod ug+x /home/pi/startRivendell.sh) You could also make the

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Seth Stevenson
I did try the autostart route. It complained about missing daemons. I this is because also in rc.local I have the daemons starting as /etc/init.d/rivendell start. From looking at system log it seems that the programs in autostart happens before rc.local runs so rdairplay in autostart doesn't seem

Re: [RDD] Mp4/aac

2016-06-29 Thread Stan Fotinos
Maybe I used the wrong packages, I'll try these next instead : Or will I still need to install Rivendell to pick up these changes as Wanyne recommends? I am using Rivendell 2.14.1 from the repos and appliance centos 6 install.

Re: [RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Wayne Merricks
don't bother with rc.local it doesn't always work and its hard to figure out why. I have an older pi running wheezy as opposed to the newer jessie build. Inside the users directory I have this: /home/pi/.config/autostart I'm not sure if any scripts work here but the standard Linux desktop

[RDD] Autostarting Rdairplay on bootup

2016-06-29 Thread Seth Stevenson
Hi all, I have been pulling my hair out trying to autostart rdairplay on a pi. I have created a script to do this called rdairplay located at /home/bananapi. I then added the script to rc.local like this. sudo sh /etc/init.d/rdairplay. I then go to terminal and run sudo /etc/init.d/rc.local start

Re: [RDD] Mp4/aac

2016-06-29 Thread Wayne Merricks
I don't know about the CentOS packages but from a source install if you have libmp4v2 and libfaad (Debian names, they are probably called something else in CentOS) you then have to run ./configure to pick up the changes followed by a make and make install. This has been the case since at

Re: [RDD] Mp4/aac

2016-06-29 Thread Stan Fotinos
I downloaded the 2 rpms from repos on the net for cents 6. I did a reboot and looked in rdadmin but nothing is showing. Any ideas? On 29 June 2016 8:34:54 pm AWST, John Anderson wrote: >I don't think so...check under rdadmin and see if they are there in the >import