All files in var deleted on every reboot?
Posted: Thu Jan 19, 2017 9:46 am
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
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