Page 1 of 1

Nagios XI installation problem - NAGIOSQL IMPORT FAILED!

Posted: Sat May 23, 2015 7:45 am
by dorancemc
I'm trying install nagios xi 2014R2.7 in a clean installation of Centos 6.

The last lines of installation output

Code: Select all

IMPORTING /usr/local/nagios/etc/import/templates.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/templates.cfg' -O nagiosql.import.monitoring
PHP Warning:  system(): Unable to fork [/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&selImportFile[]=/usr/local/nagios/etc/import/templates.cfg' -O nagiosql.import.monitoring] in /root/nagiosxi/nagiosxi/basedir/scripts/nagiosql_importall.php on line 50
ERROR: Could not import file /usr/local/nagios/etc/import/templates.cfg.
NAGIOSQL IMPORT FAILED!
RESULT=1
I have a vps on centos 6.6 with a clean installation.

Re: Nagios XI installation problem - NAGIOSQL IMPORT FAILED!

Posted: Tue May 26, 2015 9:19 am
by tmcdonald

Re: Nagios XI installation problem - NAGIOSQL IMPORT FAILED!

Posted: Tue May 26, 2015 3:41 pm
by dorancemc
Thanks,
the vm had 1gb of ram

I have increased to 2GB of RAM, the installation finished correctly, now is working.