receiving thei error
DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed
When trying to connect to nagiosxi
I have retarted nagios httpd and mysql and postgres no luck
df -h shows
tmpfs 7.9G 0 7.9G 0% /dev/shm full
so I tried another article
http://support.nagios.com/forum/viewtop ... nect+Error
on the forum that said to run the following
cp /usr/share/logwatch/default.conf/logwatch.conf to /etc/logwatch/conf/logwatch.conf
no luck
I am one version behind right now but cant give the specific nagiosxi can t get into gui
DB Connect Error [nagiosxi]: Database connection failed DB C
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DB Connect Error [nagiosxi]: Database connection failed
This is only a partial output, it should look likerdhall01 wrote:df -h shows
tmpfs 7.9G 0 7.9G 0% /dev/shm full
Code: Select all
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
12G 6.8G 4.1G 63% /
tmpfs 947M 0 947M 0% /dev/shmRe: DB Connect Error [nagiosxi]: Database connection failed
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
49G 22G 25G 47% /
/dev/sda1 145M 20M 118M 15% /boot
tmpfs 7.9G 0 7.9G 0% /dev/shm
/root/rhel-server-5.7-x86_64-dvd.iso
3.6G 3.6G 0 100% /mnt/cdrom
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
49G 22G 25G 47% /
/dev/sda1 145M 20M 118M 15% /boot
tmpfs 7.9G 0 7.9G 0% /dev/shm
/root/rhel-server-5.7-x86_64-dvd.iso
3.6G 3.6G 0 100% /mnt/cdrom
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DB Connect Error [nagiosxi]: Database connection failed
doesn't look like the root partition is full, lets check the inodes
If these aren't full lets try to restart postgresql
Code: Select all
df -iCode: Select all
service postgresql restartRe: DB Connect Error [nagiosxi]: Database connection failed
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
13107200 147716 12959484 2% /
/dev/sda1 38152 40 38112 1% /boot
tmpfs 2054903 1 2054902 1% /dev/shm
/root/rhel-server-5.7-x86_64-dvd.iso
0 0 0 - /mnt/cdrom
tmpfs 2054903 1 2054902 1% /dev/shm
service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
still get the DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed while trying to get into the gui
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
13107200 147716 12959484 2% /
/dev/sda1 38152 40 38112 1% /boot
tmpfs 2054903 1 2054902 1% /dev/shm
/root/rhel-server-5.7-x86_64-dvd.iso
0 0 0 - /mnt/cdrom
tmpfs 2054903 1 2054902 1% /dev/shm
service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
still get the DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed while trying to get into the gui
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: DB Connect Error [nagiosxi]: Database connection failed
Thanks for the response, closing this thread as you have a ticket in with lmiltchev.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.