<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Aug 26, 2008 at 1:37 AM, Nick Morrott <span dir="ltr"><<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 26/08/2008, Bobby Gill <<a href="mailto:bobbygill@rogers.com">bobbygill@rogers.com</a>> wrote:<br>
><br>
><br>
><br>
> On Tue, Aug 26, 2008 at 1:17 AM, Nick Morrott <<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>><br>
> wrote:<br>
> ><br>
> ><br>
> > On 26/08/2008, Bobby Gill <<a href="mailto:bobbygill@rogers.com">bobbygill@rogers.com</a>> wrote:<br>
> ><br>
> > > The best I could deduce is now I had run the script with sudo and it<br>
> worked,<br>
> > > and without sudo it did not. What are INC paths?<br>
> ><br>
> > The @INC paths are the directories Perl looks in for requested modules<br>
> > - you posted the list in your first reply to me. We need to determine<br>
> > whether this list changes depending on how the script is run (which<br>
> > user, whether via sudo, etc).<br>
<br>
</div><div class="Ih2E3d">> Okay, apologies but just to clarify, I've run the script with sudo and<br>
> without, and it works in both cases. So what are the commands I should run<br>
> now?<br>
<br>
</div>If you are successfully running the script when logged in, but not<br>
when run via mythbackend started during init, it is likely that<br>
something has changed relating to the mythbackend user's environment,<br>
such as a missing $HOME.<br>
<br>
If you are using Fedora/CentOS, I posted updates to the init scripts<br>
(available from SVN) which should sort this issue out - but you need<br>
to check that your mythbackend user has a 'normal' environment when<br>
mythbackend starts up.<br>
<br>
To test - temporarily start mythbackend from a regular shell, and<br>
record something so that mythrename.pl is executed. If it works, this<br>
is a very good indication that it is environment related.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">Nick Morrott<br>
<br>
MythTV Official wiki:<br>
<a href="http://mythtv.org/wiki/" target="_blank">http://mythtv.org/wiki/</a><br>
MythTV users list archive:<br>
<a href="http://www.gossamer-threads.com/lists/mythtv/users" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users</a><br>
<br>
"An investment in knowledge always pays the best interest." - Benjamin Franklin<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br><br>What do you mean from a regular shell? I start mythbackend using: "sudo /etc/rc.d/mythbackend start" and have it as a daemon in my /etc.rc.conf for starting at boot-up. And what do mean by environment and $HOME has changed? Really wanna get this sucker fixed ;)<br>
<br>Bob<br></div>