NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dk0r
Sep 27, 2011Guide
Subsonic 4.5.04 --Crashing
For me, instability in the Subsonic plugin has been occurring since version 1.9. The current and previous plugins crash regularly over time or upon restarting my pioneer-pro. If, after the plugin has ...
orko
Nov 10, 2011Aspirant
OK, I seem to have fixed but I'm not sure how. I ended up with:
/etc/crontab:
5,20,35,50 * * * * root /c/webroot/subsonic/subcheck2.sh
and subcheck2.sh is:
#!/bin/sh
echo "Starting subchck" >> /var/log/subcheck.log 2>&1
if [ "$(ps -ef | grep subsonic | grep java | wc -l)" = "0" ]
then
echo "Inside ifloop, subchck" >> /var/log/subcheck.log 2>&1
date >> /var/log/subcheck.log 2>&1
/etc/frontview/addons/bin/SUBSONIC/start.sh
fi
They key is calling /etc/frontview/addons/bin/SUBSONIC/start.sh, which as far as I can figure out is the shell script that starts up subsonic when the box boots.
This seems to work (so far!) where the other script didn't. Not sure why, don't care much.
/etc/crontab:
5,20,35,50 * * * * root /c/webroot/subsonic/subcheck2.sh
and subcheck2.sh is:
#!/bin/sh
echo "Starting subchck" >> /var/log/subcheck.log 2>&1
if [ "$(ps -ef | grep subsonic | grep java | wc -l)" = "0" ]
then
echo "Inside ifloop, subchck" >> /var/log/subcheck.log 2>&1
date >> /var/log/subcheck.log 2>&1
/etc/frontview/addons/bin/SUBSONIC/start.sh
fi
They key is calling /etc/frontview/addons/bin/SUBSONIC/start.sh, which as far as I can figure out is the shell script that starts up subsonic when the box boots.
This seems to work (so far!) where the other script didn't. Not sure why, don't care much.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!