Code: Select all
* Starting web server apache2 /var/lock/apache2 already exists but is not a directory owned by apache.
Please fix manually. Aborting. [fail]
invoke-rc.d: initscript apache2, action "start" failed.
My question is "can I simply change ownership of this directory to apache?"
and is this the correct syntax :
#chown -R apache:apache /var/lock/apache2
I have not tried to restart apache or any other testing. All suggestions will be appreciated.