Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an appliation which needs apache , I configured apache that works fine. The thing is that every time i start server i need to manully run the apache scripts. How can let is automatically start while the server comes up?
this is the sample work around to bring the application brings up
Hi ,
I have an appliation which needs apache , I configured apache that works fine. The thing is that every time i start server i need to manully run the apache scripts. How can let is automatically start while the server comes up?
this is the sample work around to bring the application brings up
cd /opt/apache2.0.53/bin/
./apachectl startssl
Hard to say, since you don't tell us what version/distro of Linux you're on. Might want to try "chkconfig apache2 on" (or just apache), if you're on CentOS. Different versions have different ways of doing things.
httpd is off and apachectl is running where i confgiured our own app. So i need it to be start automatically while the server comes up. Is there a way that i can put under /etc/rc.d/rc3.d . not sure exactly..
Red Hat Linux release 8.0 (Psyche)
kernel version : 2.4.18-14smp
httpd is off and apachectl is running where i confgiured our own app. So i need it to be start automatically while the server comes up. Is there a way that i can put under /etc/rc.d/rc3.d . not sure exactly..
Given the age of that box, I'd not let it anywhere NEAR the net. Seriously consider upgrading.
That said, you can easily add your script/commands into a start-script in /etc/rc3.d, and it should work. May want to look at an initscript utility, such as /sbin/chkconfig, /sbin/ntsysv, or the Services Configuration Tool program. But RH8 is ancient....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.