Reply To: Firefly keeps crashing on startup

#12717
fizze
Participant

@Metzeler wrote:

@fizze wrote:

Are you sure you aren’t invoking another copy of firefly in another skript?

In unslung, after installing the ipkg a startup skript is in /opt/etc/init.d/ anyway. So if you invoke another copy, there may be conflicts, locks on the DB and whatnot… causing firefly to shutdown, eventually?

But as far as I know the script under /opt/etc/init.d (S60mt-daapd) isn´t started during the NSLU boot process, that´s why I´ve put “./optetc/init.s/S60mt-daapd” in the rc.local.

Yes it is being executed at startup. They all are.
That also goes well with your mixed experiences.

The socket is locked by another instance of mt-daapd, and so is the database. Go figure. 🙂

ps aux|grep daapd

is your friend.

You normally get 4 Threads of mt-daapd for each instance.
Depending on you using busybox or the real procps-ps, your mileage may vary.