[root@localhost nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...
OLD VERSION: 416
no crontab for nagios
no crontab for root
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
Copying over new XI directory...
Building latest perms binary...
Updating NagiosQL...
NAGIOSQL-POST
Patching NDOUtils...
NDOUtils already patched at level 103
Updating sequences...
Nagios XI Postgres Database Sequence Information
OLD VALUES
--------------
xi_commands_command_id_seq = 685
xi_events_event_id_seq = 17333
xi_meta_meta_id_seq = 17441
xi_options_option_id_seq = 159
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 916
xi_users_user_id_seq = 64
NEW VALUES
--------------
xi_commands_command_id_seq = 685
xi_events_event_id_seq = 17333
xi_meta_meta_id_seq = 17441
xi_options_option_id_seq = 159
xi_sysstat_sysstat_id_seq = 101
xi_usermeta_usermeta_id_seq = 916
xi_users_user_id_seq = 64
Installing new PNP templates...
Updating init script...
Enabling large install tweaks...
Fixing config file permissions...
Fixing htpasswd permissions...
Checking group memberships...
Installing new XI templates...
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=ija2su' -O nagiosql.login--2015-07-08 18:06:23-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-07-08 18:06:23 ERROR 403: Forbidden.
NAGIOSQL LOGIN FAILED!
Upgrading PHP version used in XI
-
geoffmyers
- Posts: 22
- Joined: Fri Apr 03, 2015 3:57 pm
Re: Upgrading PHP version used in XI
This is what I get.. looks like it failed as well due to the 403
Re: Upgrading PHP version used in XI
Are you using a proxy? Is SELinux enabled? Have you changed any of the db passwords? Can you run the following commands and show the output in code wraps?
Code: Select all
getenforce
tail -100 /var/log/httpd/error_log
ll /usr/local/nagiosxi/scripts/nagiosql*Be sure to check out our Knowledgebase for helpful articles and solutions!
-
geoffmyers
- Posts: 22
- Joined: Fri Apr 03, 2015 3:57 pm
Re: Upgrading PHP version used in XI
We are not using a proxy of any kind. This is a clean install of Centos 7 with NagiosXI installed directly after doing a yum update. I don't believe the db passwords were changed on the source install. The backup would not have succeeded otherwise when it logged in to do the backup.
Code: Select all
[root@localhost ~]# getenforce
Disabled
[root@localhost ~]# tail -100 /var/log/httpd/error_log
[Thu Jul 09 10:22:22.740129 2015] [authz_core:error] [pid 1822] [client ::1:3703 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:22:42.964730 2015] [authz_core:error] [pid 1819] [client ::1:3703 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:23:02.094924 2015] [authz_core:error] [pid 1823] [client ::1:3703 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:23:22.453820 2015] [authz_core:error] [pid 1820] [client ::1:3704 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:23:42.681373 2015] [authz_core:error] [pid 24107] [client ::1:370 44] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:24:01.684609 2015] [authz_core:error] [pid 1821] [client ::1:3704 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:24:22.024401 2015] [authz_core:error] [pid 1822] [client ::1:3705 0] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:24:42.248494 2015] [authz_core:error] [pid 1819] [client ::1:3705 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:25:02.577504 2015] [authz_core:error] [pid 1823] [client ::1:3705 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:25:22.949419 2015] [authz_core:error] [pid 1820] [client ::1:3706 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:25:43.174397 2015] [authz_core:error] [pid 24107] [client ::1:370 73] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:26:02.224530 2015] [authz_core:error] [pid 1821] [client ::1:3707 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:26:22.544176 2015] [authz_core:error] [pid 1822] [client ::1:3707 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:26:42.773576 2015] [authz_core:error] [pid 1823] [client ::1:3708 2] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:27:02.035448 2015] [authz_core:error] [pid 1820] [client ::1:3708 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:27:22.275256 2015] [authz_core:error] [pid 24107] [client ::1:370 84] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:27:42.499548 2015] [authz_core:error] [pid 1821] [client ::1:3708 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:28:02.471728 2015] [authz_core:error] [pid 1822] [client ::1:3708 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:28:22.902366 2015] [authz_core:error] [pid 1819] [client ::1:3709 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:28:43.128808 2015] [authz_core:error] [pid 1823] [client ::1:3709 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:29:02.425586 2015] [authz_core:error] [pid 1820] [client ::1:3709 6] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:29:22.677144 2015] [authz_core:error] [pid 24107] [client ::1:371 00] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:29:42.901478 2015] [authz_core:error] [pid 1821] [client ::1:3710 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:30:01.990465 2015] [authz_core:error] [pid 1822] [client ::1:3710 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:30:22.376351 2015] [authz_core:error] [pid 1819] [client ::1:3711 9] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:30:42.601134 2015] [authz_core:error] [pid 1823] [client ::1:3712 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:31:01.714932 2015] [authz_core:error] [pid 1820] [client ::1:3712 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:31:21.985438 2015] [authz_core:error] [pid 24107] [client ::1:371 28] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:31:42.215207 2015] [authz_core:error] [pid 1822] [client ::1:3713 2] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:32:02.332956 2015] [authz_core:error] [pid 1819] [client ::1:3713 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:32:22.760829 2015] [authz_core:error] [pid 1823] [client ::1:3713 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:32:42.985472 2015] [authz_core:error] [pid 1820] [client ::1:3713 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:33:02.424412 2015] [authz_core:error] [pid 24107] [client ::1:371 38] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:33:22.697665 2015] [authz_core:error] [pid 1821] [client ::1:3714 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:33:42.921928 2015] [authz_core:error] [pid 1822] [client ::1:3714 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:34:01.749811 2015] [authz_core:error] [pid 1819] [client ::1:3714 6] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:34:21.992415 2015] [authz_core:error] [pid 1823] [client ::1:3715 0] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:34:42.218300 2015] [authz_core:error] [pid 1820] [client ::1:3715 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:35:01.830590 2015] [authz_core:error] [pid 24107] [client ::1:371 58] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:35:22.110485 2015] [authz_core:error] [pid 1821] [client ::1:3717 0] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:35:42.335587 2015] [authz_core:error] [pid 1822] [client ::1:3717 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:36:02.364362 2015] [authz_core:error] [pid 1819] [client ::1:3717 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:36:22.657711 2015] [authz_core:error] [pid 1823] [client ::1:3717 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:36:42.882740 2015] [authz_core:error] [pid 24107] [client ::1:371 82] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:37:02.270545 2015] [authz_core:error] [pid 1821] [client ::1:3718 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:37:22.535450 2015] [authz_core:error] [pid 1822] [client ::1:3718 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:37:42.758375 2015] [authz_core:error] [pid 1819] [client ::1:3718 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:38:02.576532 2015] [authz_core:error] [pid 1823] [client ::1:3718 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:38:22.884113 2015] [authz_core:error] [pid 1820] [client ::1:3719 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:38:43.107362 2015] [authz_core:error] [pid 24107] [client ::1:371 94] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:39:02.492930 2015] [authz_core:error] [pid 1821] [client ::1:3719 6] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:39:22.732483 2015] [authz_core:error] [pid 1822] [client ::1:3720 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:39:42.956772 2015] [authz_core:error] [pid 1819] [client ::1:3720 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:40:02.173727 2015] [authz_core:error] [pid 1823] [client ::1:3720 9] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:40:22.409382 2015] [authz_core:error] [pid 1820] [client ::1:3722 0] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:40:42.633529 2015] [authz_core:error] [pid 24107] [client ::1:372 23] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:41:01.786409 2015] [authz_core:error] [pid 1821] [client ::1:3722 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:41:22.026535 2015] [authz_core:error] [pid 1822] [client ::1:3722 9] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:41:42.251494 2015] [authz_core:error] [pid 1823] [client ::1:3723 2] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:42:02.334365 2015] [authz_core:error] [pid 1820] [client ::1:3723 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:42:22.795425 2015] [authz_core:error] [pid 24107] [client ::1:372 34] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:42:43.020317 2015] [authz_core:error] [pid 1821] [client ::1:3723 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:43:02.145900 2015] [authz_core:error] [pid 1822] [client ::1:3723 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:43:22.466988 2015] [authz_core:error] [pid 1819] [client ::1:3724 2] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:43:42.691080 2015] [authz_core:error] [pid 1823] [client ::1:3724 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:44:01.813161 2015] [authz_core:error] [pid 1820] [client ::1:3724 6] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:44:22.049288 2015] [authz_core:error] [pid 24107] [client ::1:372 53] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:44:42.274408 2015] [authz_core:error] [pid 1821] [client ::1:3725 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:45:02.489127 2015] [authz_core:error] [pid 1822] [client ::1:3726 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:45:22.860429 2015] [authz_core:error] [pid 1819] [client ::1:3727 0] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:45:43.085516 2015] [authz_core:error] [pid 1823] [client ::1:3727 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:46:02.081542 2015] [authz_core:error] [pid 1820] [client ::1:3727 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:46:22.317049 2015] [authz_core:error] [pid 24107] [client ::1:372 80] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:46:42.543354 2015] [authz_core:error] [pid 1822] [client ::1:3728 2] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:47:01.696371 2015] [authz_core:error] [pid 1819] [client ::1:3728 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:47:21.995384 2015] [authz_core:error] [pid 1823] [client ::1:3728 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:47:42.220193 2015] [authz_core:error] [pid 1820] [client ::1:3728 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:48:02.380490 2015] [authz_core:error] [pid 24107] [client ::1:372 88] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:48:22.644872 2015] [authz_core:error] [pid 1821] [client ::1:3729 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:48:42.876649 2015] [authz_core:error] [pid 1822] [client ::1:3729 4] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:49:02.113859 2015] [authz_core:error] [pid 1819] [client ::1:3729 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:49:22.376015 2015] [authz_core:error] [pid 1823] [client ::1:3730 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:49:42.600260 2015] [authz_core:error] [pid 1820] [client ::1:3730 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:50:01.771568 2015] [authz_core:error] [pid 24107] [client ::1:373 11] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:50:22.099136 2015] [authz_core:error] [pid 1821] [client ::1:3732 0] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:50:42.323145 2015] [authz_core:error] [pid 1822] [client ::1:3732 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:51:02.325696 2015] [authz_core:error] [pid 1819] [client ::1:3732 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:51:22.587457 2015] [authz_core:error] [pid 1820] [client ::1:3733 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:51:42.812384 2015] [authz_core:error] [pid 24107] [client ::1:373 32] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:52:02.147523 2015] [authz_core:error] [pid 1821] [client ::1:3733 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:52:22.386926 2015] [authz_core:error] [pid 1822] [client ::1:3733 5] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:52:42.615691 2015] [authz_core:error] [pid 1819] [client ::1:3733 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:53:01.798152 2015] [authz_core:error] [pid 1823] [client ::1:3733 8] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:53:22.033822 2015] [authz_core:error] [pid 1820] [client ::1:3734 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:53:42.259298 2015] [authz_core:error] [pid 24107] [client ::1:373 44] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/bac kend/
[Thu Jul 09 10:54:02.304511 2015] [authz_core:error] [pid 1821] [client ::1:3734 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:54:22.658402 2015] [authz_core:error] [pid 1822] [client ::1:3735 3] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:54:42.883866 2015] [authz_core:error] [pid 1819] [client ::1:3735 7] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:55:02.258562 2015] [authz_core:error] [pid 1823] [client ::1:3736 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[Thu Jul 09 10:55:22.505703 2015] [authz_core:error] [pid 1820] [client ::1:3737 1] AH01630: client denied by server configuration: /usr/local/nagiosxi/html/back end/
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# ll /usr/local/nagiosxi/scripts/nagiosql*
-rwxrwxr-x 1 nagios nagios 90 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql.cookies
-rwxrwxr-x 1 nagios nagios 271780 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_defaults.sql
-rwxrwxr-x 1 nagios nagios 27895 Jun 24 15:53 /usr/local/nagiosxi/scripts/nagiosql.delete.contact
-rwxrwxr-x 1 nagios nagios 952 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_delete_contact.php
-rwxrwxr-x 1 nagios nagios 18063 Mar 26 13:01 /usr/local/nagiosxi/scripts/nagiosql.delete.host
-rwxrwxr-x 1 nagios nagios 1991 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_delete_host.php
-rwxrwxr-x 1 nagios nagios 509 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_delete_object.sh
-rwxrwxr-x 1 nagios nagios 43812 Jun 30 15:03 /usr/local/nagiosxi/scripts/nagiosql.delete.service
-rwxrwxr-x 1 nagios nagios 2846 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_delete_service.php
-rwxrwxr-x 1 nagios nagios 955 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_delete_timeperiod.php
-rwxrwxr-x 1 nagios nagios 1334 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_exportall.php
-rwxrwxr-x 1 nagios nagios 14260 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql.export.monitoring
-rwxrwxr-x 1 nagios nagios 1333 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_importall.php
-rwxrwxr-x 1 nagios nagios 13076 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql.import.monitoring
-rwxrwxr-x 1 nagios nagios 0 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql.login
-rwxrwxr-x 1 nagios nagios 1849 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_login.php
-rwxrwxr-x 1 nagios nagios 2246 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_snapshot.sh
-rwxrwxr-x 1 nagios nagios 262 Jul 8 18:06 /usr/local/nagiosxi/scripts/nagiosql_trim_backups.sh
Re: Upgrading PHP version used in XI
There was a bug in the restore_xi.sh script when restoring a backup from Centos6 on to Centos7 system.
If you create a new clean Centos7 install, overwrite the attached file in this folder
then do the restore the backup from the Centos6 system, it should work for you.
Please post is this resolves the issue.
If you create a new clean Centos7 install, overwrite the attached file in this folder
Code: Select all
/usr/local/nagiosxi/scriptsPlease post is this resolves the issue.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
geoffmyers
- Posts: 22
- Joined: Fri Apr 03, 2015 3:57 pm
Re: Upgrading PHP version used in XI
I was able to restore and login correctly. I'm seeing an error for all my WMI services though.
UNKNOWN - The WMI query had problems. The error text from wmic is: /usr/bin/wmic: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
Am I missing a required pre-req?
UNKNOWN - The WMI query had problems. The error text from wmic is: /usr/bin/wmic: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
Am I missing a required pre-req?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Upgrading PHP version used in XI
Maybe these instructions will help fix the problem:
https://assets.nagios.com/downloads/nag ... pgrade.pdf
https://assets.nagios.com/downloads/nag ... pgrade.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
geoffmyers
- Posts: 22
- Joined: Fri Apr 03, 2015 3:57 pm
Re: Upgrading PHP version used in XI
Box293,
I followed the instructions for the Centos 7 section but didn't update the plugin. Everything is working now, so I'm sure the ln was the fix.
Thanks for the assistance.
I followed the instructions for the Centos 7 section but didn't update the plugin. Everything is working now, so I'm sure the ln was the fix.
Thanks for the assistance.
-
geoffmyers
- Posts: 22
- Joined: Fri Apr 03, 2015 3:57 pm
Re: Upgrading PHP version used in XI
Looks like I spoke too soon.
Everything seems to be working except bandwidth monitoring. Nagios says the interface is ok, but it is 0 up/ 0 down information for bandwidth on every device. I verified I could do an snmpwalk on a test device, so I don't think that is it.
These are being monitored with check_xi_service_mrtgtraf . Perhaps I need to clear something that is cached to get it to start populating again.
Thanks..
Everything seems to be working except bandwidth monitoring. Nagios says the interface is ok, but it is 0 up/ 0 down information for bandwidth on every device. I verified I could do an snmpwalk on a test device, so I don't think that is it.
These are being monitored with check_xi_service_mrtgtraf . Perhaps I need to clear something that is cached to get it to start populating again.
Thanks..
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Upgrading PHP version used in XI
The MRTG configs may not have come across.
You need all the files in /etc/mrtg/conf.d/
Copy these from your older server to your new server and in about 15-30 minutes the grapghs should start working.
Let us know if this fixes your problem.
You need all the files in /etc/mrtg/conf.d/
Copy these from your older server to your new server and in about 15-30 minutes the grapghs should start working.
Let us know if this fixes your problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
geoffmyers
- Posts: 22
- Joined: Fri Apr 03, 2015 3:57 pm
Re: Upgrading PHP version used in XI
Unfortunately this did not work. The strange thing is that the status says "Ok - Current BW in: 0Mbps Out: 0Mbps", and the graph shows a flat line after I migrated to the new nagios server. But the graph shows data for the last check. See screenshots.
You do not have the required permissions to view the files attached to this post.