-
Senior Member
registered user
To do this the manual way ...
(su to root in konsole, then you could copy and paste using your mouse)
do this:
ls /etc/init.d
and see if there are entries for apache and samba in there, I would think so, but check.
Then check to see if things are set up OK so do this:
/etc/init.d/apache start
and
/etc/init.d/samba start
this checks to see if the daemons will start without errors, they may have to be configured before the daemons will run properly.
Once everything is OK, apache and samba are configured and able to start without errors then look at /etc/inittab for your runlevel id:
cat /etc/inittab | grep ^id:
on my debian system I get:
id:2:initdefault:
So then on my system I would use:
ln -s /etc/init.d/apache /etc/rc2.d/S91apache
ln -s /etc/init.d/samba /etc/rc2.d/S20samba
to start the daemons, substitute your runlevel number for the 2 in rc2.d, if you are running in runlevel 4 use rc4.d etc.
(Note: here you could link to rc2.d rc3.d rc4.d and rc.5.d so they would be started in any normal runlevel)
then so the daemons are properly stopped on a shutdown or reboot you should do this:
ln -s /etc/init.d/apache /etc/rc0.d/K20apache
ln -s /etc/init.d/apache /etc/rc6.d/K20apache
and for samba:
ln -s /etc/init.d/samba /etc/rc0.d/K19samba
ln -s /etc/init.d/samba /etc/rc2.d/K19samba
Then when you boot up the daemons will be started up and when you reboot or shutdown they will be stopped.
HTH
~rock
Similar Threads
-
By delamatrix in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 01-04-2005, 08:27 AM
-
By poldervaart in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 10-12-2004, 05:47 PM
-
By Zero_1984 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 09-28-2004, 04:57 AM
-
By Zero_1984 in forum Networking
Replies: 2
Last Post: 08-10-2004, 10:02 PM
-
By mabhatter in forum General Support
Replies: 2
Last Post: 03-14-2003, 12:27 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

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$17.99

Lot of 4 NEWPolycom VVX 150 Business IP VOIP Phones
$100.00

Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth
$49.95

Grandstream WP810 Portable Cordless Wi-Fi IP Phone
$54.99

Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked)
$18.99

Poly Edge E500 12-Line Corded IP VoIP Phone w/ PoE, Black/Silver
$120.00

Yealink SIP-T58W-PRO Gigabit VoIP IP Phone 7" Touchscreen Wi-Fi Bluetooth PoE
$324.99

Lot Of 16: Polycom VVX 501 VoIP Touchscreen Desktop Phone W/Handsets & Stands
$150.00

Lot of (5) Yealink SIP-T42S VOIP telephones Ultra Elegant SIP phones
$99.99

YEALINK T34W PHONE & 2 MONTHS OF PHONE SERVICE
$65.00