<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Aug 26, 2008 at 1:37 AM, Nick Morrott <span dir="ltr">&lt;<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>&gt;</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 &lt;<a href="mailto:bobbygill@rogers.com">bobbygill@rogers.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Aug 26, 2008 at 1:17 AM, Nick Morrott &lt;<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On 26/08/2008, Bobby Gill &lt;<a href="mailto:bobbygill@rogers.com">bobbygill@rogers.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; The best I could deduce is now I had run the script with sudo and it<br>
&gt; worked,<br>
&gt; &gt; &gt; and without sudo it did not. What are INC paths?<br>
&gt; &gt;<br>
&gt; &gt; The @INC paths are the directories Perl looks in for requested modules<br>
&gt; &gt; - you posted the list in your first reply to me. We need to determine<br>
&gt; &gt; whether this list changes depending on how the script is run (which<br>
&gt; &gt; user, whether via sudo, etc).<br>
<br>
</div><div class="Ih2E3d">&gt; Okay, apologies but just to clarify, I&#39;ve run the script with sudo and<br>
&gt; without, and it works in both cases. So what are the commands I should run<br>
&gt; 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&#39;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 &#39;normal&#39; 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>
&quot;An investment in knowledge always pays the best interest.&quot; - 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: &quot;sudo /etc/rc.d/mythbackend start&quot; 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>