Page 1 of 1

Fresh install stuck at setting up database.

Posted: Wed Apr 15, 2015 6:40 am
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.

Re: Fresh install stuck at setting up database.

Posted: Wed Apr 15, 2015 9:12 am
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!

Re: Fresh install stuck at setting up database.

Posted: Wed Apr 15, 2015 9:15 am
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.

Re: Fresh install stuck at setting up database.

Posted: Wed Apr 15, 2015 9:24 am
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

Re: Fresh install stuck at setting up database.

Posted: Wed Apr 15, 2015 9:50 am
by shockme
jolson - disabling selinux before installing Nagios Log Server was the ticket. Thank you for your help!

Re: Fresh install stuck at setting up database.

Posted: Wed Apr 15, 2015 9:56 am
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!