Can't log into the webpage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Can't log into the webpage

Post by BanditBBS »

ancovington wrote:That can't be true. I partitioned the drive to have a 40G hard drive.
Yes, but if you used the image supplied by Nagios, then that is the default space, you actually have to expand the / partition. There is a document somewhere on how to do that. I'll try and find it.

Not sure this is still good, can someone from Nagios confirm - http://assets.nagios.com/downloads/nagi ... M_Disk.pdf
Last edited by BanditBBS on Thu Jan 30, 2014 1:32 pm, edited 1 time in total.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
ancovington
Posts: 175
Joined: Fri Sep 13, 2013 1:32 pm

Re: Can't log into the webpage

Post by ancovington »

Ok, thank you. Is that document on their site?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Can't log into the webpage

Post by tmcdonald »

Since you have a LVM in place you will probably need to resize the volume.

http://www.ibm.com/developerworks/linux ... index.html

It's pretty painless, just make sure you do backups first. A VM snapshot should do it.
Former Nagios employee
ancovington
Posts: 175
Joined: Fri Sep 13, 2013 1:32 pm

Re: Can't log into the webpage

Post by ancovington »

Thank you for your help. I am able to log in now. I followed the directions to increase the LVM, but it is still showing the following:

[root@nagios ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
7.5G 7.1G 12M 100% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
/dev/sda1 485M 50M 410M 11% /boot
[root@nagios ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
494832 95274 399558 20% /
tmpfs 2041672 1 2041671 1% /dev/shm
/dev/sda1 128016 44 127972 1% /boot
[root@nagios ~]#
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Can't log into the webpage

Post by tmcdonald »

Did you run the resizefs as well? You might have expanded the LVM itself but not the filesystem. Though I would expect that if you did this you would still be unable to log in.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Can't log into the webpage

Post by BanditBBS »

Looks like to me it hasn't been resized. Looks like somehow 12 MEG became available which is just enough for things to seem to work.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
ancovington
Posts: 175
Joined: Fri Sep 13, 2013 1:32 pm

Re: Can't log into the webpage

Post by ancovington »

Yes I have run resize2fs command, but reiserfs or the rest of the steps because it wouldn't let me.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't log into the webpage

Post by lmiltchev »

I've seen users copying/pasting the commands from the document:

Code: Select all

lvresize /dev/mapper/VolGroup00-LogVol00 /dev/sda2
and

Code: Select all

resize2fs /dev/mapper/VolGroup00-LogVol00
This is just an example. You should probably substitute the "VolGroup00-LogVol00" with "VolGroup-lv_root" in your commands, since you have:

Code: Select all

/dev/mapper/VolGroup-lv_root
Please, backup before you do anything!
Be sure to check out our Knowledgebase for helpful articles and solutions!
ancovington
Posts: 175
Joined: Fri Sep 13, 2013 1:32 pm

Re: Can't log into the webpage

Post by ancovington »

Yes, I have been substituting with the correctly. Is this the output it should have:

[root@nagios ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
37G 7.1G 29G 21% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
/dev/sda1 485M 50M 410M 11% /boot
/dev/mapper/VolGroup-lv_root
37G 7.1G 29G 21% /home
[root@nagios ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
2441712 95927 2345785 4% /
tmpfs 2041672 1 2041671 1% /dev/shm
/dev/sda1 128016 44 127972 1% /boot
/dev/mapper/VolGroup-lv_root
2441712 95927 2345785 4% /home
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't log into the webpage

Post by lmiltchev »

It looks much better now. :) Let me know if you want me to keep this topic still open for a while, or I can lock it as "resolved". Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked