View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Aug 04, 2012 5:30 am 
Offline
Joined: Thu Jun 01, 2006 8:27 pm
Posts: 36
I installed a fresh copy of LinHES 7.3 last night and find that the mythtv_mythfrontend.0.log is getting clogged with these messages every second:

2012-08-04T07:36:19.321582-04:00 mythtv mythfrontend: >>> ATTENTION! ATTENTION! ATTENTION!
2012-08-04T07:36:19.321592-04:00 mythtv mythfrontend: >>> Unable to connect the the MySQL database to make needed
2012-08-04T07:36:19.321598-04:00 mythtv mythfrontend: >>> changes to the LIRC socket.
2012-08-04T07:36:19.321602-04:00 mythtv mythfrontend: >>> LIRC now uses /var/run/lirc/lircd and /dev/lirc is now
2012-08-04T07:36:19.321605-04:00 mythtv mythfrontend: >>> obsolete. Update your MythTV settings to reflect this.
2012-08-04T07:36:19.321608-04:00 mythtv mythfrontend: >>>

This message appears to come from this script:
http://cgit.linhes.org/linhes_pkgbuild/ ... rc.install


Code:
  # Fix LircSocket in mythtv database
  SOCKET=`mysql -u mythtv -pmythtv -B --skip-column-names -h "${dbhost}" -D mythconverg -e \
         "SELECT data FROM settings WHERE value = 'LircSocket' AND hostname = '${hostname}';"`
    if [ "${SOCKET}" != "/var/run/lirc/lircd" ]; then
      mysql -u mythtv -pmythtv -B --skip-column-names -h "${dbhost}" -D mythconverg -e \
      "UPDATE settings SET data = '/var/run/lirc/lircd' WHERE value = 'LircSocket' AND hostname = '${hostname}';"
    else
      echo ">>>"
      echo ">>> ATTENTION! ATTENTION! ATTENTION!"
      echo ">>> Unable to connect the the MySQL database to make needed"
      echo ">>> changes to the LIRC socket."
      echo ">>> LIRC now uses /var/run/lirc/lircd and /dev/lirc is now"
      echo ">>> obsolete. Update your MythTV settings to reflect this."
      echo ">>>"
    fi


My database value is correctly set to /var/run/lirc/lircd. Why does this script run every second? What setting am I supposed to update?


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 10:32 am 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Remote Control setup has changed big time in Linhes 7.2 and 7.3. Please reference this doc

http://linhes.org/projects/linhes/wiki/Remotes


Top
 Profile  
 
PostPosted: Sat Aug 04, 2012 10:48 am 
Offline
Joined: Thu Jun 01, 2006 8:27 pm
Posts: 36
Thanks for the reply. This was a fresh install. I selected the proper remote (mceusb) during installation.

I went back to the remotes menu and reselected the mceusb remote, and then restarted the remote service (sv restart remotes), but I still get this error message every second.

The code itself doesn't make sense to me. If the socket is not set correctly, the database is updated. If it is set correctly, an error message is displayed. And again, why is this running every second?


Top
 Profile  
 
PostPosted: Sun Aug 05, 2012 7:15 am 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
its a bug, if it hasnt already been fixed it will be by version 8


Top
 Profile  
 
PostPosted: Sun Aug 05, 2012 9:16 am 
Offline
Joined: Thu Jun 01, 2006 8:27 pm
Posts: 36
Thanks, jams. In the meantime, I added the line "fb_status=0" at the bottom of the function fix_lirc_socket in /usr/LH/bin/firstboot.sh. Now the message only shows up once in the log file.


Top
 Profile  
 
PostPosted: Mon Dec 17, 2012 7:02 am 
Offline
Joined: Thu Jul 20, 2006 6:02 am
Posts: 8
Location: Perth, Australia
hari wrote:
Thanks, jams. In the meantime, I added the line "fb_status=0" at the bottom of the function fix_lirc_socket in /usr/LH/bin/firstboot.sh. Now the message only shows up once in the log file.


Hi there.

Can you please post your modified firstboot.sh script. My box has just started with this error and its chewing up the free space in /.

Cheers


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu