header image
JConsole And Eclipse
March 30th, 2009 under Linux. [ Comments: none ]

JConsole, which is shipped with the standard JDK, is quite a handy application for Java developers. Unfortunately, JConsole is unable to connect to Java application launched from within Eclipse with Linux. However, there is a simple VM argument which fixes this issue.

1
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote


MythTV – LiveTV stopped working
March 10th, 2009 under Linux. [ Comments: none ]

If you encounter that MythTV’s LiveTV doesn’t work anymore and the error message is something as follows:

1
2
EntryToProgram(0@Thu Jan 1 02:00:00 1970) failed to getpginfo<br />
TV Error: LiveTV not successfully started
EntryToProgram(0@Thu Jan 1 02:00:00 1970) failed to getpginfo<br />
TV Error: LiveTV not successfully started

try fixing the mysql database (usually named “mythconverg”) with the following command.

1
mysqlcheck -r -uUSERNAME -pPASSWORD mythconverg
mysqlcheck -r -uUSERNAME -pPASSWORD mythconverg

It seems that mythtv has troubles working if some tables of the database are unclean.