PHP Warning: require_once(/data/nagiosxi/html/includes/utils-reports-export.inc.php): failed to open stream: Permission denied in /data/nagiosxi/html/includes/utils.inc.php on line 38, referer:
Some things were fixed (could access basic GUI) however there were still some permission errors in logs and parts of GUI were broken. I tried for about an hour constantly fixing whatever permissions errors I could find but more kept appearing so I pretty much gave up.
Here is our update log.
You do not have the required permissions to view the files attached to this post.
I unfortunately rolled back to our backup given the errors.
I'm assuming you wanted the tails of the system that failed to update. Is it possible to upgrade the server without being attached to the internet? Im thinking of bringing up a clone with no network, upgrading to get you the logs you're requesting.
How was this server originally installed? Was it installed online then moved offline? What about the OS, version, and whether it is a minimal/server/desktop install?
tmcdonald wrote:How was this server originally installed? Was it installed online then moved offline? What about the OS, version, and whether it is a minimal/server/desktop install?
Original install was the VMWare image downloaded from the XI website.
Do you have LDAP or Active Directory setup on the server for the UNIX logins?
Have you setup the server to use a proxy server?
Can you post your /etc/sudoers file so we can review it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
tgriep wrote:Do you have LDAP or Active Directory setup on the server for the UNIX logins?
Have you setup the server to use a proxy server?
Can you post your /etc/sudoers file so we can review it?
philip.ianni wrote:I'm assuming you wanted the tails of the system that failed to update. Is it possible to upgrade the server without being attached to the internet? Im thinking of bringing up a clone with no network, upgrading to get you the logs you're requesting.
If cloning the server then attempting to update to get the required logs will help troubleshoot the failure then yes, we're wondering if the upgrade process is possible without internet access. (my assumption is no, seeing as a it performs a yum update) but I was wondering if you could confirm.