LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-29-2004, 04:39 AM   #1
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Rep: Reputation: 15
Autostart at boot


This will probably be solved many times before,
but I can't find the anwer for the moment ...

I want to start postgresql, tomcat and apache at boot,
without logging in ofcourse.
I use Mandrake 10.0
 
Old 08-29-2004, 05:23 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Use the Mandrake Control Centre, then System, DrakXServices. You can set them to run at boot from there.

Baldrick
 
Old 08-29-2004, 05:29 AM   #3
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
eeeumz
no, thats not it.

I compiled postgresql and apache 2, installed them manually,
they don't appear in the services list ...
And tomcat isn't a standard package in mandrake, as far as I know ofcourse ...
 
Old 08-29-2004, 06:08 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
In that case, just add them to your /etc/rc.d/rc.sysinit file.

Baldrick
 
Old 08-29-2004, 06:56 AM   #5
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
that's working for postgresql and tomcat,
they only need to be "visible" in the lan,

but apache is starting too early in /etc/rc.d/rc.sysinit.
I get error messages because the internet isn't loaded yet.

So where can I start this service AFTER my network configuration is loaded ?
 
Old 08-29-2004, 07:01 AM   #6
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
OK then, try the /etc/rc.d/rc.local file. This script executes after all other init scripts.

Baldrick
 
Old 08-29-2004, 07:10 AM   #7
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
yup,
that did the trick ...
thanx :+)
 
  


Reply



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
How boot-cd works? Can I run this "autostart" within Linux? kornerr Linux - General 2 05-08-2005 05:34 AM
Autostart Samba & Running scripts at boot DocNick Linux - General 5 11-09-2004 05:02 AM
Debian - Problems autostart Tomcat 4.1.30 on boot KaminariJ Linux - Software 5 10-13-2004 07:25 AM
How to set a program to autostart upon Fedora Boot j3ff Fedora 1 08-30-2004 05:32 AM
Disable k3b autostart at boot Haiyadragon Mandriva 4 08-02-2004 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 AM.

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