LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 05-30-2004, 07:45 PM   #1
bcom
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
RunLevels


Does anyone know the runlevels for mandrake 10

I'm writing a script to run apache at startup. I'm sortof new to this, but I'm going to put the script in /etc/init.d and make a symbolic link from rcX.d depending on which rcX.d dir to use. I'm not totally sure how those runlevels work.

Help??

Thanx
 
Old 05-31-2004, 02:24 AM   #2
Dave Farrance
Member
 
Registered: May 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 47

Rep: Reputation: 15
Assuming that you've got the apache package installed, then go to Start Button -> System -> Configuration -> Configure Your Computer -> System -> Services, and check "On boot" for httpd. And it's done. What that does is to place the symlink S92httpd into /etc/rc3.d/ and /etc/rc5.d/, and that points to /etc/rc.d/init.d/httpd which is the apache start script.
 
Old 05-31-2004, 05:36 PM   #3
bcom
LQ Newbie
 
Registered: May 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I compiled apache from the source though. I don't believe it puts the script in init.d. This is why I'm manually writing the script and linking it from rcX.d I just wanted to know which symlink goes into which rcX.d dir. sXXprogram@ and kXXprogram@.

Any thoughts
 
Old 05-31-2004, 07:07 PM   #4
Black_iCE_mdk
Member
 
Registered: May 2004
Posts: 43

Rep: Reputation: 15
Exactly the SAME problem i had to make squid autoboot from a compiled installation Ļ./configureĻ

I finally found squid on Mandrake and then it was just configure and chkconfig -level 345 and shot thanks for coming... it worked.

I donīt know how to make mandrake id apps installed from konsole (kde 3) and then allow them prefrence over the installed version that exist in mandrake.

I think that will be my main downfall if i compile *anything* service-like and get told to make it load in boot time.

[thread starter] - guess that they tell the system what services will be loaded... on boot something like in a windoze env.... safe-mode, minimal services etc etc

start apps in boot... squid example www.squid-cache.org/Doc/FAQ/FAQ-3.html#ss3.6
scroll down about half a page + script file example

Last edited by Black_iCE_mdk; 05-31-2004 at 07:16 PM.
 
  


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
LILO and Runlevels TomalakBORG Linux - General 5 08-11-2012 04:32 AM
Runlevels nin881 Slackware 8 05-21-2005 02:50 AM
Question About Runlevels opsraja Fedora 6 11-24-2004 02:53 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 04:45 PM
runlevels kriver Linux - General 1 03-13-2002 05:55 PM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration