I want Apache2 to start att boot. This is what I have
ls -l in
/etc/init.d/rc5.d
lists, among a lot of other things, this:
lrwxrwxrwx 1 root root 10 Aug 18 10:35 S12apache2 -> ../apache2
In /etc/init.d/ 'apache2' is indeed located. And ls -l on apache2 lists
-rwxr--r-- 1 root root 10635 Feb 18 22:09 apache2
/sbin/chkconfig -a apache2 prints
apache2 0:off 1:off 2:off 3:on 4:off 5:on 6:off
Shouldn't this be necessary in order for Apache to start at boot?
I usually start manually using sudo /usr/sbin/rcapache2 restart
/Niklas
chmod 755 /etc/init.d/apache2 fixed it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With