View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Gdm will no longer load
PostPosted: Sat Dec 18, 2004 2:55 pm 
Offline
Joined: Mon Dec 06, 2004 3:20 pm
Posts: 55
Location: Sacramento, Ca
Well I had R4V5 installed , configured and working well. Then I decided to try and install Nuv2disc. I nearly had it configured and working when I hit a glitch. After a reboot Gdm will no longer load. I was trying to burn a dvd with Nuv2disk, got a few errors did a reboot and ended up with this:

"Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be our of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem"

These error messages are also listed:

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp

/etc/gdm/PreSession/Default: running: sessreg -a -w /var/log/wtmp -u /var/utmp -x "var/lib/gdm/:0:Xservers" -h ""-l:0 mythtv

Xlib: connection to "0.0" refused by server
Xlib: No protocol specified

[(FVWM}{main): <<ERROR>> can't open display:0

I can still log into my Mythbox remotely with Putty to do fixes and cntl-alt-F1 will get me to the command line also.

I would hate to have to do a complete re-install because I had everything configured and working so well.

Any suggestions would be greatly appreciated. :?:

_________________
SIS K7S5A mb R4V5
Amd 2000 + cpu Atheros chipset wireless NIC
GF4 ti4200 Video onboard ALSA sound card
768 meg sdram partial install on Nuv2disc
120 g maxtor HD
PVR 250 Video Capture card


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 18, 2004 3:00 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well there was one possible disk space error in there. why not do a df -h to make sure you have room on all of your partitions. my guess would be if one is out of space it would be /dev/hda where the tmp dir is.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 18, 2004 4:30 pm 
Offline
Joined: Mon Dec 06, 2004 3:20 pm
Posts: 55
Location: Sacramento, Ca
Xsecrets,

I think you are absolutely right:

Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.1G 2.9G 0 100% /
/dev/root.old 2.2M 342K 1.8M 16% /initrd
/dev/hda3 8.1G 24K 8.1G 1% /cache
/dev/hda4 103G 14G 90G 14% /myth


Not sure what filled it up. How do I delete files out of the tmp directory on /dev/hda1?

_________________
SIS K7S5A mb R4V5
Amd 2000 + cpu Atheros chipset wireless NIC
GF4 ti4200 Video onboard ALSA sound card
768 meg sdram partial install on Nuv2disc
120 g maxtor HD
PVR 250 Video Capture card


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 18, 2004 5:27 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
rm filename should delete a file.

The way I usually find out where all the space is being used is with the du command. I use it like this

du -h --max-depth=1 then move down into the directory using all the space and run the command again till I find the culprit.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 19, 2004 12:46 am 
Offline
Joined: Mon Dec 06, 2004 3:20 pm
Posts: 55
Location: Sacramento, Ca
Xsecrets:

Thank you so much. Turns out I installed nuvdisc2 in my /home/user directory and inadvertanty filled it up. I copied that 1.5 Gig of nuv2disk out of there to /myth and I am back in business.

I am hoping that dvdwizard wash crashing because of this full partition also.

For once I did not have to a total re-install.

I am still a linux noob, but with help from folks like you, I am slowly learning the ins and outs of this stuff.


Thanx again.

_________________
SIS K7S5A mb R4V5
Amd 2000 + cpu Atheros chipset wireless NIC
GF4 ti4200 Video onboard ALSA sound card
768 meg sdram partial install on Nuv2disc
120 g maxtor HD
PVR 250 Video Capture card


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 20, 2004 9:40 am 
Offline
Joined: Sun Mar 21, 2004 10:01 am
Posts: 77
Grrrr.....I had this same exact error on my system....couldn't figure it out for the life of me so I did a total re-install of knoppmyth.....should have posted on this board of the the problem I was having, could have avoided the re-install.

Oh well...lesson learned.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 24, 2004 8:31 am 
Offline
Joined: Fri Dec 26, 2003 6:05 pm
Posts: 82
arg, my /dev/hda1 is completely full and I don't know what I can remove! This is the output for df -h:

Code:
root@mythtv:/ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             3.4G  3.4G     0 100% /
/dev/root.old         2.2M  342K  1.8M  16% /initrd
/dev/hda3              11G  1.5G  8.6G  15% /cache
/dev/hda4             135G   67G   69G  50% /myth
//192.168.0.200/MP3s   39G   28G   11G  73% /myth/music


so obviously /dev/hda1 is full, sooooo, I tried du -h --max-depth=1 and this is what I got:

Code:
root@mythtv:/ # du -h --max-depth=1
16K     ./lost+found
1.5G    ./cache
79G     ./myth
3.1M    ./bin
1.8M    ./boot
4.0K    ./cdrom
108K    ./dev
19M     ./etc
4.0K    ./floppy
3.9M    ./home
42M     ./lib
12K     ./mnt
du: `.': No such file or directory


notice it didn't actually look at everything, it gave me that error: "du: `.': No such file or directory" well, I know most of the space is being taken up by /usr I don't know if this is normal or not. I really don't know what to do because I don't want to delete things that I'll end up needing. Any direction would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 24, 2004 11:37 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
the place to look is two directories it didn't list. /var and /tmp. pretty much anything in /tmp can be deleted. and you want to check /var particularly /var/log as sometimes the logs can run out of control.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject: /var/log/mythtv
PostPosted: Fri Dec 24, 2004 11:49 am 
Offline
Joined: Fri Dec 26, 2003 6:05 pm
Posts: 82
ok... yeah, you were right...

/tmp had nothing in it, but my /var/log/mythtv directory had about 5 files in it... but it was 2.1 Gigs... yeah, so that was the problem... I just need to figure out why the log was getting so big! Thanks very much for the help.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 24, 2004 9:49 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well with huge files like that it's hard to open them with editors or cat them out, but you can generally tail it and it is usually a messages that is repeating, so you can see what it is.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 21, 2005 12:23 pm 
Offline
Joined: Wed Aug 11, 2004 12:40 pm
Posts: 15
Here is an alternative command which might be more useful then du -h.

ls -Slah | head

This should list the largest files in descending order on your screen


UPDATE: sorry. i fixed it. use the command above


Last edited by larrydag on Fri Jan 21, 2005 4:55 pm, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 21, 2005 1:44 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
That would be a neat tool to use. I'm often looking for large files to clean up. What the heck is 'heap' though? And du doesn't like 'a' and 's' at the same time.

~ $ du -slah | heap
du: cannot both summarize and show all entries
Try `du --help' for more information.
-bash: heap: command not found


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 21, 2005 4:48 pm 
Offline
Joined: Wed Aug 11, 2004 12:40 pm
Posts: 15
sorry. i fixed it. look at my post above. head allows you to view one screen at a time without scrolling through a massive amount of files.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 8:40 pm 
Offline
Joined: Sat Feb 05, 2005 3:26 pm
Posts: 121
Location: Calgary, Alberta - Canada!
Thank you, i thought i was going to have to reformat my install again, my only problem is that i cleaned a bunch of stuff out, and i still have only 91% free... any suggestions?

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             3.9G  3.4G  353M  91% /
/dev/hda3              13G   24K   13G   1% /cache
/dev/hda4             170G   65G  105G  39% /myth


and
Code:
root@mythtv:/# du -h --max-depth=1
16K     ./lost+found
24K     ./cache
65G     ./myth
3.3M    ./bin
3.5M    ./boot
140K    ./dev
15M     ./etc
59M     ./home
4.0K    ./initrd
50M     ./lib
4.0K    ./media
8.0K    ./mnt
4.0K    ./opt
899M    ./proc
20M     ./root
7.1M    ./sbin
0       ./sys
20K     ./tmp
1.6G    ./usr
290M    ./var
4.0K    ./cdrom
4.0K    ./none
68G     .



I feel like such a newb, well i am, i drives me nuts trying to learn a new os, and this is just one of those tests... thanks everyone!


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 36 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