scottwilkerson wrote:Can you tell me if your install directory has this file in it?Just trying to determine where it is failingCode: Select all
mysql.5500.updated
XI 5.5 bug?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI 5.5 bug?
@aenergy can you answer this?
Re: XI 5.5 bug?
I do have that file in the directory I ran the upgrade from, but the file is empty.scottwilkerson wrote:@aenergy can you answer this?
scottwilkerson wrote:Can you tell me if your install directory has this file in it?Just trying to determine where it is failingCode: Select all
mysql.5500.updated
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI 5.5 bug?
I think we have narrowed this down
Can you run the following
then once complete run the upgrade again
Can you run the following
Code: Select all
service ajaxterm stop
rpm -e Ajaxterm
echo $?
Code: Select all
./upgradeRe: XI 5.5 bug?
scottwilkerson wrote:I think we have narrowed this down
Can you run the followingthen once complete run the upgrade againCode: Select all
service ajaxterm stop rpm -e Ajaxterm echo $?Code: Select all
./upgrade
Ajaxterm not installed on my server.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI 5.5 bug?
That's weird.
Can you run the following and report the results to help us solve this for others
Then you open the upgrade script and comment this section out (about line 1175)
making it look like this
Then save and proceed with the upgrade
Can you run the following and report the results to help us solve this for others
Code: Select all
rpm -q Ajaxterm
echo $?Code: Select all
# Uninstall ajaxterminal to install shellinabox
rpmcheck=$(rpm -q Ajaxterm)
if [ $? -eq 0 ]; then
rpm -e Ajaxterm
cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
rm -f $proddir/html/admin/ajaxterm.php
fiCode: Select all
# Uninstall ajaxterminal to install shellinabox
#rpmcheck=$(rpm -q Ajaxterm)
#if [ $? -eq 0 ]; then
# rpm -e Ajaxterm
# cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup"
# sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf"
# rm -f $proddir/html/admin/ajaxterm.php
#fiRe: XI 5.5 bug?
scottwilkerson wrote:That's weird.
Can you run the following and report the results to help us solve this for othersThen you open the upgrade script and comment this section out (about line 1175)Code: Select all
rpm -q Ajaxterm echo $?
making it look like thisCode: Select all
# Uninstall ajaxterminal to install shellinabox rpmcheck=$(rpm -q Ajaxterm) if [ $? -eq 0 ]; then rpm -e Ajaxterm cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup" sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf" rm -f $proddir/html/admin/ajaxterm.php fi
Then save and proceed with the upgradeCode: Select all
# Uninstall ajaxterminal to install shellinabox #rpmcheck=$(rpm -q Ajaxterm) #if [ $? -eq 0 ]; then # rpm -e Ajaxterm # cp -f "$httpdconfdir/ssl.conf" "$httpdconfdir/ssl.conf.nagiosxibackup" # sed -i '/## AJAXTERM #####################/,+12d' "$httpdconfdir/ssl.conf" # rm -f $proddir/html/admin/ajaxterm.php #fi
[root@nagiosxit ~]# rpm -q Ajaxterm
package Ajaxterm is not installed
[root@nagiosxit ~]#
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI 5.5 bug?
sorry, could you run these back to back
Also, do let us know if the upgrade completed sucessfully
Code: Select all
rpm -q Ajaxterm
echo $?Re: XI 5.5 bug?
So it appears that the upgrade has to connect to assets.nagios.com....
Installing wkhtmltopdf and wkhtmltoimage...
--2018-06-29 12:41:39-- https://assets.nagios.com/downloads/nag ... x86_64.rpm
Resolving assets.nagios.com... 72.14.181.71, 2600
:f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:443...
Installing wkhtmltopdf and wkhtmltoimage...
--2018-06-29 12:41:39-- https://assets.nagios.com/downloads/nag ... x86_64.rpm
Resolving assets.nagios.com... 72.14.181.71, 2600
Connecting to assets.nagios.com|72.14.181.71|:443...
Re: XI 5.5 bug?
scottwilkerson wrote:sorry, could you run these back to backAlso, do let us know if the upgrade completed sucessfullyCode: Select all
rpm -q Ajaxterm echo $?
[root@nagiosxit nagiosxi]# rpm -q Ajaxterm
package Ajaxterm is not installed
[root@nagiosxit nagiosxi]# echo $?
1
[root@nagiosxit nagiosxi]#
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: XI 5.5 bug?
Thanks.