LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 05:39 AM   #1
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

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, 06: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, 06:29 AM   #3
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

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, 07: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, 07:56 AM   #5
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

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, 08: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, 08:10 AM   #7
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

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


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


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