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

SOLVED!Suddenly getting various messages that X can't start.
http://forum.linhes.org/viewtopic.php?f=2&t=11541
Page 1 of 1

Author:  bigbro [ Sun Sep 10, 2006 10:42 pm ]
Post subject:  SOLVED!Suddenly getting various messages that X can't start.

See Final Post

Built and Upgraded to R5C7 about 5 weeks back seemed to work fine.
About 2 weeks back MySQL filled /Var. Since I was unavailable and couldn't get to the console, just cleared thing so it would load and stopped doing recording, etc.
Back on the console Today, Repaired the MySQL tables, got Log Rotation fixed and verified it was working. Have restarted a couple of times so it seemed everything was good.

Running a High Quality recording and suddenly the box kicked out to "Penguin on the Couch" screen.
It does this peridoically, just got a new cooler to run on the Bridge, so didn't think much of it. When to relaod Myth Frontened, and it went sort of the the Nvidia screen mostly grey with horizontal darker bars. It sat there for 15 minutes while I let my backend finish it's record.

Waited a few then ordered a Reboot at the Alternate console.

It came back to a Text Screen and I got two messages.

Starting mythTV server: error while loading shared library: libXv.so.1. Cannot open. No such file or directory.

..and a few lines later:

Starting GNOME Display Manager: gdm/usr/bin/gdm: error loading shared library: libX11.so.6. Cannot open. No such file or directory.

Any thoughts here?

I did a couple of searches and only found reference to new install. Since this has been working I don't see where the answer applies as I had a working installation.

Author:  L0o0ky [ Mon Sep 11, 2006 10:16 am ]
Post subject: 

I would start out with making sure you have room on your / filesystem.

I've seen things like this happen when log files get out of hand...

I can't remember all of the details--search the forums for howto's on deleting the log files.

Author:  bigbro [ Mon Sep 11, 2006 4:36 pm ]
Post subject:  Logs seem to be not updating

Ok, I checked into the various logs.
I had initially followed the discussion here:
Quote:
http://mysettopbox.tv/phpBB2/viewtopic.php?p=65841#65841

to remedy the large mysql log problem. The / was essentially 100% full at that point.

One thing I have noticed now in looking around.
The logs I would expect to see updating, like syslog have not updated since I did a reboot last night. I shutdown last evening and restarted today and have rebooted once and had a full shutdown to protect from a pending powerfailure. I would expect to see Logfile updates in many of these.
about 20:45 on Sept 10th is when it crashed.
Code:
/var/log ls -al
-rw-r--r--   1 root        root    24347 Sep 10 20:44 XFree86.0.log
-rw-r--r--   1 root        root    22467 Sep 10 10:09 XFree86.0.log.old
-rw-r-----   1 root        adm     14670 Sep 10 21:05 auth.log
-rw-r-----   1 root        adm     72955 Sep 10 06:47 auth.log.0
-rw-rw-r--   1 root        utmp        0 Sep 10 18:42 btmp
-rw-rw-r--   1 root        utmp     3456 Aug  6 12:17 btmp.1
-rw-r-----   1 root        adm      4851 Sep 10 21:05 daemon.log
-rw-r-----   1 root        adm      2229 Sep 10 12:30 debug
-rw-r--r--   1 root        root    12204 Sep 11 15:12 dmesg
drwxr-s---   2 Debian-exim adm      4096 Sep 10 18:41 exim4
-rw-r--r--   1 root        root        0 Apr  4  2005 fontconfig.log
drwxr-xr-x   2 root        root     4096 Sep 10 12:30 gdm
drwxr-xr-x   2 root        root     4096 Mar 10  2004 isdn
-rw-r-----   1 root        adm     43829 Sep 10 21:05 kern.log
-rw-rw-r--   1 root        utmp    30952 Sep 11 15:13 lastlog
-rw-r-----   1 root        adm     43666 Sep 10 21:05 messages
-rw-r-----   1 root        adm     66149 Sep 10 06:26 messages.0
drwxr-s---   2 mysql       adm      4096 Sep 10 18:42 mysql
-rw-r-----   1 root        adm         0 Sep 10 18:42 mysql.err
-rw-r-----   1 root        adm        20 Sep 10 18:42 mysql.err.1.gz
-rw-r-----   1 mysql       adm         0 Sep 10 18:41 mysql.log
-rw-r-----   1 mysql       adm        20 Sep 10 18:41 mysql.log.1.gz
drwxrwsr-x   2 mythtv      mythtv   4096 Sep 10 18:42 mythtv
drwxr-xr-x   2 root        root     4096 Sep 11 06:25 ntpstats
drwxr-x---   2 root        adm      4096 Sep 10 18:42 samba
-rw-r--r--   1 root        root        0 Sep 10 18:42 scrollkeeper.log
-rw-r-----   1 root        adm     56145 Sep 10 21:05 syslog
-rw-r-----   1 root        adm     36404 Sep 10 06:25 syslog.0
-rw-r-----   1 root        adm      1425 Sep 10 21:04 user.log
-rw-rw-r--   1 root        utmp    62208 Sep 11 15:13 wtmp
-rw-rw-r--   1 root        utmp   699648 Sep 10 18:34 wtmp.1


I edited out some of them. But the key logs I would look at messages, syslog and XFree86 have not updated since yesterday evening.

Code:
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             4.6G  2.5G  2.0G  56% /
/dev/vg/myth          233G  134G  100G  58% /myth

Author:  EvilTwin [ Mon Sep 11, 2006 5:12 pm ]
Post subject: 

You may also want to check/repair your database. See the sticky posting by Cecil/cesman.

Author:  bigbro [ Mon Sep 11, 2006 5:47 pm ]
Post subject:  SOLVED! Mythbackend and GDM wouldn't start

Update 09/14/06:

I was able to get into a terminal and login as SU.
Ran Mythbackup and backed up per the instructions from TJC's Hint's for upgrading to R5C7. After this was done and I verifed everything, I inserted the R5C7 cd and ran an auto upgrade and again followd TJC's instructions as if I was rebuilding from an earlier version.

It all came back and works! The team Rocks!
Thanks!

Now on to other issues.




Previous post:Checked the databases, didn't see anything wrong with them. Thanks though.

I also have Webmin running, just noticed when I tried to check log files via that method and I open the System Logs tab it says: "The syslog configuration file /etc/syslog.conf was not found on your system. "

I looked for that and didn't find it on the system. Not sure if that is realtive.

I am pretty much clueless on this and unfortunately, I hand't had much time to check everything out before I had to leave about 6 weeks ago.
Of course when return the DW wanted it fixed now so she could get to her shows. I am hoping I didn't mess up.

After the reparis to the MySQL log and clean-up it succesfully got listings, sheduled programs and recorded same, then it hosed during the last recording. When I restarted to get out of that it didn't like it one bit.

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