Difference between revisions of "General Troubleshooting Tips"

From MythTV Official Wiki
Jump to: navigation, search
(Log Files)
Line 1: Line 1:
 
=General Troubleshooting=
 
=General Troubleshooting=
 
==Log Files==
 
==Log Files==
/var/log/mythtv/mythbackend.log
+
A good first step when things aren't working right is to take a look at the log files.  There are several that may help, depending on what problem you're having.  Some logs can be displayed from the [[frontend]], for others you'll need to either [[ssh]] into your box or open a terminal and cat the log so you can see it. 
 +
 
 +
{|
 +
|-
 +
| <tt>/var/log/mythtv/mythbackend.log</tt>
 +
|-
 +
| <tt>/var/log/syslog</tt>
 +
|-
 +
| <tt>/var/log/mysqld/mysqld.log</tt>
 +
|}
 +
 
 +
Also try executing <tt>dmesg</tt> which will show you messages from the kernel ring buffer (stuff generated during system boot).
 +
 
 
==Process==
 
==Process==
 
See User_Manual:Diagnosing_Problems
 
See User_Manual:Diagnosing_Problems

Revision as of 18:21, 23 December 2006

General Troubleshooting

Log Files

A good first step when things aren't working right is to take a look at the log files. There are several that may help, depending on what problem you're having. Some logs can be displayed from the frontend, for others you'll need to either ssh into your box or open a terminal and cat the log so you can see it.

/var/log/mythtv/mythbackend.log
/var/log/syslog
/var/log/mysqld/mysqld.log

Also try executing dmesg which will show you messages from the kernel ring buffer (stuff generated during system boot).

Process

See User_Manual:Diagnosing_Problems See http://wilsonet.com/mythtv/fcmyth.php#ts To display all output information:

mythfrontend -v all

Remote Access

Terminal

PuTTY [Instructions...]

File Browsing

WinSCP [Instructions...]

Graphical

VNC

This will enable you to view the graphical desktop of your Myth machine over the network without having to plug a monitor into the back. To run VNC, emerge it and review the documentation at http://realvnc.com You will also want to download a VNC client to the desktop you will be working from. Remotely login to the Myth box, then run VNC

#vncserver

Run the VNC client, and specify the IP address and display

192.168.1.102:1

Then enter your password. You should be faced with a simple graphical desktop. To run setup, simply run

#mythtv-setup

You may also want to see what is seen on the TV

#mythfrontend

Now you will not have to be running back and forth between the TV room and computer room! ;)