Page 2 of 2
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Posted: Tue Aug 25, 2020 2:30 am
by sib
What is the state on this? It has not been working for a long time
Code: Select all
# cat /etc/my.cnf
[mysqld]
innodb_file_per_table=1
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Posted: Tue Aug 25, 2020 3:31 pm
by benjaminsmith
Hi
@sib,
The database configuration file looks ok. At this point, I would recommend downgrading the backend database utility to the previous version, see the instructions below. Let me know if you need any assistance.
Downgrade Instructons (Local Database)
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Posted: Tue Aug 25, 2020 11:59 pm
by sib
Hi
what is the downgrade procedure for RPM installs?
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Posted: Wed Aug 26, 2020 3:02 pm
by benjaminsmith
Hi
@Sib,
As long as you have the development packages on the server, it would be the same process used on the standard installs, as follow:
Downgrade Instructons (Local Database)
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Posted: Thu Aug 27, 2020 2:13 am
by sib
Hi
This "solved" the issue. I hope it will be fixed in 5.7.3?
Re: GUI issues after 5.6.12 -> 5.7.1 upgrade
Posted: Thu Aug 27, 2020 4:07 pm
by benjaminsmith
Hi Sib,
This "solved" the issue. I hope it will be fixed in 5.7.3?
Glad to hear that helped resolve the issue for now. I should have more information on the next release late next week.