LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2001, 06:17 AM   #1
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Rep: Reputation: 15
RH 7.1, XServer is doesnt start, was working fine before


Xserver (KDE GUI) will not start.

What happened was that I was waiting for a ARCHIVER task to finish, then RedHat7.1 got stuck; being used to windows, I switched off my pc and restarted it.

Now while RH boots, it says /usr not unmounted properly:
..1.7 non-contigious,.. [PASSED]

After it has booted the other drives, and other programs, mouseconsoleservice and etc, I'm presented with a simple bash prompt.

Login:

after logging in it is:

[localhost /root]#:

Yes I linux works perfectly fine using the prompt.

And meanwhile, who can direct me to a page where I
can find all the unix commands to copy/move files, ?

But hell, I want my xserver back..

Somebody help !!! Please.
 
Old 07-31-2001, 06:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
What do you mean by X will not start? does it specifically fail to load or does it just never try...?

I guess you want to maybe run fsck on your /usr partition, to fix any problems. make sure it's properly unmounted (umount /usr), and run fsck /hdxx where xx is the partiion for the /usr area. this is listed in /etc/fstab.
Not saying this'll fix it, but it's all that i would think to do!

It's possible that your run level has been changed (maybe... could it?) in which case you can try to load x using startx.

as far as moving etc.... use 'man cp' or 'man mv'

chris
xxxx
 
Old 07-31-2001, 08:45 AM   #3
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Original Poster
Rep: Reputation: 15
run-level 3

Thank you Chris.

Yes, come to think of it it DID say something like :

entering run-level 3:
sending TERM signal to all processes

Ah !
Does that mean that RH is mucked up: Is shutting down programs instead of starting them ???
 
Old 07-31-2001, 08:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I got something right??!!!??!?! :-D

ok, so your runlevel has changed to 3 from 5. If you look at /etc/inittab it *should* specify somethign like...

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:

So my runlevel is defined on the last line.. 3. and as you can see, run level 5 is the X startup, which can be very troublesome, and can cause loads of problems.

so does X load at the command line now with startx?

There was a question on here recently involving the bit about send all processes the TERM signal, but i'm not sure what that means.... :-s I'm sure Trickykid will tell you what it means if you wait...!

so basically, assumign the runlevel IS set to three, you can edit that file and change it back to 5 if you really want to, but runlevel 3 is much safer.

chris
xxxx
 
Old 07-31-2001, 10:46 AM   #5
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Original Poster
Rep: Reputation: 15
TERM = Terminate ?

I thought (don't know where I read it) that
TERM was short for TERMINATE signal.
 
Old 07-31-2001, 11:14 AM   #6
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Original Poster
Rep: Reputation: 15
.. and Unix command

How do I edit the fstab file ?

What's the unix command for that ?
 
Old 07-31-2001, 04:59 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
to just see what's in a file, use 'cat /etc/fstab'. That's IF you need to check the disk, which you mightn't actually need to, i don't honestly know. But if you can get to a shell prompt, then you can certainly fix anything.... If you feel you need to actually EDIT it.. the most user friendly way is to use 'pico /etc/fstab' as root. if you edit it as a normal user, you won't be allowed to save it.

does X start then??? using startx i mean.

Yeah, TERM is terminate... and i don't get that bit either, i generally know very little!

chris
xxxx
 
Old 07-31-2001, 11:51 PM   #8
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Original Poster
Rep: Reputation: 15
result of startx

startx failed:

the error message was this:
"""
....
_FontTransSocketUNIXConnect: can't connect: errno = 2
failed to set default font path 'unix/:7100'

Fatal server error: could not open default font 'fixed'

When Reporting a problem related to a server crash, please send the full server output, not just the last messages

X10: fatal IO error 104 (Connection reset by peer on X server ":0.0"
"""

By the way, I did not mention, I'm TOTALLY out of disk space. when, from the command prompt, I tr to copy a TINY text file to disk, it says not enough disk space !!!

I 'll try and delete some precious mp3s today.

BTW, I've a linux at home, and a WIN95 & internet at the office [for the curious]. I'm at the office now.

And Chris, I dont have pico. I'll try vi
 
Old 08-01-2001, 05:31 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No disk space????? AHHHHHHH!!!!!!!!!!

Is this just because you've got a very tiny partition? If you reckon you should have enough space then somethign i've often found to fill up the drive is the /var/log/message file. The system, logger sometimes seems to get stuck in an infinite loop or similar, and simply makes that file up to 200mb or something. worth checking. if it is, just delete it. And i'm 99% sure that the X error is caused by the lack of disk space.

to find out what else might be taking up space....

cd /
du -m | more

this will list the entire file system contents with sizes in mb. very handy.

the df command also lists free space by partition in %
Also, incase you didn't know, and hoping not to sound patronising if you do, but running

man -k something

will list all program possibly about 'something' useful! You might need to run 'makewhatis' beforehand though, to create the database.

chris
xxxx

ps. Do you feel uncomfortable taking this help from a 20 year old boy who's current job is cleaning toilets? :-)
 
Old 08-01-2001, 06:56 AM   #10
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Original Poster
Rep: Reputation: 15
I Like it.

Thank you; You are right.

And I am a 18yr old boy whose current job is tours consultant (I dont mean to sound superior either).

My partition is 1.5 gb. overall I have only 4 gb.

Yes, Disk Space. I cleaned up my mp3s. "Everything's" fine now.

What happened was, originally, when I switched off my system the first time it was because KDE's Archiver was stuck in a loop, and was giving the error '[windowtitle =error no 144]

Error writing to disk.'

and EVERYTHING got stuck. damn Archiver.

I removed the resulting 100mb tar archive also.

PHEW !

Now let's see about the system logger...

BTW, I do know about the man command....

Cheers,
A.A
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start Xserver hywaydave23 Red Hat 5 11-18-2005 10:33 AM
Xserver doesnt start and cant work with gedit! luisator Red Hat 3 03-28-2005 10:19 PM
kernel 5.6.8-1.521 doesnt load Xserver dertien Linux - Software 2 11-11-2004 05:00 AM
dpkg-reconfigure xserver doesnt save changes short101 Debian 5 09-06-2004 09:41 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration