Compiled Apache v2.20, but it won't startup automatically
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
Compiled Apache v2.2 with success, and copied the bin/apachectl to /etc/init.d, but it doesn't show in the list with drakconf.
Did the same with support-files/mysql.server and that's working.
Anyone have an idea?
Cheers
if you open this folder
/etc/rc.d/rc5.d
you will see lots of symlinks to files in /etc/init.d
Everythin here is loaded when you start you computer and start X , kde etc.
But no, It still don't shows in the list in drakconf.
Cheers
it probably wont show in drakconf because there is probably a config file everything in drakconf has a name description etc
but it should say work during boot try
service apachectl start
[root@localhost carl0ski]# service harddrake stop
Stopping harddrake [ OK ]
[root@localhost carl0ski]# service harddrake start
Checking for new hardware [ OK ]
[root@localhost carl0ski]#
Why did it work so smoothly with MySQL?? I just copied the mysql.server from the support-files to /etc/init.d/, and bang, it shows in the list right away?
AFAIK apachectl is a binary exectuable, not an init script. If you look in any of the other files in /etc/init.d you'll see that they are shell scripts written in a particular format - ie. the start) stop) restart) etc. sections and the sourcing of /etc/init.d/functions. It's not just drakservices that won't pick it up but probably the system itself and any other programs which manage the SysV init scripts (eg. service, chkconfig).
You need to either find an init script in the apache stuff you downloaded (like you found the mysql.server file) or copy one from a computer where apache was installed using RPM.
AFAIK apachectl is a binary exectuable, not an init script. If you look in any of the other files in /etc/init.d you'll see that they are shell scripts written in a particular format - ie. the start) stop) restart) etc. sections and the sourcing of /etc/init.d/functions. It's not just drakservices that won't pick it up but probably the system itself and any other programs which manage the SysV init scripts (eg. service, chkconfig).
You need to either find an init script in the apache stuff you downloaded (like you found the mysql.server file) or copy one from a computer where apache was installed using RPM.
follow this advice i have never used apache so dont know which files are script
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.