PDA

View Full Version : NCID 7.0 works intermittently


spnewman
03-07-2009, 11:02 PM
I have ncid 7.0 installed, it seems to work some of the time, I have it on an RCA DVR 39. I have IC ptv and tweak installed on this as well. If I reboot the unit, call my # it will work, then try about a half an hour later and it does not work. Then possibly hours later it will work again, then again later it will not. I have also tried this on a HDVR2 unit, and have the same problum. Does anyone have any ideas?

Thanks

alert5
03-08-2009, 09:40 PM
I had the same experience with the ncidd server quitting for some unknown reason, so about a year ago (with the help of the NCID author) I created a workaround that has worked quite well.

I have a cron job that checks the process every 15 minutes. If it is not running, then the ncidd process is restarted automatically.

The lines in my cron root file are:

# restart ncidd only if it is not running
*/15 * * * * cd /var/hack/sbin; sh restart-ncid

and the restart-ncid script is:

touch /var/tmp/modemlock
sleep 2
rm /var/tmp/modemlock

#!/bin/sh

ps auxw | grep ncidd | grep -v grep
[ $? != 0 ] && \
{
/var/hack/sbin/ncidd
(echo -n "ncidd restarted: "; date) > /tmp/restart.log
}

On checking my log tonight, sure enough the server had quit running:

ncidd restarted: Sun Mar 8 09:30:07 UTC 2009

but I never knew about it because the script ran and restarted before a call came in.

jlc
03-13-2009, 03:16 PM
This has been a problem for awhile. I am hopeful that today's release (0.73) will fix it or at least indicate what killed it in the ncidd.log file.