I seem to have fixed the problem... I got to talking with another 
Linux-inclined friend of mine and he said it sounded like a race-condition 
between the recordserver, webserver and Freevo. And the more I thought about 
it, the more I started to agree with him. Because as of late it seemed 
consistant that the recordserver would start, the webserver would fail and 
Freevo would start. So like the recordserver was able to add the /tmp/kaa-0 
directory after the webserver had looked for it, but before it would make the 
directory.

This would also explain why things never exploded after boot-up: Once the 
directories are made, they aren't wiped out, so re-running Freevo would run 
normally, because the directories are already there.

So on a whim, I added 'sleep 2' commands between each step of the init script 
(the RTC frequency reset, recordserver start, webserver start and freevo start) 
and I've rebooted without issue twice now. I'm going to say this issue is 
solved.

Duncan, I checked the __init__.py and tmpfile.py modules in SVN against the 
ones in the latest kaa.base download (0.5?) and they were the same, so I didn't 
try the SVN version of kaa. Not to say there aren't changes in kaa.base that 
might help, but I didn't immediately see anything tmp-file related that might 
make a difference.

Francisco, I checked who was running Freevo and it runs as root (which is what 
I intended) when it is started from the init script. In fact, since it runs 
during bootup outside of a terminal, it runs as root regardless of the 
ROOTUSERINFO setting in boot_config.

Thanks for your help, support and above all your patience, guys. You know I'll 
be back when I have another problem I can't solve on my own. Nice thing about 
Freevo: It's free, but there's even good tech support.


James


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to