failure to login after run upgrade to latest version

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
KPham
Posts: 12
Joined: Wed Aug 27, 2014 1:07 pm

failure to login after run upgrade to latest version

Post by KPham »

hello Tech support,
i am not able to login after ran upgrade to the latest version (5.2.6 to 5.2.7)
please i really need someone to help me take a look at this issue
i following the instruction to run the command cli to repair the database mysql and it showing error
You do not have the required permissions to view the files attached to this post.
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: failure to login after run upgrade to latest version

Post by bheden »

What operating system are you on?

I'm going to assume you're on CentOS, but if you aren't, please adjust the following lines to fit your operating system..

Can we see the output of:

Code: Select all

cat /var/log/mysqld.log

Code: Select all

service mysqld restart

Code: Select all

cat /etc/my.cnf
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
KPham
Posts: 12
Joined: Wed Aug 27, 2014 1:07 pm

Re: failure to login after run upgrade to latest version

Post by KPham »

the Nagiosxi currently running on VMWare esxi 5.5
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: failure to login after run upgrade to latest version

Post by rkennedy »

What OS is the virtual machine running on? Can you please show us the output of the 3 commands mentioned above?
Former Nagios Employee
KPham
Posts: 12
Joined: Wed Aug 27, 2014 1:07 pm

Re: failure to login after run upgrade to latest version

Post by KPham »

i am using Nagiosxi template image (CentOS)
after run the command showing run out of space
i am not sure the logs was increased causing running out of space?
i already increased double space from 200GB to 500GB
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: failure to login after run upgrade to latest version

Post by rkennedy »

Looks like your out of space. There was an issue with a debug file filling up in 5.2.6. Please run rm /tmp/xisupport.debug.log and attempt to start SQL. It should now work.

If not, please post the output of df -H
Former Nagios Employee
KPham
Posts: 12
Joined: Wed Aug 27, 2014 1:07 pm

Re: failure to login after run upgrade to latest version

Post by KPham »

i can restart mysqld service without error
but i am still unable to login

i run this command without error /usr/local/nagiosxi/scripts/repair_databases.sh
but still unable to login
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: failure to login after run upgrade to latest version

Post by rkennedy »

Did you run the commands I mentioned above? We'll need the output of df -H and ls -l /tmp/.
Former Nagios Employee
KPham
Posts: 12
Joined: Wed Aug 27, 2014 1:07 pm

Re: failure to login after run upgrade to latest version

Post by KPham »

the issue is fixed now after i rebooted the server

thank you so much for your help and supporting


Kevin
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: failure to login after run upgrade to latest version

Post by rkennedy »

No problem, it took seeing the output to see what was going on.

Closing this one out, but feel free to make a new thread if you have any questions in the future.
Former Nagios Employee
Locked