LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2008, 11:52 AM   #1
nikalleyne
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Rep: Reputation: 0
Changing The Services/Dameons Load Order


Hi All,
I've Installed snort and mysql, however, my snort cannot log to the database because it currently loads before the database (mysql). So is there a way I can change the boot order of these two. Instead of having snort load then mysql, i wish to have mysql load then snort.
Thanks in anticipation of a quick response
Nik
 
Old 03-25-2008, 09:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

And welcome to LQ!

There is; the correct answer as to HOW depends on your distro.
If you could post that little bit of info people can actually
help you. In this context: it's a good idea to put that kind
of info in your profile (and keep it current).



Cheers,
Tink
 
Old 03-25-2008, 09:30 PM   #3
nikalleyne
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Changing The Services/Dameons Load Order

I'm extremely sorry about that. My distro is Fedora Core 8
 
Old 03-25-2008, 09:46 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
No worries. Now, I don't know FC at all, and it's been a
while that I last touched RH. I assume you have a directory
structure like /etc/init.d/rc*.d (where * = [1-6])? Or in a
similar location? If you do, check the directories with a
1,2 or 3 in them (most likely candidates) for files SXXmysql
and SXXsnort (or similar) and make sure that snorts XX (a
two digit number) is higher than mysqls. For the shut-down
phase find the KXX files, and make sure that snorts is lower
than mysqls.


Cheers,
Tink
 
Old 03-25-2008, 09:54 PM   #5
nikalleyne
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I Found the files, how should I now resolve the issue. I'm thinking of renaming the files to adjust the numbers. Do you recommend this method.
thanks
nik
 
Old 03-25-2008, 09:56 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That's what I'd be doing, yes. I'd tend to leave the mysql one alone,
just in case other products depend on its current position in the
start-up sequence.


Cheers,
Tink
 
Old 03-26-2008, 12:10 AM   #7
nikalleyne
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Hey Tink
Thanks a million it works. However, I still have some fine tuning to do since I can't seem to find the KXX options. however, I'm working on it.
Thanks
Nik
P.S. Do you have any easy tutorial for setting up Directory Services on this fedora and please remember I'm a newbie to linux.
 
Old 03-26-2008, 01:53 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Sorry, I don't. I don't use FC. I'd suggest starting a new
thread for this, either in our FC forum, or maybe under servers.



Cheers,
Tink
 
  


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
order of services booting borovikov SUSE / openSUSE 3 04-14-2005 04:11 AM
Changing the load order of modprobe keithcsl Linux - Hardware 3 10-21-2004 05:09 AM
resort order of startup services robert_edwards Fedora 0 07-29-2004 07:30 AM
Changing the order in which things load evannextel Linux - General 2 07-28-2004 06:49 PM
Services boot order in Mandrake 9.1 ccool Linux - General 4 08-05-2003 03:30 PM


All times are GMT -5. The time now is 12:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration