SOLVED: update/upgrade var/lock/apache2 permissions failure
Posted: Thu Jul 24, 2014 5:55 am
I am running amahi on an old netbook using ubuntu 12.04.4 lts. First installed April 2012. I routinely use apt-get to install security recommendations. Today apache2 failed to upgrade to ver 2.2 with the following error:
Complete apt-get session attached.
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.
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.