Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... =7&t=40015
In the future, please create a new thread and link to the old one instead of adding on.
I got same problem. After reboot it show error that on config file. Then after creating /nagios/var/rw directory and giving executable permission it works. As mentioned in above replys I did checked my permissions. also chkconfig. Output of chkconfig is given below:
-------------------------------------------------------------------------------------------------------
[root@node1 rw]#chkconfig
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
nagios 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
--------------------------------------------------------------------------------------------------------
Is there any solution?
Thank you,
Devendra
All files in var deleted on every reboot?
Re: All files in var deleted on every reboot?
Can you please show us the instructions / commands you used to install?
Also, what is the output of getenforce
Lastly, what OS / version are you running?
Also, what is the output of getenforce
Lastly, what OS / version are you running?
Former Nagios Employee
-
- Posts: 7
- Joined: Thu Jan 19, 2017 7:43 am
Re: All files in var deleted on every reboot?
- I followed Techmint site: Nagios 4.2.0 Released – Install on RHEL/CentOS 7.x/6.x/5.x and Fedora 24-19
- output of getenforce - [root@node1 ~]# getenforce
- Disabled
- Operating System: Centos 7.2 [root@node1 ~]# uname -r
- 3.10.0-327.36.3.el7.x86_64
- output of getenforce - [root@node1 ~]# getenforce
- Disabled
- Operating System: Centos 7.2 [root@node1 ~]# uname -r
- 3.10.0-327.36.3.el7.x86_64
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: All files in var deleted on every reboot?
It's best to follow our instructions: https://support.nagios.com/kb/article.php?id=96
Is there a reason you are using chkconfig instead of systemd?
Is there a reason you are using chkconfig instead of systemd?