Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-14-2008, 04:47 AM
|
#1
|
LQ Newbie
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13
Rep:
|
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?
|
|
|
01-14-2008, 05:19 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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?
|
|
|
01-14-2008, 05:28 AM
|
#3
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978
Rep:
|
please open a terminal
login as root
and
Code:
chkconfig --list httpd
if HTTPD is configured to start in each needed runlevel
|
|
|
01-14-2008, 05:38 AM
|
#4
|
LQ Newbie
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13
Original Poster
Rep:
|
Quote:
Originally Posted by odcheck
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
|
|
|
01-14-2008, 06:53 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
01-14-2008, 07:55 AM
|
#6
|
LQ Newbie
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
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?
|
|
|
01-14-2008, 08:46 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well you still need to define what the experience really is. what happens if you never log on at all for example?
|
|
|
01-14-2008, 09:06 AM
|
#8
|
LQ Newbie
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
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
|
|
|
01-14-2008, 09:41 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
01-14-2008, 09:55 AM
|
#10
|
LQ Newbie
Registered: May 2007
Location: London
Distribution: Fedora 6
Posts: 13
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
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.
|
|
|
01-14-2008, 01:04 PM
|
#11
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
All times are GMT -5. The time now is 03:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|