?
Solved

Services Stop On Linux When Logging Out

Posted on 2006-11-07
5
Medium Priority
?
209 Views
Last Modified: 2010-04-22
I'm running Fedora 5. A problem I'm experiencing is that when I log out of Fedora is that the httpd and mysql services stop. I don't know why this happens. On the Debian Linux machine, when I log out these services keep running. What setting do I need to use to keep these services working in Fedora?

Thanks.
0
Comment
Question by:BetaPictoris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 35

Expert Comment

by:Duncan Roe
ID: 17904645
What exactly do you mean by "log out of Fedora"? Click Exit from the desktop? I suspect whatever you do must send a signal to these daemons, SIGHUP or possibly worse. Why this would happen would depend on how they were started.
0
 

Author Comment

by:BetaPictoris
ID: 17908107
I log out by clicking the Fedora icon and selecting "Log Out ...". Then I press the "End Current Session" button. On Debian Linux, when I logout, services are still running and I can access the web and database servers. On Fedora 5, when I log out MySQL stops running. I don't know why it does that. I did a default install of Fedora and didn't change anything with the database server.
0
 
LVL 35

Expert Comment

by:Duncan Roe
ID: 17909429
Thanks for the detail. I'll have to leave this for another Expert - I don't run Fedora. With what you've now detailed, there should be takers.
0
 
LVL 3

Accepted Solution

by:
loki982 earned 2000 total points
ID: 17912523
sounds like a job for...
man nohup

...what runlevel is mysql/apache under? (chkconfig --list)
0
 

Author Comment

by:BetaPictoris
ID: 17916788
Thanks loki982. You pointed me in the right direction. I checked the runlevels of mysqld with chkconfig and everything was off except for runlevel 5. I found another web site which said that runlevel 3 should be on, so I switched it on with:

                               chkconfig --level 3 mysqld on

Now when I log out of Fedora, the database server is still running.

Thanks for your help. BTW ... I doubled the point value of this question to 500. I think your help was worth the extra points.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question