LinuxQuestions.org
Review your favorite Linux distribution.
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 02-26-2003, 01:02 PM   #1
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
Run Control scripts... rc.x, etc.


Morning everyone.

As I find myself diving more and more into Linux and using it every day in my work enviroment, I have developed a hearty appetite to learn as much as I can to be efficient with Linux.

Over the course of the past 2 weeks, I have learned a ton of cool stuff; compiling apache, PHP, SSL, installing squirrelmail, IPChains/IPTables etc. It has been a whirlwind, but absolutely fantastic time.

I do have questions though regarding run control scripts. I undertstand the basics of them, but I want to learn more. For instance, when installing apache through RPM's, you can stop/start/restart apache by using /etc/init.d/httpd <command>

However, since I have compiled my own version of apache, I have to use apachectl to stop and start apache. The same goes with LDAP.

What I wanted to know is; 1) Where can I find out more info on run control scripts: how they work, how to edit them etc.

2) Since I have compiled both apache and LDAP through source, I cannot start either of these through /etrc/init.d, but instead I have to put in the full path or navigate to the path. Is it possible to add these to the RC scripts so I can have a quick stop/start or restart for these services?

Thanks everyone.

Tarballed

 
Old 02-26-2003, 01:27 PM   #2
acid2000
Member
 
Registered: Nov 2001
Location: Exeter, UK
Distribution: Gentoo 1.4
Posts: 243

Rep: Reputation: 30
Strange, both should come with rc scripts. Check the documentation.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
new scripts won't run new2me Linux - Newbie 4 06-09-2005 10:14 AM
Run Control Scripts desbyleo Solaris / OpenSolaris 2 12-07-2004 01:15 AM
How do i get scripts to run? jihadcman Fedora 3 06-06-2004 11:15 AM
how do you run scripts toejam Linux - General 5 05-24-2004 09:24 AM
cannot run scripts unless su odious1 Linux - General 5 07-19-2003 01:25 AM

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

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