LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2005, 11:10 PM   #1
cylarz
Member
 
Registered: Aug 2005
Location: California
Distribution: CentOS 5
Posts: 54

Rep: Reputation: 15
turned off too many services!


Hey all,

I'm a novice user. I just finished installing Fedora
Core 4. It went normally and without any problems.

I SSH'ed into my new server via a local area network,
ran "setup" from the prompt, and for security reasons,
proceeded to shut down some system services that I
believed were not needed.

Here's the problem. After doing this, and then
rebooting the server, the display is a "mess." It
progresses normally through the startup procedures,
but when it actually gets to the Fedora Core GUI login
screen, the screen becomes a jumbled mess of color
without a visible login prompt. The problem only
appeared after I shut off those extra daemons.

I can still SSH into the server normally via a WinXP
box across the LAN. I did so, then went over the
daemon list several times trying to figure out where I
went wrong. None of the services listed seems to have
anything to do with display per se, nor any of the
GUIs supported by Fedora Core 4.

Help, please. Any idea what I need to re-enable in
order to fix this display issue?

Thanks, Matt
 
Old 11-05-2005, 11:36 PM   #2
asalford
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 143

Rep: Reputation: 15
I would start by reenabling the services all of them. then turn them off one by one until you find the cuprit. Not sure about fedora core IV if you can set them back to default or not.
 
Old 11-05-2005, 11:54 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Gee, it'd be just swell if you could tell which were the daemons you actually turned off. You must be out of my reception, I can't read your mind from here which is a shame, then I could help you!
 
Old 11-06-2005, 12:52 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
cylarz: Did you stop xinetd?

An awful lot of stuff depends on it.

If that wasn't it and assuming you don't remember what you turned off, listed below are all of the “starts” from /etc/rc5.d on a functional FC3 system. Maybe that will help you find the problem. xinetd was the one that jumped out at me.

ls /etc/rc5.d/S*

S01sysstat
S04readahead_early
S05kudzu
S08arptables_jf
S08iptables
S10network
S12syslog
S13portmap
S14nfslock
S15mdmonitor
S18rpcgssd
S19rpcidmapd
S19rpcsvcgssd
S25netfs
S28autofs
S33nifd
S34mDNSResponder
S40smartd
S44acpid
S55cups
S55sshd
S56xinetd
S58ntpd
S80sendmail
S85gpm
S90crond
S90xfs
S91smb
S95anacron
S95atd
S96readahead
S97messagebus
S98cups-config-daemon
S98haldaemon
S99local

Last edited by WhatsHisName; 11-06-2005 at 12:53 AM.
 
Old 11-06-2005, 01:41 AM   #5
cylarz
Member
 
Registered: Aug 2005
Location: California
Distribution: CentOS 5
Posts: 54

Original Poster
Rep: Reputation: 15
I did shut off xinetd. Someone asked me "why do you need xinetd?" I couldn't answer.

My system answers incoming ssh and http requests. That's all it does. It doesnt need to serve anything else. Obviously ports 22 and 80 need to be left open...

I know I need to run iptables, sshd, httpd, and whatever daemon controls the networking device. Can you think of anything else I need? Your list seems really long. For instance, why do I need kudzu unless i'm adding new hardware?

Thanks...
 
Old 11-06-2005, 02:38 AM   #6
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Look through the /etc/xinetd.d services and see if you are using any listed service for which its configuration includes “disable = no”.

If you want to reestablish login functionality, wouldn't it make sense to turn on too many services and then figure out which ones you don't need by selectively turning them off? Doing the experiment will go a lot faster than speculating on which services are really important to have running.

If you know which services were disabled, then start by turning them all back on. This is basic troubleshooting that does not require a lot of intellectual input.

Also, review cs-cam's comment. If you don't want to show your cards, then don't expect a lot of input.
 
Old 11-06-2005, 07:29 AM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Are you sure it has anything to do with these services at all? It sounds a lot more like an X config problem than anything.
 
Old 11-06-2005, 12:41 PM   #8
cylarz
Member
 
Registered: Aug 2005
Location: California
Distribution: CentOS 5
Posts: 54

Original Poster
Rep: Reputation: 15
As I said, I followed the earlier poster's advice of turning *all* services on. This has indeed corrected the display problem.

As I also said, however, I have been reluctant to go back through and turn anything off again, because as it is none of the services on the list seem to have anything to do with the display issue I was experiencing earlier. In short, I have no idea why turning services on and off should affect this. (The list I refer to is the one available when I type "setup" while logged in as root on the Fedora Core 4 command prompt and from there go to "system services.")

As to it being an X config issue, I'm not experienced enough in Linux to say yay or nay to that one. What I can tell you, however, is this: the problem began when I turned off too many services, and it went away when I turned them *all* on. So that tells me that it must have something to do with turning a given service or services on or off. The only service I can see that has anything to do with this is the "X font server." Could that be related to the issue? I doubted it initially.

What I'm trying to get you guys to tell me is - what service would that be that controls a display and can't run one without it? Which one do you think I need to avoid turning off in order to avoid a repeat of the problem? And which ones typically need to be left running on a box that responds to ssh and http requests but does nothing else?

Thanks, Matt

PS: As to not showing my cards (and therefore not reasonably expecting much input) I don't understand this remark. I've told you what I'm trying to do - if there's a piece of information you need in order to help me, by all means ask.
 
Old 11-06-2005, 01:52 PM   #9
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Enabling all then shutting them down one by one is a good way to trouble shoot, as well as learning a large deal about the actual services themselves and getting just the barbones ones you need. There is a GUI called system-config-services that allows you to turn them on/off and gives a brief description of each.

Without people knowing what services are running already, how can they tell you which ones you need/dont? or how to fix your problem? we could list hundreds that are/aren't already running, wasting yours and our time

Quote:
I know I need to run iptables, sshd, httpd, and whatever daemon controls the networking device. Can you think of anything else I need? Your list seems really long. For instance, why do I need kudzu unless i'm adding new hardware?

Thanks...
Your question here is different from your original

Quote:
Help, please. Any idea what I need to re-enable in
order to fix this display issue?

Thanks, Matt
the original problem was that you had a messed up display when logging in, WhatsHisName's list of services will help you to resolve your initial problem, by making sure they are all enabled you should have an ok GUI to log into and you can check that against which you have stopped to try and identify the problem. Once you fixed your problem then either google each and find out info about each service or go through one by one :P, you are right though, there are alot of services in FC standard that you dont need.
 
Old 11-06-2005, 05:13 PM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Quote:
Originally posted by cylarz
[B]As I said, I followed the earlier poster's advice of turning *all* services on. This has indeed corrected the display problem.

As I also said, however, I have been reluctant to go back through and turn anything off again, because as it is none of the services on the list seem to have anything to do with the display issue I was experiencing earlier.
Where, exactly, prior to post #8 did you say these things?

As suggested, shut them down one at a time, testing for a display problem after each one until you find the one that causes the problem. After you identify which one is the culprit perhaps someone can explain to you why it causes the problem.
 
Old 11-06-2005, 06:11 PM   #11
cylarz
Member
 
Registered: Aug 2005
Location: California
Distribution: CentOS 5
Posts: 54

Original Poster
Rep: Reputation: 15
Understood. I was hoping for a shortcut but it looks like there isn't one. Thank you. I'll post again if I have another question.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying but getting turned off lmanwarren Slackware 3 05-01-2005 12:40 PM
dma turned off? true_atlantis Linux - General 3 10-20-2004 08:48 AM
dma can't be turned on linoox Slackware 11 08-06-2004 11:42 AM
I turned off a tad too many services... need to "restore settings" wondering how... Justin33 Linux - Newbie 2 10-29-2003 07:02 PM
Who turned out the lights?! itsjustme General 22 08-15-2003 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:00 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