Fresh install stuck at setting up database.

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
shockme
Posts: 3
Joined: Fri Apr 10, 2015 1:12 pm

Fresh install stuck at setting up database.

Post by shockme »

I'm installing Nagios Log Server on CentOs Minimal newest version. Everything seems to install, I get the web page where I add the users and pick if its trial or I have a license. Once I click next it takes me to a screen that says "Setting up Database" that refreshes every 5 seconds. This is where the server stays, I even let it sit there over night no change. If I restart the server and access the website it looks like its finished and wants me to log in. Problem is that it does not recognize the user that I setup in the first place.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Fresh install stuck at setting up database.

Post by jolson »

My first guess is that you have selinux enabled, which can cause all sorts of strange things to happen:

Code: Select all

sestatus
If selinux is enabled, please disable it and attempt to login once more. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
shockme
Posts: 3
Joined: Fri Apr 10, 2015 1:12 pm

Re: Fresh install stuck at setting up database.

Post by shockme »

Selinux status: disabled

However I just did a rollback to before I installed Nagios Log Server and it is enabled. I'm going to disable it and reinstall Nagios Log Server and see what happens.
Last edited by shockme on Wed Apr 15, 2015 9:24 am, edited 1 time in total.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Fresh install stuck at setting up database.

Post by jolson »

Can you show me your command history please? Maybe there was a mistyped command or similar?

Code: Select all

history
Could you also show me your version information:

Code: Select all

cat /etc/*release* && uname -a
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
shockme
Posts: 3
Joined: Fri Apr 10, 2015 1:12 pm

Re: Fresh install stuck at setting up database.

Post by shockme »

jolson - disabling selinux before installing Nagios Log Server was the ticket. Thank you for your help!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Fresh install stuck at setting up database.

Post by jolson »

No problem, glad you got it working. I'll lock this thread - please feel free to open another if you have additional questions or issues. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked