[mythtv-users] Mythrename.pl suddenly giving error

Bobby Gill bobbygill at rogers.com
Tue Aug 26 22:35:42 UTC 2008


On Tue, Aug 26, 2008 at 6:08 PM, Michael T. Dean <mtdean at thirdcontact.com>wrote:

> On 08/26/2008 05:43 PM, Bobby Gill wrote:
> > Thanks plenty Mike for the clarification, here's the output from when
> > the episode finished recording and it was trying to run Mythrename.pl.
> > So in rxvt, I ran "mythbackend" (after stopping the master backend
> > daemon of course) and here's the output:
> >
> > 2008-08-26 17:30:05.048 AFD: Opened codec 0xa09a170, id(MPEG2VIDEO)
> > type(Video)
> > 2008-08-26 17:30:05.049 AFD: codec MP2 has 2 channels
> > 2008-08-26 17:30:05.049 AFD: Opened codec 0xa09a5e0, id(MP2) type(Audio)
> > 2008-08-26 17:30:05.303 Preview: Grabbed preview
> > '/media/mythtv/1052_20080826171500.mpg' 720x480 at 109s
> > 2008-08-26 17:30:59.520 JobQueue: Started "Mythrename.pl" for "The
> > Fresh Prince of Bel-Air" recorded from channel 1052 at Tue Aug 26
> > 17:15:00 2008
> > Password:
> > 2008-08-26 17:33:08.940 MainServer::HandleAnnounce Monitor
> > 2008-08-26 17:33:08.941 adding: mythbox as a client (events: 0)
> > 2008-08-26 17:33:12.239 JobQueue: Finished "Mythrename.pl" for "The
> > Fresh Prince of Bel-Air" recorded from channel 1052 at Tue Aug 26
> > 17:15:00 2008.
> > 2008-08-26 17:34:04.556 JobQueue: Started "Commercial Removal" for
> > "The Fresh Prince of Bel-Air" recorded from channel 1052 at Tue Aug 26
> > 17:15:00 2008
> > mythcommflag: Rebuilding seek list
> > 2008-08-26 17:34:04.913 Using runtime prefix = /usr, libdir = /usr/lib
> > 2008-08-26 17:34:04.914 Empty LocalHostName.
> > 2008-08-26 17:34:04.946 New DB connection, total: 1
> > 2008-08-26 17:34:04.954 Closing DB connection named 'DBManager0'
> >
> > As you can see it starts the mythrename.pl and prompts me for my root
> > password, which I entered, and a quick ls shows me the file has indeed
> > been successfully renamed. Hope this helps diagnose what's up here,
> > thanks so much :)
>
> Sounds like you configured the user job to use sudo and you didn't
> configure sudo to allow password-less execution of that script
> (NOPASSWD).  When mythbackend is running as a daemon, you can't supply a
> password.  So, either remove the sudo from the user job command line or
> fix the sudo config.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Simply amazing how I missed that, it was just the doggone sudo in the Job
command. Argggh!!! Thanks SO much Mike, she's working all great now :)
*Reminds self to check the obvious* ;)

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080826/1ee1a3e5/attachment.htm 


More information about the mythtv-users mailing list