http://support.nagios.com/forum/viewtop ... chmod#p506
Try that to fix permissions.
Configuration write failed - Dataset not found - Please help
Re: Configuration write failed - Dataset not found - Please help
FYI, haven't tried it yet, but on my box I see three files in the static dir: xiobjects.cfg, xitemplates.cfg, xitest.cfg.
Re: Configuration write failed - Dataset not found - Please help
Did the delete, but now I get the following in the snapshot log:
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading!
Error processing main config file!
Checking the config manager log, same entries as I had posted before.
Thanks,
Dave
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading!
Error processing main config file!
Checking the config manager log, same entries as I had posted before.
Thanks,
Dave
Re: Configuration write failed - Dataset not found - Please help
That file, as you may know, is special. It does not contain object data like the others. You can put it back with cpio.
Code: Select all
cpio -i < ../bakup.cpio nagios.cfgRe: Configuration write failed - Dataset not found - Please help
Well, the good news is that it seems the snapshotting system works, as the file does exist, and appears to have the last good state, so the restore isn't needed.
Another test I tried was connecting to the localhost using mysql connecting as the user specified in /var/www/html/nagiosql/config/settings.php (hasn't been changed from the default) and did a select to make sure I can read from the MySQL db ok, and it seems fine.
Dave
Another test I tried was connecting to the localhost using mysql connecting as the user specified in /var/www/html/nagiosql/config/settings.php (hasn't been changed from the default) and did a select to make sure I can read from the MySQL db ok, and it seems fine.
Dave