NagiosXI not starting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Aldo Lanfranconi
Posts: 22
Joined: Fri Jan 29, 2021 12:06 pm

NagiosXI not starting

Post by Aldo Lanfranconi »

Hello, Our NagiosXI is showing the following error when try to access login page:

"Databse Error
A database connection error has been detected, please follow the repair prompt below. If the issue persists, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB:

/usr/local/nagiosxi/scripts/repair_databases.sh"

I did try to execute the script, but on une of the last steps got an error --> "starting mysqld: ´[FAILED]"

also try to reboot.

Please Help
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NagiosXI not starting

Post by dchurch »

I'll assume you have root access to the machine running Nagios XI?

Can you please paste the full output from the following 2 commands (run as root):

Code: Select all

service mariadb status
service mysql status
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Aldo Lanfranconi
Posts: 22
Joined: Fri Jan 29, 2021 12:06 pm

Re: NagiosXI not starting

Post by Aldo Lanfranconi »

Hi, yes, I have root access from the console.

I got "unrecognized service" when running both commands
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NagiosXI not starting

Post by dchurch »

Are you using an offloaded database?

Can you log into that server and run the command to repair the database?:

Code: Select all

mysqlcheck -u[database user] -p[database password] --repair --all-databases
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Aldo Lanfranconi
Posts: 22
Joined: Fri Jan 29, 2021 12:06 pm

Re: NagiosXI not starting

Post by Aldo Lanfranconi »

Are you using an offloaded database?

No, I´m not.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NagiosXI not starting

Post by dchurch »

What Linux distro are you running? How did you install Nagios XI (download an OVA, install via yum, install via manual install)?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Aldo Lanfranconi
Posts: 22
Joined: Fri Jan 29, 2021 12:06 pm

Re: NagiosXI not starting

Post by Aldo Lanfranconi »

Hello, I did install froma an OVA to VMware

Linux version 2.6.36-643.1.1.e16.x86_64
CentOS 6.8 (final)
Sin título.jpg
Anotación.png
You do not have the required permissions to view the files attached to this post.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NagiosXI not starting

Post by dchurch »

Run the following command as root and post the entire output:

Code: Select all

/etc/init.d/mysqld stop
/etc/init.d/mysqld start
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Aldo Lanfranconi
Posts: 22
Joined: Fri Jan 29, 2021 12:06 pm

Re: NagiosXI not starting

Post by Aldo Lanfranconi »

see attached capture
Anotación 2021-02-03 155304.png
You do not have the required permissions to view the files attached to this post.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NagiosXI not starting

Post by dchurch »

What's the output from the following commands:

Code: Select all

/etc/init.d/mysqld start
tail -50 /var/log/messages
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked