Page 1 of 1
Bulk Modification Tool not working after upgrade to 2012R1.2
Posted: Wed Nov 14, 2012 2:55 pm
by eclypse
I was previously using the CCM Beta and was working fine with this. Today, I upgraded to 2012R1.2, and whenever I try to make a change to a host or service using the Bulk Modification Tool, I receive the following error.
Code: Select all
No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
When I check the host or service via the config manager, it appears that the change does get applied.
I have restarted the server entirely, with no luck. FWIW, The host is configured using the supplied CentOS VM images.
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Wed Nov 14, 2012 5:30 pm
by lmiltchev
We will have to do some digging into this. Have you tried to recreate this issue in a different browser?
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 10:03 am
by eclypse
The above is what I got in Google Chrome. I get a generic "Internet Explorer cannot display the webpage" when I use IE.
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 12:23 pm
by mguthrie
There must be something goofy going on from the beta to the new version. We actually changed the Bulk Modification tool to be it's own component in 2012, so that could be the reason. Lets try the following:
Code: Select all
rm -rf /usr/local/nagiosxi/html/includes/components/ccm
The reinstall the new CCM through the Admin->Manage Components page. The zip is attached.
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 2:35 pm
by eclypse
Unfortunately, I see the same behavior after removing and reinstalling CCM.
Code: Select all
# ls -al /usr/local/nagiosxi/html/includes/components/ccm/ total 124
drwxr-xr-x 10 nagios users 4096 Nov 15 14:26 .
drwxr-x---. 55 nagios nagios 4096 Nov 15 14:26 ..
-rwxr-xr-x 1 nagios users 7906 Nov 15 14:26 ajax.php
-rwxr-xr-x 1 nagios users 611 Nov 15 14:26 BUGS.txt
-rwxr-xr-x 1 nagios users 16452 Nov 15 14:26 ccm.inc.php
-rwxr-xr-x 1 nagios users 18505 Nov 15 14:26 ccm.jpg
-rwxr-xr-x 1 nagios users 2703 Nov 15 14:26 CHANGES.txt
drwxr-xr-x 3 nagios users 4096 Nov 15 14:26 classes
-rwxr-xr-x 1 nagios users 3875 Nov 15 14:26 command_test.php
-rwxr-xr-x 1 nagios users 984 Nov 15 14:26 config.inc.php
drwxr-xr-x 3 nagios users 4096 Nov 15 14:26 css
-rwxr-xr-x 1 nagios users 2890 Nov 15 14:26 download.php
drwxr-xr-x 3 nagios users 4096 Nov 15 14:26 images
drwxr-xr-x 3 nagios users 4096 Nov 15 14:26 includes
-rwxr-xr-x 1 nagios users 1407 Nov 15 14:26 index.php
drwxr-xr-x 3 nagios users 4096 Nov 15 14:26 javascript
-rwxr-xr-x 1 nagios users 54 Nov 15 14:26 NOTES.txt
drwxr-xr-x 3 nagios users 4096 Nov 15 14:26 page_templates
drwxr-xr-x 6 nagios users 4096 Nov 15 14:26 .svn
drwxr-xr-x 4 nagios users 4096 Nov 15 14:26 templates
-rwxr-xr-x 1 nagios users 375 Nov 15 14:26 TODO.txt
-rwxr-xr-x 1 nagios users 1307 Nov 15 14:26 xi-index.php
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 3:47 pm
by lmiltchev
Try restarting apache and see if this is going to fix your issue:
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 3:48 pm
by scottwilkerson
This could be caused by a bug we have discovered in sourceguardian
Please run the following procedure
Code: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/patches/patch_sourceguardian.zip
unzip -u patch_sourceguardian.zip
chmod +x patch_sourceguardian.sh
./patch_sourceguardian.sh
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 3:58 pm
by eclypse
lmiltchev wrote:Try restarting apache and see if this is going to fix your issue:
I forgot to mention that I did restart httpd after reinstalling.
scottwilkerson wrote:This could be caused by a bug we have discovered in sourceguardian
Please run the following procedure
Code: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/patches/patch_sourceguardian.zip
unzip -u patch_sourceguardian.zip
chmod +x patch_sourceguardian.sh
./patch_sourceguardian.sh
This has fixed my issue. I now get the correct "Updates saved successfully!" message when saving my changes in the Bulk Modification Tool.
Thanks Ludmil, Mike, and Scott for your help!
Re: Bulk Modification Tool not working after upgrade to 2012
Posted: Thu Nov 15, 2012 4:40 pm
by scottwilkerson
Nice.
Thanks for updating!