failed to upgrade from 5.2.0 to 5.2.2
failed to upgrade from 5.2.0 to 5.2.2
running the ./uprgrade i get this
error_log
[Fri Nov 13 21:57:45 2015] [crit] [client 127.0.0.1] (13)Permission denied: /usr/local/nagiosxi/html/backend/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=pass' -O nagiosql.login--2015-11-13 21:57:00-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... connected.
WARNING: cannot verify localhost’s certificate, issued by “/DC=ad/DC=compan/CN=ca”:
Unable to locally verify the issuer’s authority.
WARNING: no certificate subject alternative name matches
requested host name “localhost”.
HTTP request sent, awaiting response... 403 Forbidden
2015-11-13 21:57:01 ERROR 403: Forbidden.
no proxy settings for wgetrc or any other proxy settings.
error_log
[Fri Nov 13 21:57:45 2015] [crit] [client 127.0.0.1] (13)Permission denied: /usr/local/nagiosxi/html/backend/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=pass' -O nagiosql.login--2015-11-13 21:57:00-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... connected.
WARNING: cannot verify localhost’s certificate, issued by “/DC=ad/DC=compan/CN=ca”:
Unable to locally verify the issuer’s authority.
WARNING: no certificate subject alternative name matches
requested host name “localhost”.
HTTP request sent, awaiting response... 403 Forbidden
2015-11-13 21:57:01 ERROR 403: Forbidden.
no proxy settings for wgetrc or any other proxy settings.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: failed to upgrade from 5.2.0 to 5.2.2
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: failed to upgrade from 5.2.0 to 5.2.2
all settings match the requirements of the document
Re: failed to upgrade from 5.2.0 to 5.2.2
Can you run the following as root in a command prompt and post the output?
Can you upload the following files so we can review them?
Code: Select all
ls -al /usr/local/nagiosxi/html
ls -al /usr/local/nagiosxi/html/backend/Code: Select all
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/nagiosxi.conf
/etc/httpd/conf.d/ssl.conf
/usr/local/nagiosxi/html/config.inc.php
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: failed to upgrade from 5.2.0 to 5.2.2
tgriep wrote:Can you run the following as root in a command prompt and post the output?Can you upload the following files so we can review them?Code: Select all
ls -al /usr/local/nagiosxi/html ls -al /usr/local/nagiosxi/html/backend/
Code: Select all
/etc/httpd/conf/httpd.conf /etc/httpd/conf.d/nagiosxi.conf /etc/httpd/conf.d/ssl.conf /usr/local/nagiosxi/html/config.inc.php
You do not have the required permissions to view the files attached to this post.
Re: failed to upgrade from 5.2.0 to 5.2.2
The configs look good. Lets check the firewall by running the following. Please post the output here.
Code: Select all
service iptables statusBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: failed to upgrade from 5.2.0 to 5.2.2
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
2 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
3 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
4 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
5 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
6 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
8 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
2 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
3 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
4 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
5 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
6 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
8 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: failed to upgrade from 5.2.0 to 5.2.2
I believe you missed this from a previous requesttgriep wrote:Can you run the following as root in a command prompt and post the output?Code: Select all
ls -al /usr/local/nagiosxi/html ls -al /usr/local/nagiosxi/html/backend/
Re: failed to upgrade from 5.2.0 to 5.2.2
this is in the archive.zip as ls.txt
Re: failed to upgrade from 5.2.0 to 5.2.2
Can you run the following and post the output?
Thanks
Code: Select all
ls -l /usr/local/nagiosxi/html/includes/components/ccm/
ls -l /usr/local/nagiosxi/scripts
grep -r htacc /etc/httpd/*Be sure to check out our Knowledgebase for helpful articles and solutions!