-
Junior Member
registered user
How to make apache 1.3 automatically start at boot?
hey all..
sorry if this question has been repeated over and over, but how do i get my apache server on knoppix 3.6 to start automatically when i boot up my machine?
i know knoppix comes with it pre-installed, but i uninstalled it using apt get remove apache as a book i had told me to reinstall it myself.. hmm bad idea? so i went to use apt get install apache and it said its not tehre... so i downloaded the source file and compiled it/installed it again
and now its running.. but i have to start it manually.. how do i make apache just start when i boot up? im guessing it would have to do with some kind of init or rc.d file or something?
-
Junior Member
registered user
You have several options, but the one I recommend is putting an S* link (start file) in the
/etc/rc#.d/
directory. The # is for the run level that you have your system start from in inittab.
The S* file, mean S55apache (for example). The number after the S is the order where you want the apache server to start. You will need to place it after networking.
You can create a script to start it, or probably get away with a softlink to the executable with the start option.
Good luck.
Metzelplik
-
Senior Member
registered user
The above can easily be accomplished with "sudo update-rc.d apache defaults". KDE also has a graphical tool '"SysV init" or somesuch) which allows you to control which services are started at bootup.
-
Junior Member
registered user
i used tge "sudo update-rc.d apache defaults" method outlined below to get my apache 1.3 to boot (on knoppix 3.4), but i get an error at boot saying that DocumentRoot must be a directory. The document root is currently set to "/mnt/hdb1/serveroot," which is a valid directory on, as one might deduce, another disk. how do i fix this?
-
Senior Member
registered user
jpiranha
You need to mount /dev/hdb1 first before you run apache.
You might want to enable automount for your system.
-
Junior Member
registered user
Hi all,
I've got apache to start at boot, with automount set up as well, but when apache tries to load, i get the following error:
[warn] module ssl_module is already loaded, skipping
...and then it dies. I also get the same error message if i try to start apache via Konsole. Any ideas? Is there something I can do in some other boot file to get ssl_module NOT to load? Or maybe this error was fixed in apache 2.0?
-
Senior Member
registered user
Check in /var/log/apache/error.log
What did it says?
Similar Threads
-
By IsaacKuo in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 02-24-2005, 05:43 AM
-
By Mr.45er in forum General Support
Replies: 2
Last Post: 10-06-2004, 01:21 AM
-
By lothario in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 08-18-2004, 09:14 PM
-
By paradox87 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-16-2004, 11:38 PM
-
By hokiegal99 in forum General Support
Replies: 1
Last Post: 12-11-2003, 01:23 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$44.85
![A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture](/store/img/g/HVQAAOSwZR1fWlxU/s-l225/A-Tech-8GB-PC3-12800-Desktop-DDR3-1600-MHz-Non-ECC.jpg)
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
![HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture](/store/img/g/XNYAAOSwg81kv6CG/s-l225/HyperX-FURY-DDR3-8GB-16GB-32GB-1600-MHz-PC3-12800-.jpg)
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$23.95
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
![Samsung 8GB - 1Rx8 - PC4-2666V Desktop RAM Memory | M378A1K43CB2-CTD picture](/store/img/g/8JEAAOSwn79mhBvi/s-l225/Samsung-8GB-1Rx8-PC4-2666V-Desktop-RAM-Memory-M378.jpg)
Samsung 8GB - 1Rx8 - PC4-2666V Desktop RAM Memory | M378A1K43CB2-CTD
$9.99
![1 GB DDR2 667mhz memory` 4 modules total of 4GB picture](/store/img/g/bBgAAOSwLZdmhpye/s-l225/1-GB-DDR2-667mhz-memory-4-modules-total-of-4GB-FRE.jpg)
1 GB DDR2 667mhz memory` 4 modules total of 4GB
$15.00
![HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture](/store/img/g/AhQAAOSwWi1kv6Pb/s-l225/HyperX-FURY-RAM-DDR4-16GB-8GB-32GB-4GB-3200-2666-2.jpg)
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
![Lot of 4 Samsung 32GB 2Rx4 PC4-2133P DDR4 Server RAM M393A4K40BB0-CPB0Q Cisco picture](/store/img/g/hTMAAOSwBj5mfEEU/s-l225/Lot-of-4-Samsung-32GB-2Rx4-PC4-2133P-DDR4-Server-R.jpg)
Lot of 4 Samsung 32GB 2Rx4 PC4-2133P DDR4 Server RAM M393A4K40BB0-CPB0Q Cisco
$99.95
![Lot of 12pcs Samsung,SKhynix 8GB DDR4-2400T/2666V/3200AA Sodimm Memory picture](/store/img/g/vRIAAOSwPAhmhf4G/s-l225/Lot-of-12pcs-Samsung-SKhynix-8GB-DDR4-2400T-2666V-.jpg)
Lot of 12pcs Samsung,SKhynix 8GB DDR4-2400T/2666V/3200AA Sodimm Memory
$96.78