XI Cent OS 7.0 upgrade issue from Cent OS 5.7
-
- Posts: 17
- Joined: Fri Apr 13, 2018 4:30 am
XI Cent OS 7.0 upgrade issue from Cent OS 5.7
Hi Guys
Originally I use CentOS release 5.7 (Final), XI Version : 2014R2.7
Now I have to upgrade to Cent OS 7.0 cos OS 5 doesn`t support TLS 1.2
I`ve installed a new CentOS Linux release 7.0.1406 (Core) XI Version : 2014R2.7.
And restores the old OS 5 backup successfully.
Now I can access http://X.X.X.X/nagios/
But can`t access http://X.X.X.X/nagiosxi/
It shows
------------------------------------------------------
Forbidden
You don't have permission to access /nagiosxi/ on this server
------------------------------------------------------
Does anyone encounter this situation ? any solution?
Thank you in advance
Originally I use CentOS release 5.7 (Final), XI Version : 2014R2.7
Now I have to upgrade to Cent OS 7.0 cos OS 5 doesn`t support TLS 1.2
I`ve installed a new CentOS Linux release 7.0.1406 (Core) XI Version : 2014R2.7.
And restores the old OS 5 backup successfully.
Now I can access http://X.X.X.X/nagios/
But can`t access http://X.X.X.X/nagiosxi/
It shows
------------------------------------------------------
Forbidden
You don't have permission to access /nagiosxi/ on this server
------------------------------------------------------
Does anyone encounter this situation ? any solution?
Thank you in advance
You do not have the required permissions to view the files attached to this post.
-
- Posts: 17
- Joined: Fri Apr 13, 2018 4:30 am
XI install error in Cent OS 7.X
Hi Guys
I`ve installed a new nagios XI Version : 2014R2.7. to CentOS Linux release 7.2, 7.3 ,7.4
But they all showed the error : The script that failed was `./ E-importnagiosql`
Please help to see how can solve the problem ,thanks^^
I`ve installed a new nagios XI Version : 2014R2.7. to CentOS Linux release 7.2, 7.3 ,7.4
But they all showed the error : The script that failed was `./ E-importnagiosql`
Please help to see how can solve the problem ,thanks^^
You do not have the required permissions to view the files attached to this post.
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
Your first post accessing the Nagios XI GUI could be caused by a Apache Configuration issue.
Try this, login to the server as root and run the following command.
Then try and access the XI GUI. Post the output of the tail command so we can view the errors.
Post the Apache configuration files as well so we can check them.
In the folder where you extracted the XI source installer, there should be an install.log file.
Can you post that so we can view the full installation log?
Try this, login to the server as root and run the following command.
Code: Select all
tail -f /var/log/httpd/*_log
Post the Apache configuration files as well so we can check them.
Code: Select all
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/nagiosxi.conf
/etc/httpd/conf.d/ssl.conf
Can you post that so we can view the full installation log?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 17
- Joined: Fri Apr 13, 2018 4:30 am
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
Hi
The attchment is the output, pls help to see, thank you
The attchment is the output, pls help to see, thank you
You do not have the required permissions to view the files attached to this post.
Last edited by comeonyoyo on Mon Apr 16, 2018 7:59 pm, edited 1 time in total.
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
This error
http://httpd.apache.org/docs/2.4/upgrading.html#access
If not, I will need you to copy these files
from the Nagios server and upload them to the post so I can check the settings.
Is an Apache configuration issue and if you want to try and fix the issue on your server, you can take a look at this link for instructions.AH01630: client denied by server configuration:
http://httpd.apache.org/docs/2.4/upgrading.html#access
If not, I will need you to copy these files
Code: Select all
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/nagiosxi.conf
/etc/httpd/conf.d/ssl.conf
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 17
- Joined: Fri Apr 13, 2018 4:30 am
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
Here is the output, pls help to check where should be modified, thank you
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
lets change your nagiosxi.conf to
Then restart https
Code: Select all
<Directory "/usr/local/nagiosxi/html">
# SSLRequireSSL
Options None
AllowOverride None
Order allow,deny
Allow from all
Require all granted
</Directory>
Alias /nagiosxi "/usr/local/nagiosxi/html"
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>
Code: Select all
systemctl restart httpd
-
- Posts: 17
- Joined: Fri Apr 13, 2018 4:30 am
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
WoW , It works .. I can access it right now.
This command ''Require all granted'' fixs it.
Thank you very much.. wish you have a wonderful day~
This command ''Require all granted'' fixs it.
Thank you very much.. wish you have a wonderful day~
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI Cent OS 7.0 upgrade issue from Cent OS 5.7
Glad that was the trick.
Locking as Resolved.
Locking as Resolved.