After upgrading to 2011R1.7 we can no longer upload configuration wizards
I get the error "Wizard installation failed. Uploaded zip file is not a config wizard." after clicking upload w/ various different config wizards
here are the ones I have tried:
http://support.nagios.com/forum/downloa ... php?id=733 # the vmware plugin, which the one I care about
http://exchange.nagios.org/directory/Ad ... rd/details
http://exchange.nagios.org/directory/Ad ... rd/details
I tried the fix suggested here http://support.nagios.com/forum/viewtop ... led#p12345
$ /usr/local/nagiosxi/scripts/reset_config_perms
but the problem persists. please advise
"wizard installation failed", can't upload config wizards
Re: "wizard installation failed", can't upload config wizard
It seems like it could be a permissions issue. We have a script that is supposed to fix global permission issues. You can find it here:
http://support.nagios.com/wiki/index.ph ... ion_Issues
Hope this helps!
http://support.nagios.com/wiki/index.ph ... ion_Issues
Hope this helps!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: "wizard installation failed", can't upload config wizard
unfortunately, the problems persists
further, if I look at the folder /usr/local/nagios/share, some folders and files are owned by the uid and gid 15646, which doesn't exist on my system. I am not sure if this existed prior to running the permissions script.
here is the output I got after running the command
further, if I look at the folder /usr/local/nagios/share, some folders and files are owned by the uid and gid 15646, which doesn't exist on my system. I am not sure if this existed prior to running the permissions script.
Code: Select all
[root@hqlprnagios2 share]# ls -al
total 76
drwxrwxr-x. 12 nagios nagios 4096 Aug 29 15:29 .
drwxr-xr-x. 9 root root 4096 Oct 4 14:53 ..
-rw-rw-r--. 1 nagios nagios 576 Aug 29 15:25 config.inc.php
drwxrwxr-x. 2 nagios nagios 4096 Aug 29 15:25 contexthelp
drwxrwxr-x. 3 nagios nagios 4096 Aug 29 15:25 docs
drwxr-xr-x. 3 15646 15646 4096 Oct 21 2010 images
drwxrwxr-x. 2 nagios nagios 4096 Aug 29 15:26 includes
-rw-rw-r--. 1 nagios nagios 1440 Aug 29 15:25 index.php
drwxr-xr-x. 4 root root 4096 Aug 29 15:28 locale
-rw-rw-r--. 1 nagios nagios 3440 Aug 29 15:25 main.php
drwxrwxr-x. 2 nagios nagios 4096 Aug 29 15:25 media
drw-rw-rw-. 158 nagios nagios 4096 Oct 5 09:56 perfdata
drwxr-xr-x. 8 nagios nagios 4096 Aug 29 15:29 pnp
-rw-r--r--. 1 15646 15646 3539 Dec 25 2010 readme.txt
-rw-rw-r--. 1 nagios nagios 26 Aug 29 15:25 robots.txt
-rw-rw-r--. 1 nagios nagios 5714 Aug 29 15:25 side.php
drwxrwxr-x. 2 nagios nagios 4096 Aug 29 15:25 ssi
drwxrwxr-x. 2 15646 15646 4096 Dec 25 2010 stylesheets
Code: Select all
[root@hqlprnagios2 tmp]# ./NagiosXI-FixPerms.sh
chmod: cannot access `/usr/local/nagios/etc/services/localhost.cfg': No such file or directory
chown: cannot access `/usr/local/nagios/etc/services/localhost.cfg': No such file or directory
chmod: cannot access `/usr/local/nagios/var/stats/21945109': No such file or directory
chown: cannot access `/usr/local/nagios/var/stats/21945109': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630811.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630811.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630792.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630792.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632950.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632950.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314713833.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314713833.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314656633.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314656633.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1316706531.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1316706531.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1316706531.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1316706531.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632080.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632080.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632950.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632950.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1315497063.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1315497063.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630792.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630792.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630811.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630811.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630731.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630731.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630999.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630999.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314713833.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314713833.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630999.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630999.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314656633.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314656633.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632080.tar.gz': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314632080.tar.gz': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630731.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1314630731.txt': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1315497063.txt': No such file or directory
chown: cannot access `/usr/local/nagiosxi/nom/checkpoints/nagioscore/1315497063.txt': No such file or directory
chmod +x "/usr/local/nagios/share/perfdata";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP01";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP11";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRTOMC02";
chmod +x "/usr/local/nagios/share/perfdata/HQESX01";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS05";
chmod +x "/usr/local/nagios/share/perfdata/HQLQATCDRDAM1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP02";
chmod +x "/usr/local/nagios/share/perfdata/TECPRODL01";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP14";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS07";
chmod +x "/usr/local/nagios/share/perfdata/LTSDATA01";
chmod +x "/usr/local/nagios/share/perfdata/HQLQATOMC01";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP04";
chmod +x "/usr/local/nagios/share/perfdata/LPRLADA";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS10";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRREPO01";
chmod +x "/usr/local/nagios/share/perfdata/ESXEXPF2.hq.un.fao.org";
chmod +x "/usr/local/nagios/share/perfdata/HQWPRCONFIG1";
chmod +x "/usr/local/nagios/share/perfdata/LTSAPPFS01";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRALFR1";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCAF1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPPO10";
chmod +x "/usr/local/nagios/share/perfdata/LPRECTAD01";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRTYPO1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPQTOMC02";
chmod +x "/usr/local/nagios/share/perfdata/HQLQATOMC02";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCLIMPAG1";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS11";
chmod +x "/usr/local/nagios/share/perfdata/ESXEXPF1.hq.un.fao.org";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRMTA1";
chmod +x "/usr/local/nagios/share/perfdata/HQLQATOMC03";
chmod +x "/usr/local/nagios/share/perfdata/LTSKIDS08";
chmod +x "/usr/local/nagios/share/perfdata/exlprfobe1";
chmod +x "/usr/local/nagios/share/perfdata/LTSAPPW1";
chmod +x "/usr/local/nagios/share/perfdata/.pnp-internal";
chmod +x "/usr/local/nagios/share/perfdata/LTSKIDS05";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS02";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPPW11";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRGEONET1";
chmod +x "/usr/local/nagios/share/perfdata/ESXFAPS2";
chmod +x "/usr/local/nagios/share/perfdata/LTSKIDS06";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPP07";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRMOSES1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRNAGIOS1";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS01";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRGAEZ1";
chmod +x "/usr/local/nagios/share/perfdata/HQLDVTCDRCI1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRAVPROXY1";
chmod +x "/usr/local/nagios/share/perfdata/LTSKIDS01";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP15";
chmod +x "/usr/local/nagios/share/perfdata/HQLPQTOMC01";
chmod +x "/usr/local/nagios/share/perfdata/www.fao.org";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCAF2";
chmod +x "/usr/local/nagios/share/perfdata/HQBKUP-S2";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRSSL01";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCADREG2";
chmod +x "/usr/local/nagios/share/perfdata/HQLQATCDRBETL1";
chmod +x "/usr/local/nagios/share/perfdata/HQESX50";
chmod +x "/usr/local/nagios/share/perfdata/HQLQATCDRGEO1";
chmod +x "/usr/local/nagios/share/perfdata/exlprfobe2";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS06";
chmod +x "/usr/local/nagios/share/perfdata/TECDEVL01";
chmod +x "/usr/local/nagios/share/perfdata/LTSKIDS07";
chmod +x "/usr/local/nagios/share/perfdata/AFIT-INFRA02";
chmod +x "/usr/local/nagios/share/perfdata/HQWPRBKUP3";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRGEOSRV1";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPP08";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS03";
chmod +x "/usr/local/nagios/share/perfdata/HQESX10";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRWEB1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRDADIS1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRSEC01";
chmod +x "/usr/local/nagios/share/perfdata/AFIT-INFRA05";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRTCDRESB1";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPP02";
chmod +x "/usr/local/nagios/share/perfdata/HQLDVPIRES1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP17";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPPFS01";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPPO5";
chmod +x "/usr/local/nagios/share/perfdata/EXTWWWS4";
chmod +x "/usr/local/nagios/share/perfdata/LTSKIDS03";
chmod +x "/usr/local/nagios/share/perfdata/HQESX03";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPP03";
chmod +x "/usr/local/nagios/share/perfdata/EXWPRBKUP1";
chmod +x "/usr/local/nagios/share/perfdata/EXWPRBKUP2";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCADREG4";
chmod +x "/usr/local/nagios/share/perfdata/HQLDVTCDRDB1";
chmod +x "/usr/local/nagios/share/perfdata/HQLDVSWARMS1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP05";
chmod +x "/usr/local/nagios/share/perfdata/HQESX07";
chmod +x "/usr/local/nagios/share/perfdata/HQLQAPIRES1";
chmod +x "/usr/local/nagios/share/perfdata/LPRWAMP2";
chmod +x "/usr/local/nagios/share/perfdata/LTSAPP1";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRIPPC1";
chmod +x "/usr/local/nagios/share/perfdata/LTSPIRES01";
chmod +x "/usr/local/nagios/share/perfdata/EXTFTP01";
chmod +x "/usr/local/nagios/share/perfdata/ADEVL01";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCADREG3";
chmod +x "/usr/local/nagios/share/perfdata/LPFAOTERM1";
chmod +x "/usr/local/nagios/share/perfdata/TECTESTL01";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP19";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS09";
chmod +x "/usr/local/nagios/share/perfdata/LPRJIRA01";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRREDPLUS1";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRCADREG1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRCUWEB01";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRCAF2";
chmod +x "/usr/local/nagios/share/perfdata/localhost";
chmod +x "/usr/local/nagios/share/perfdata/exlprtcdrdb1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP18";
chmod +x "/usr/local/nagios/share/perfdata/LPRWAMP1";
chmod +x "/usr/local/nagios/share/perfdata/HQESX06";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP12";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP13";
chmod +x "/usr/local/nagios/share/perfdata/exlprfofe1";
chmod +x "/usr/local/nagios/share/perfdata/HQESX04";
chmod +x "/usr/local/nagios/share/perfdata/HQWPRBKUP1";
chmod +x "/usr/local/nagios/share/perfdata/HQESXTCDR1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP08";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRCAF1";
chmod +x "/usr/local/nagios/share/perfdata/HQLQAALFR1";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP07";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRGAEZ2";
chmod +x "/usr/local/nagios/share/perfdata/EMERGENCY";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP06";
chmod +x "/usr/local/nagios/share/perfdata/LDVCIOK01";
chmod +x "/usr/local/nagios/share/perfdata/HQLDVTCDRESB1";
chmod +x "/usr/local/nagios/share/perfdata/EXLQAIPPC1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPQTOMC03";
chmod +x "/usr/local/nagios/share/perfdata/HQESX05";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP10";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRPIRES1";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRTOMC03";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPP06";
chmod +x "/usr/local/nagios/share/perfdata/exlprfofe2";
chmod +x "/usr/local/nagios/share/perfdata/LTSECTAD01";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS08";
chmod +x "/usr/local/nagios/share/perfdata/LPRKIDS04";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRJBOSS1";
chmod +x "/usr/local/nagios/share/perfdata/EXTWWWS3";
chmod +x "/usr/local/nagios/share/perfdata/LPRBIV01";
chmod +x "/usr/local/nagios/share/perfdata/LDVFO01";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRTOMC01";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRTCDRDAM1";
chmod +x "/usr/local/nagios/share/perfdata/ESXFAPS1";
chmod +x "/usr/local/nagios/share/perfdata/HQLDVTCDRBI1";
chmod +x "/usr/local/nagios/share/perfdata/EXLPRTYPO1";
chmod +x "/usr/local/nagios/share/perfdata/LDVAPP04";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPP16";
chmod +x "/usr/local/nagios/share/perfdata/exlprtcdrgeo2";
chmod +x "/usr/local/nagios/share/perfdata/HQESX08";
chmod +x "/usr/local/nagios/share/perfdata/LPRDAD";
chmod +x "/usr/local/nagios/share/perfdata/HQESX02";
chmod +x "/usr/local/nagios/share/perfdata/LPRAPPW12";
chmod +x "/usr/local/nagios/share/perfdata/HQLPRSWARMS1";
chmod +x "/usr/local/nagios/share/perfdata/HQESX09";Re: "wizard installation failed", can't upload config wizard
Ok, I think I know what it is. We added a sanity check to the wizard installer in 1.7 to prevent people from installing components through the wizards page, we'll see if we can recreate this with the wizards your attempting to install...
Re: "wizard installation failed", can't upload config wizard
Ok, I just checked the wizards with the links you provided, and they appear to work on our test system. I'll take a look and see if there's something else that might cause this issue.
Re: "wizard installation failed", can't upload config wizard
ok, this seems to have fixed the issue
$ chmod -R g+w /usr/local/nagiosxi
$ chmod -R g+w /usr/local/nagiosxi
Re: "wizard installation failed", can't upload config wizard
Thanks for letting us know the fix fao.
Nicholas Scott
Former Nagios employee
Former Nagios employee