Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache does not start at boot on OpenSUSE

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

like image 560
Nicsoft Avatar asked Apr 25 '26 06:04

Nicsoft


1 Answers

chmod 755 /etc/init.d/apache2 fixed it

like image 173
Nicsoft Avatar answered Apr 26 '26 23:04

Nicsoft



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!