View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 07, 2013 3:13 pm 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
-sigh-

Well, it was all looking promising. I'd been able to get some tv recorded and some watched. Then, my LinHES box crashed. I've not had much time to try and trouble shoot this yet, but basically on saturday I was watching a recording. Myth started recording Dr Who and I went out for a drink with some friends.

When I sat down on sunday, myth wouldn't start. It boots ok, but it does not get past the point where it shows the message its waiting for the backend to start.

I've looked at its web page, and the backend isn't up. I have started the backend as it hasn't, but this doesn't help.

I think ip address has been changed by my router, so instead of being 192.168.0.20 on my internal network its something else. This seems be the cause.

The backend log shows this:

Quote:
2013-05-07T20:09:15.939068+01:00 lust mythbackend[3960]: C thread_unknown mythcommandlineparser.cpp:2534 (ConfigureLogging) mythbackend version: fixes/0.25 [v0.25.3-32-g79a2$
2013-05-07T20:09:15.939093+01:00 lust mythbackend[3960]: C thread_unknown mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: compile: 4.8.2, runtime: 4.8.2
2013-05-07T20:09:15.939098+01:00 lust mythbackend[3960]: N thread_unknown mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose msgs: general
2013-05-07T20:09:15.939101+01:00 lust mythbackend[3960]: N thread_unknown logging.cpp:1176 (logStart) Setting Log Level to LOG_INFO
2013-05-07T20:09:15.939104+01:00 lust mythbackend[3960]: I thread_unknown logging.cpp:229 (FileLogger) Added logging to the console
2013-05-07T20:09:15.939108+01:00 lust mythbackend[3960]: I thread_unknown logging.cpp:369 (SyslogLogger) Added syslogging to facility local6
2013-05-07T20:09:15.939111+01:00 lust mythbackend[3960]: I thread_unknown logging.cpp:425 (DatabaseLogger) Added database logging to table logging
2013-05-07T20:09:15.939114+01:00 lust mythbackend[3960]: N thread_unknown logging.cpp:1215 (logStart) Setting up SIGHUP handler
2013-05-07T20:09:15.939117+01:00 lust mythbackend[3960]: N thread_unknown mythdirs.cpp:51 (InitializeMythDirs) Using runtime prefix = /usr
2013-05-07T20:09:15.939120+01:00 lust mythbackend[3960]: N thread_unknown mythdirs.cpp:64 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
2013-05-07T20:09:15.939123+01:00 lust mythbackend[3960]: I CoreContext mythcorecontext.cpp:227 (Init) Assumed character encoding: C
2013-05-07T20:09:15.939157+01:00 lust mythbackend[3960]: W CoreContext mythcorecontext.cpp:234 (Init) This application expects to be running a locale that specifies a UTF-8 $
2013-05-07T20:09:15.939161+01:00 lust mythbackend[3960]: I CoreContext mythcontext.cpp:481 (LoadDatabaseSettings) Using localhost value of mythconverg
2013-05-07T20:09:15.939164+01:00 lust mythbackend[3960]: I CoreContext mythcontext.cpp:608 (TestDBconnection) Testing network connectivity to 'mythtv'
2013-05-07T20:09:16.039302+01:00 lust mythbackend[3960]: I SystemManager system-unix.cpp:263 (run) Starting process manager
2013-05-07T20:09:16.039328+01:00 lust mythbackend[3960]: I SystemIOHandlerW system-unix.cpp:90 (run) Starting IO manager (write)
2013-05-07T20:09:16.039334+01:00 lust mythbackend[3960]: I SystemSignalManager system-unix.cpp:485 (run) Starting process signal handler
2013-05-07T20:09:16.039340+01:00 lust mythbackend[3960]: I SystemIOHandlerR system-unix.cpp:90 (run) Starting IO manager (read)
2013-05-07T20:09:16.149718+01:00 lust mythbackend[3960]: A CoreContext mythcontext.cpp:414 (FindDatabase) Cannot find (ping) database host mythtv on the network
2013-05-07T20:09:16.149737+01:00 lust mythbackend[3960]: E CoreContext mythmiscutil.cpp:1035 (getResponse) Read from stdin failed
2013-05-07T20:09:16.149741+01:00 lust mythbackend[3960]: C CoreContext main.cpp:108 (main) Failed to init MythContext
.

Anyhow, I tried to run Mythtv-setup and I entered the Database Configuration rather than mythtv-setup. I changed the address of the box to the local loopback 127.0.0.1 and I was able to get into myth-setup, but my tuner cards are missing and it thing mybox is now called mythconverg.

So, how do I get my box back to where it was?

Thanks

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
PostPosted: Tue May 07, 2013 3:33 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Sounds like a database issue. Either you have some corruption, or for some reason the database server isn't running or you're not pointed at the proper database.

First of all, if you can get access to the box you should be able to easily know what your IP is. Just type ifconfig on the command line and observe the output.
Second, make sure you have space on your hard drive. In the past, whenever my backend has just stopped working for no apparent reason it was because I'd run out of drive space due to something like and overzealous log. To verify disk space, type df -h on the command line and verify that the Use % for your / mount isn't at 100%.

What version of Linhes are you running? (cat /etc/LinHES-release)

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
PostPosted: Tue May 07, 2013 10:31 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Set up your network so that at minimum mythtv is assigned a static ip.

_________________
My System


Top
 Profile  
 
PostPosted: Fri May 10, 2013 1:24 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi,

So, I ssh'd into my mythbox and the first thing I see is this:

Code:
Couldn't connect to MythTV service for status
Exception AttributeError: "'MythBE' object has no attribute 'hostname'" in  ignored


So, cat /etc/LinHES-release gives me
Code:
LinHES 8.0 (Trip the bits)


I have now reserved an ip address on my router for my LinHES box: 192.168.0.10

That should now be there forever more :wink:

Space looks ok to me,

Code:
Filesystem      Size  Used Avail Use% Mounted on
rootfs          4.9G  2.2G  2.4G  48% /
dev             2.0G     0  2.0G   0% /dev
run             2.0G  516K  2.0G   1% /run
/dev/sda1       4.9G  2.2G  2.4G  48% /
shm             2.0G     0  2.0G   0% /dev/shm
/dev/sda7       449G  7.4G  442G   2% /data/storage/disk0
/dev/sda5       2.9G  203M  2.6G   8% /home
/dev/sda6       4.9G  220M  4.4G   5% /data/srv/mysql
/dev/sda7       449G  7.4G  442G   2% /data/storage/SAMSUNGHD501LJ_S0MUJ1KLB32497
/dev/sdb1       932G  240G  692G  26% /data/storage/SAMSUNGHD103UJ_S1PVJ1BQ604616


I think (though i'm no expert by any stretch) that the db needs a bit of a fix. But any other suggestions or things to do, short of reinstalling, though that is possible... I'm willing to try.

Many thanks

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu