LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-14-2008, 04:47 AM   #1
ChristopherAngel
LQ Newbie
 
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13

Rep: Reputation: 0
FC8 - Services Stop


I've recently had the pleasure of installing Fedora 8. Everything went fine except when I logout the services appear to stop, including http, tomcat, ssh and even ping.

I'm really not sure why this is as I've never come across this before. Any ideas?
 
Old 01-14-2008, 05:19 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
log out? there is no way at all that a user level account can ever affect a service running on it, no chance. if you boot it up and don't log in, does apache work in the first place?
 
Old 01-14-2008, 05:28 AM   #3
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
please open a terminal
login as root

and

Code:
chkconfig --list httpd
if HTTPD is configured to start in each needed runlevel
 
Old 01-14-2008, 05:38 AM   #4
ChristopherAngel
LQ Newbie
 
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by odcheck View Post
please open a terminal
login as root

and

Code:
chkconfig --list httpd
if HTTPD is configured to start in each needed runlevel
ok I see. It's only on for runlevel 5 so I guess that would explain it. Thank you. I'll try to modify this once I get people off the machine.

Cheers,
Christopher
 
Old 01-14-2008, 06:53 AM   #5
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, based on what you've said that wouldn't explain anything. level 5 just says "start apache. start ssh. start the X server", nothing in that level actually *depends* on X windows at all, let alone a users login to it.
 
Old 01-14-2008, 07:55 AM   #6
ChristopherAngel
LQ Newbie
 
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
no, based on what you've said that wouldn't explain anything. level 5 just says "start apache. start ssh. start the X server", nothing in that level actually *depends* on X windows at all, let alone a users login to it.
So it would seem after some research. Any suggestions?
 
Old 01-14-2008, 08:46 AM   #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
well you still need to define what the experience really is. what happens if you never log on at all for example?
 
Old 01-14-2008, 09:06 AM   #8
ChristopherAngel
LQ Newbie
 
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
well you still need to define what the experience really is. what happens if you never log on at all for example?
If comp44 is the linux machine in question then:

While comp44 is off:
From another machine I visit http://comp44/ and receive a connection time out.

While comp44 is showing the login Screen immediatley after booting (no user has logged in):
From another machine I visit http://comp44/ and receive a connection time out. Even though I see httpd start "OK" during the boot up sequence:

If I login to comp44 a regular user:
From another machine I visit http://comp44/ and receive the Fedora Test Page. - apache is now running

If I logout so comp44 is showing the login screen:
From another machine I visit http://comp44/ and receive a connection time out. The same as before
.

What I don't understand is how this is happening. I'm not a complete n00b although this is making me feel like one. I don't even know where to begin looking so any suggestions to this would be welcome.

Again this issue is not specific to apache, I'm using this as an example as it was not installed/modified by myself after OS install.

Cheers
Christopher
 
Old 01-14-2008, 09:41 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
ooh ooh ooh... it's not the services, it's the network being configured via nm-applet? bet you can't even ping it..? run system-config-network and ensure eth0 or whatever is lsited as starting on boot (also open /etc/sysconfig/network-scripts/ifcfg-eth0 and check for a line saying "ONBOOT=YES") and possibly also that the network service itself is listed as enabled in system-config-services
 
Old 01-14-2008, 09:55 AM   #10
ChristopherAngel
LQ Newbie
 
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by acid_kewpie View Post
ooh ooh ooh... it's not the services, it's the network being configured via nm-applet? bet you can't even ping it..? run system-config-network and ensure eth0 or whatever is lsited as starting on boot (also open /etc/sysconfig/network-scripts/ifcfg-eth0 and check for a line saying "ONBOOT=YES") and possibly also that the network service itself is listed as enabled in system-config-services
That's right I can't even ping it.

Woo thank you. All the configuration settings you mentioned were correct what was incorrect was my brain! I had configured the machine locally to be known as something different which I noticed whilst checking the settings you mentioned.
 
Old 01-14-2008, 01:04 PM   #11
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
super. something pinged in my head... the network manager stuff is nice at times, but it's really confusing for the scope that it's at... it completely destroys and ignores other system configuration, like the startup scripts. needs work to avoid bizzare things like that.
 
  


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
how to stop services packets Solaris / OpenSolaris 6 03-15-2009 05:08 AM
Start/Stop Services Verbal Kint Linux - General 4 06-21-2007 06:56 AM
How do I stop services from restarting after I stop them? M$ISBS Linux - Software 3 10-27-2005 08:13 PM
stop services in SuSE 9.0 randomx Linux - General 2 12-29-2003 01:12 PM
stop services matwau Linux - Networking 2 10-01-2003 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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