Linux.com

Home Linux Community Community Blogs Servers Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!

Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!

Here's a viable solution on my debian server:

dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3

And... et voilà!

The proper permissions have been set and everything should work as expected

Regards
 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
    Details
  2. LFD405 Embedded Linux Development with Yocto Project
    15 Jun » 18 Jun - North Reading - MA
    Details
  3. LFD461 KVM For Developers
    15 Jun » 18 Jun - North Carolina + VIRTUAL
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board