Data Base Error
Data Base Error
My trial license expired, I got a 30 day extension from Sales Department. After I applied 30 day license extension I could not see any of my configured servers in Nagios.
I restarted Nagios (Linux) server, but after the reboot I get "Database connection failed DB Connect Error [nagiosxi]" in my browser.
Can I get help on this please, I an evaluating for some of our customers but I can not do the last tests.
Thanks,
Gus G
I restarted Nagios (Linux) server, but after the reboot I get "Database connection failed DB Connect Error [nagiosxi]" in my browser.
Can I get help on this please, I an evaluating for some of our customers but I can not do the last tests.
Thanks,
Gus G
Re: Data Base Error
Is selinux enabled?
Open up a terminal to the XI box, and run:
Post the output here.
Open up a terminal to the XI box, and run:
Code: Select all
getenforceFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Data Base Error
Next, is postgres running?
If it is, you may have to fix your db:
http://support.nagios.com/wiki/index.ph ... .22_in_log
Code: Select all
service postgresql statushttp://support.nagios.com/wiki/index.ph ... .22_in_log
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Data Base Error
No, postregs is not running.
Do I need to fix my DB?
Thanks,
Gus G.
Do I need to fix my DB?
Thanks,
Gus G.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Data Base Error
You can start postgresql with
However, it could be stopped because the drive is full, I would run the following to check
Code: Select all
service postgresql startCode: Select all
df -h
df -iRe: Data Base Error
I tried to start DB but it fails.
I am running Nagios as a virtual server, I expanded HD space to make sure I have enough to run Nagios, but it is still failing.
frustrating, I had all my servers set up and working, all I needed was screen shoots of my configuration to show to our customers.
Thanks
I am running Nagios as a virtual server, I expanded HD space to make sure I have enough to run Nagios, but it is still failing.
frustrating, I had all my servers set up and working, all I needed was screen shoots of my configuration to show to our customers.
Thanks
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Data Base Error
What is the exact error you receive when trying to start postgres? Don't worry this is not the end of the world, we should be able to get your install up and running again.
Re: Data Base Error
Starting postgresql service: [FAILED]
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Data Base Error
again can you run
and post the output
Code: Select all
df -h
df -i