Difference between revisions of "General Troubleshooting Tips"
(→Terminal) |
m (shift link) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
=General Troubleshooting= | =General Troubleshooting= | ||
+ | To display all output information: | ||
+ | <pre> | ||
+ | mythfrontend -v all | ||
+ | </pre> | ||
==Log Files== | ==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. | + | 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 [[Mythfrontend|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. |
− | + | <pre> | |
− | + | cat /var/log/mythtv/mythbackend.log | |
− | + | cat /var/log/syslog | |
− | + | cat /var/log/mysqld/mysqld.log | |
− | + | </pre> | |
− | |||
− | |||
− | |||
Also try executing <tt>dmesg</tt> which will show you messages from the kernel ring buffer (stuff generated during system boot). | Also try executing <tt>dmesg</tt> which will show you messages from the kernel ring buffer (stuff generated during system boot). | ||
− | == | + | ==Resources== |
− | + | *[http://mythtv.org/docs/mythtv-HOWTO-22.html Section 22] of the manual on troubleshooting. | |
− | + | *[[User Manual:Diagnosing Problems]] | |
− | + | *The [http://wilsonet.com/mythtv/fcmyth.php#ts troubleshooting] section of Wilson's guide | |
− | + | ||
==Remote Access== | ==Remote Access== | ||
===Terminal=== | ===Terminal=== | ||
− | PuTTY (Windows) | + | [[Image:Putty.png]] PuTTY (Windows) |
Site: [http://http://www.chiark.greenend.org.uk/~sgtatham/putty/ http://www.chiark.greenend.org.uk/~sgtatham/putty/] | Site: [http://http://www.chiark.greenend.org.uk/~sgtatham/putty/ http://www.chiark.greenend.org.uk/~sgtatham/putty/] | ||
Line 46: | Line 47: | ||
===File Browsing=== | ===File Browsing=== | ||
− | + | [[Image:Winscp.png]] [http://winscp.net/eng/index.php WinSCP] is an open source free SFTP client for Windows using SSH. It is a very convenient tool for remotely accessing the file system on a mythtv box from windows. The program can be installed or run as a stand alone executable. | |
− | [ | + | |
===Graphical=== | ===Graphical=== | ||
====VNC==== | ====VNC==== | ||
Line 62: | Line 63: | ||
#mythfrontend | #mythfrontend | ||
Now you will not have to be running back and forth between the TV room and computer room! ;) | Now you will not have to be running back and forth between the TV room and computer room! ;) | ||
+ | ====NX==== | ||
+ | NX is another remote display technology similar to VNC. | ||
+ | |||
+ | [http://www.nomachine.com/ NoMachineNX] provides a free windows NX client. | ||
+ | |||
+ | [http://freenx.berlios.de/ FreeNX] is an open source linux NX server | ||
[[Category:Troubleshooting]] | [[Category:Troubleshooting]] |
Latest revision as of 20:41, 12 March 2011
Contents
General Troubleshooting
To display all output information:
mythfrontend -v all
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.
cat /var/log/mythtv/mythbackend.log cat /var/log/syslog cat /var/log/mysqld/mysqld.log
Also try executing dmesg which will show you messages from the kernel ring buffer (stuff generated during system boot).
Resources
- Section 22 of the manual on troubleshooting.
- User Manual:Diagnosing Problems
- The troubleshooting section of Wilson's guide
Remote Access
Terminal
Site: http://www.chiark.greenend.org.uk/~sgtatham/putty/
Download: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Direct Download (HTTP): http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
Direct Download (FTP): ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/x86/putty.exe
RSA Signature: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe.RSA
DSA Signature: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe.DSA
Ensure your Myth box is running a SSH server, for example, sshd - openSSH SSH daemon. In ubuntu, you would use 'apt-get' or 'Synaptic Package Manager' to install 'openssh-server.'
Open Putty
(location of Putty)\putty.exe
Place Hostname or IP address of your myth box in the 'Host Name (or IP address)' field. Select SSH as the protocol. Then click 'Open.'
On your first time accessing the server, verify the fingerprint of your myth box and select 'Yes.'
You will then be prompted to provide authentication to access your myth box.
File Browsing
WinSCP is an open source free SFTP client for Windows using SSH. It is a very convenient tool for remotely accessing the file system on a mythtv box from windows. The program can be installed or run as a stand alone executable.
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! ;)
NX
NX is another remote display technology similar to VNC.
NoMachineNX provides a free windows NX client.
FreeNX is an open source linux NX server