Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed! " but is not open in another process!

2011-12-30 Thread Alan Peterson
From: "Cowboy" Personally, I'd favor a warning: "Rivendell is already running. Force another instance ? (be sure you know what you're doing)" Second that. -ap ___ Rivendell-dev mailing list Rivendell-dev@lists

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed! " but is not open in another process!

2011-12-29 Thread Cowboy
On Thursday 29 December 2011 11:41:19 am Fred Gleason wrote: > On Dec 28, 2011, at 23:37 41, Jay Ashworth wrote: > > > Recommend adding an /etc/init.d/boot.rivendell file which cleans up this > > and other such things at boot time, Fred. > > Perhaps. I'm actually seriously considering removing t

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-29 Thread Jay Ashworth
- Original Message - > From: "Fred Gleason" > On Dec 28, 2011, at 23:39 48, Jay Ashworth wrote: > > Um, Fred? Is there a reason you don't use the traditional (and I > > think, FHS specified) /var/run/appname.pid approach for this? > > Because that's intended for use by system daemons, an

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-29 Thread Fred Gleason
On Dec 28, 2011, at 23:39 48, Jay Ashworth wrote: > Um, Fred? Is there a reason you don't use the traditional (and I think, FHS > specified) /var/run/appname.pid approach for this? Because that's intended for use by system daemons, and hence requires root permissions. In hindsight, '/var/lock'

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-29 Thread Fred Gleason
On Dec 28, 2011, at 23:37 41, Jay Ashworth wrote: > Recommend adding an /etc/init.d/boot.rivendell file which cleans up this > and other such things at boot time, Fred. Perhaps. I'm actually seriously considering removing the 'single instance only' requirement altogether. That's essentially a

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Jay Ashworth
- Original Message - > From: "Fred Gleason" > Yes. Specifically, RDAirPlay itself deletes it as part of its shutdown > process. However, if RDAirPlay shuts down abnormally --e.g. by being > sent a SIGKILL -- that shutdown process doesn't run, hence a 'stale' > lockfile gets left behind.

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Jay Ashworth
- Original Message - > From: "Fred Gleason" > Sounds like you have a stale lockfile. This can happen if an RDAirPlay > instance crashes hard. Try deleting the file called '.rdairplaylock' > in your $HOME directory. Recommend adding an /etc/init.d/boot.rivendell file which cleans up this

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Cowboy
On Wednesday 28 December 2011 11:22:16 am Alan Peterson wrote: > What exactly *is* a lockfile and its purpose? In days of old, about four years ago or so, before the days of kernel locking, standard practice for those things that needed one and only one process to access them at a time, such as

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Fred Gleason
On Dec 28, 2011, at 11:22 16, Alan Peterson wrote: > What exactly *is* a lockfile and its purpose? Is this the sole mechanism that > keeps two instances of Rivendell from running? Two instances of RDAirPlay, yes. Most Rivendell modules support multiple instances without difficulty. > And do

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Alan Peterson
iscussion about the Rivendell Radio Automation System" Sent: Wednesday, December 28, 2011 10:35:21 AM GMT -05:00 US/Canada Eastern Subject: Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process! That was the only lock file that ex

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Patrick Schmalstig / WRRJ Radio
That was the only lock file that existed. On Wed, Dec 28, 2011 at 10:28 AM, Cowboy wrote: > On Wednesday 28 December 2011 09:59:39 am Patrick Schmalstig / WRRJ Radio > wrote: > > Rdairplay keeps giving me an > > error saying "multiple instances not allowed!" But I checked a couple > > process ma

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Cowboy
On Wednesday 28 December 2011 09:59:39 am Patrick Schmalstig / WRRJ Radio wrote: > Rdairplay keeps giving me an > error saying "multiple instances not allowed!" But I checked a couple > process managers and there is NO rdairplay processes running! Have you checked for stale lock files ? -- Cowb

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Patrick Schmalstig / WRRJ Radio
I have done that... it works now. Thanks! I had no idea rdairplay created a lock file. I always thought it created a process file in /var/run/rivendell which locked it up... and so I had tried in the past to empty that directory. But thanks! On Wed, Dec 28, 2011 at 10:24 AM, Fred Gleason wrote:

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Fred Gleason
On Dec 28, 2011, at 09:59 39, Patrick Schmalstig / WRRJ Radio wrote: > I have been trying to get Rivendell working again. Starting about 2-3 days > ago, everything EXCEPT rdairplay worked fine. Rdairplay keeps giving me an > error saying "multiple instances not allowed!" But I checked a couple p

Re: [RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Hoggins!
Hello, There is a hidden file called .rdairplaylock (located in the home directory of the user rivendell runs as) that you have to delete in order to make it work. I believe RDAirplay, or your machine did not shut down properly. Hoggins! Le 28/12/2011 15:59, Patrick Schmalstig / WRRJ Radio a

[RDD] Rivendell RdAirplay gives "Multiple instances not allowed!" but is not open in another process!

2011-12-28 Thread Patrick Schmalstig / WRRJ Radio
I have been trying to get Rivendell working again. Starting about 2-3 days ago, everything EXCEPT rdairplay worked fine. Rdairplay keeps giving me an error saying "multiple instances not allowed!" But I checked a couple process managers and there is NO rdairplay processes running! I even terminated