LinHES Forums
http://forums.linhes.org/

lirc messages in mythtv_mythfrontend.0.log
http://forums.linhes.org/viewtopic.php?f=22&t=22687
Page 1 of 1

Author:  hari [ Sat Aug 04, 2012 5:30 am ]
Post subject:  lirc messages in mythtv_mythfrontend.0.log

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?

Author:  RacerX [ Sat Aug 04, 2012 10:32 am ]
Post subject:  Re: lirc messages in mythtv_mythfrontend.0.log

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

Author:  hari [ Sat Aug 04, 2012 10:48 am ]
Post subject:  Re: lirc messages in mythtv_mythfrontend.0.log

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?

Author:  jams [ Sun Aug 05, 2012 7:15 am ]
Post subject:  Re: lirc messages in mythtv_mythfrontend.0.log

its a bug, if it hasnt already been fixed it will be by version 8

Author:  hari [ Sun Aug 05, 2012 9:16 am ]
Post subject:  Re: lirc messages in mythtv_mythfrontend.0.log

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.

Author:  lambretta [ Mon Dec 17, 2012 7:02 am ]
Post subject:  Re: lirc messages in mythtv_mythfrontend.0.log

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/