Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache failed at step NAMESPACE

Tags:

apache

Error occurs after the package updates

apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apachectl: Permission denied

like image 482
Den Brown Avatar asked Sep 02 '26 03:09

Den Brown


1 Answers

  1. Connect to the server via SSH.

  2. For the service unit set PrivateTmp to false.

    For Debian 8: Edit /lib/systemd/system/apache.service  and add

    [Service] 
    PrivateTmp=false
    
  3. Start apache service

like image 171
Den Brown Avatar answered Sep 04 '26 19:09

Den Brown



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!