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

Gdm will no longer load
http://forum.linhes.org/viewtopic.php?f=6&t=3085
Page 1 of 1

Author:  sanger440 [ Sat Dec 18, 2004 2:55 pm ]
Post subject:  Gdm will no longer load

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. :?:

Author:  Xsecrets [ Sat Dec 18, 2004 3:00 pm ]
Post subject: 

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.

Author:  sanger440 [ Sat Dec 18, 2004 4:30 pm ]
Post subject: 

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?

Author:  Xsecrets [ Sat Dec 18, 2004 5:27 pm ]
Post subject: 

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.

Author:  sanger440 [ Sun Dec 19, 2004 12:46 am ]
Post subject: 

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.

Author:  dmcman73 [ Mon Dec 20, 2004 9:40 am ]
Post subject: 

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.

Author:  ViralHex [ Fri Dec 24, 2004 8:31 am ]
Post subject: 

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.

Author:  Xsecrets [ Fri Dec 24, 2004 11:37 am ]
Post subject: 

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.

Author:  ViralHex [ Fri Dec 24, 2004 11:49 am ]
Post subject:  /var/log/mythtv

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.

Author:  Xsecrets [ Fri Dec 24, 2004 9:49 pm ]
Post subject: 

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.

Author:  larrydag [ Fri Jan 21, 2005 12:23 pm ]
Post subject: 

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

Author:  davem [ Fri Jan 21, 2005 1:44 pm ]
Post subject: 

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

Author:  larrydag [ Fri Jan 21, 2005 4:48 pm ]
Post subject: 

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.

Author:  j0ly [ Mon Mar 21, 2005 8:40 pm ]
Post subject: 

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!

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