Linux – Apache does not start on OpenSUSE

Apache does not start on OpenSUSE… here is a solution to the problem.

Apache does not start on OpenSUSE

I want Apache2 to start att boot. This is mine

ls -l in

/etc/init.d/rc5.d

A lot of other things are listed, this one:

lrwxrwxrwx 1 root root 10 Aug 18 10:35 S12apache2 -> .. /apache2

“apache2” was indeed found in /etc/init.d/. and ls -l on the apache2 list

-rwxr--r-- 1 root root 10635 Feb 18 22:09 apache2

/

sbin/chkconfig -a apache2 print

apache2                   0:off  1:off  2:off  3:on   4:off  5:on   6:off

Isn’t this necessary for Apache to start at boot time?

I usually start manually using sudo/usr/sbin/rcapache2 restart

/Niklas

Solution

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

Related Problems and Solutions