I install apache2 package and i run this command line from terminal and it getting me error like this
user@user:~$ sudo /etc/init.d/apache2 restart
sudo: /etc/sudoers.d is world writable
/etc/init.d/apache2: 64: .: Can't open /etc/apache2/envvars
/etc/init.d/apache2: 76: .: Can't open /etc/apache2/envvars
ERROR: APACHE_PID_FILE needs to be defined in /etc/apache2/envvars
can anyone help me for this.
/etc/apache2/envvars
is missing which is part of theapache2
package. Did you get any error messages during install or did you manually remove/move something? Btw. you should runchmod 0440 /etc/sudoers
. – Thomas Oct 01 '16 at 14:36