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

Frontend Only Install/Setup
http://forum.linhes.org/viewtopic.php?f=22&t=21000
Page 1 of 1

Author:  spideyk21 [ Thu Apr 15, 2010 7:24 am ]
Post subject:  Frontend Only Install/Setup

I have had a FE/BE running for some time now with very few problems, and have decided to setup a Frontend only system using the Acer AspireRevo r1600.

I have read the other post about using the r3600 Revo as a Frontend and Frontend/Backend system(Acer Aspire Revo 3610 with Streamzap)

I generated the recovery disk(s) for the Revo system to allow me to restore later if required (most likely never will), then proceeded to install LinHES R6.02 from a CD mounted via a usb connected DVD/CD Rom.

I proceed to run through the installation and this is where I get stuck. I am not sure what is required to link the Frontend to the Backend. After installation, and a reboot the system boots. I see the Yellow LinHES splash, see the alt+h option for the help menu, then LinHES just sits on the splash screen.

Doing any alt+x to get a terminal, I can check the log file(s), mythfrontend.log it states the following:
Code:
2010-04-14 22:01:33.150 mythfrontend version: branches/release-0-22-fixes [23566M] www.mythtv.org
2010-04-14 22:01:33.151 Using runtime prefix = /usr
2010-04-14 22:01:33.151 Using configuration directory = /home/mythtv/.mythtv
2010-04-14 22:01:33.943 DBHostName is not set in mysql.txt
2010-04-14 22:01:33.944 Assuming localhost
2010-04-14 22:01:33.944 Empty LocalHostName.
2010-04-14 22:01:33.944 Using localhost value of larch5
2010-04-14 22:01:33.959 New DB connection, total: 1
2010-04-14 22:01:33.960 Unable to connect to database!
2010-04-14 22:01:33.961 Driver error was [1/2002]:
QMYSQL: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


2010-04-14 22:01:34.127 UPnPautoconf() - Found one UPnP backend
2010-04-14 22:01:34.326 MythXMLClient::GetConnectionInfo Failed - (604) No Security Pin assigned. Run mythtv-setup to set one.
2010-04-14 22:01:34.326 Testing network connectivity to '192.168.1.47'
2010-04-14 22:01:34.346 Closing DB connection named 'DBManager0'
2010-04-14 22:01:34.346 Unable to connect to database!
2010-04-14 22:01:34.346 Driver error was [1/2003]:
QMYSQL: Unable to connect
Database error was:
Can't connect to MySQL server on '192.168.1.47' (111)

2010-04-14 22:01:34.347 Cannot login to database?
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
2010-04-14 22:01:34.395 Primary screen: 0.
2010-04-14 22:01:34.395 Using screen 0, 1024x768 at 0,0
2010-04-14 22:01:34.428 Using theme base resolution of 1280x720
2010-04-14 22:01:34.561 LIRC, Error: Failed to connect to Unix socket '/var/run/lirc/lircd'
         eno: No such file or directory (2)
2010-04-14 22:01:34.562 JoystickMenuThread Error: Joystick disabled - Failed to read /home/mythtv/.mythtv/joystickmenurc
2010-04-14 22:01:34.588 Using the Qt painter
2010-04-14 22:05:17.599 Writing settings file /home/mythtv/.mythtv/mysql.txt
2010-04-14 22:05:17.600 Closing DB connection named 'DBManager0'
2010-04-14 22:05:17.606 Testing network connectivity to '192.168.1.47'
2010-04-14 22:05:17.627 Closing DB connection named 'DBManager0'
2010-04-14 22:07:31.850 Unable to connect to database!
2010-04-14 22:07:31.850 Driver error was [1/2013]:
QMYSQL: Unable to connect
Database error was:
Lost connection to MySQL server at 'reading initial communication packet', system error: 0

2010-04-14 22:07:31.850 Cannot login to database?
2010-04-14 22:07:31.850 Cannot login to database?
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
2010-04-14 22:07:31.852 Primary screen: 0.
2010-04-14 22:07:31.852 Using screen 0, 1024x768 at 0,0
2010-04-14 22:07:31.853 Using theme base resolution of 1280x720
2010-04-14 22:07:31.855 LIRC, Error: Failed to connect to Unix socket '/var/run/lirc/lircd'
         eno: No such file or directory (2)
2010-04-14 22:07:31.855 JoystickMenuThread Error: Joystick disabled - Failed to read /home/mythtv/.mythtv/joystickmenurc
2010-04-14 22:07:31.863 Using the Qt painter
2010-04-14 22:10:08.872 Writing settings file /home/mythtv/.mythtv/mysql.txt
2010-04-14 22:10:08.873 Closing DB connection named 'DBManager0'
2010-04-14 22:10:08.876 Testing network connectivity to '192.168.1.47'
2010-04-14 22:10:08.902 Closing DB connection named 'DBManager0'
2010-04-14 22:17:06.517 mythfrontend version: branches/release-0-22-fixes [23566M] www.mythtv.org

Apparently the new Frontend is not able to connect to the Backend. The other errors are for LIRC (no remote connected, yet), and Empty LocalHostName. The empty LocalHostName is/was one of the questions during the installation.

I did run into some of the same problems during installation like mention here: My experience with 6.02.00 from a USB stick

If anyone could point me in the right direction, or give any suggestions that would be greatly appreciated.

Thanks,
J.

Author:  uteck [ Thu Apr 15, 2010 11:36 pm ]
Post subject: 

Did you configure the backend to allow connections from other machines? I think LinHES has an option for that, otherwise you have to make a change to the MySQL settings to listen to the IP address and not to localhost/127.0.0.1.

Author:  Greg Frost [ Fri Apr 16, 2010 5:36 am ]
Post subject: 

I cant recommend strongly enough a diskless frontend
pacman -S diskless-legacy
/usr/local/bin/config_diskless_frontend.bash
then follow the prompts and it should configure everything for you.
set your revo to netboot and you are done.

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