On 08/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
My slimserver is crashing intermittently when I am navigating around
MClient. The typical scenario is that I'll be browsing around,
finally decide on something, select it, hit OK, and a few seconds
later get the "No communication to slimserver" display, which I must
say is definetly better than the nothing that I used to get.
I don't see anything in the slimserver log, although I don't know how
to turn on any deugging in slimserver. I would refrain from posting
to the mvpmc group, but I have not seen the behavior when using a web
browser to navigate the slimserver stuff, only when using mvpmc.
I am running slimserver 6.5.2, and just upgraded to the latest nightly
build of mvpmc last night.
Any ideas as to why this might be happening, or as a temporary measure
what I could do to automatically restart the slimserver service when
it crashes?
Thanks,
Dave Stenhouse
I use this script from a crontab to check every 5 mins whether my mythtv
is running.
I'm sure this could be adapted pretty easily to slimserver as it's pretty
basic...
[EMAIL PROTECTED]:~# crontab -l
# m h dom mon dow command
*/5 * * * * /home/mythtv/cronscripts/myth-monitor.sh
[EMAIL PROTECTED]:~# cat /home/mythtv/cronscripts/myth-monitor.sh
#!/bin/bash
#
# /home/mythtv/crontscripts/myth-monitor.sh
# This is run from cron every 5 minutes.
#
ps -C mythbackend > /dev/null && exit 0;
# append message to log file...
echo "`date +%Y-%m-%d\ %T.%-3N` mythbackend not running! Restarting..." \
>> /var/log/mythtv/mythbackend.log;
/etc/init.d/mythtv-backend restart
exit 1;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/