Not able to login to LibreNMS WebUI

Hello people.

i m a newbie concerning Linux, but since i found this tool i want to test/use it to monitoring our network. So please could someone help me with my issues.
First @ all, sorry for my english, but i will try my best.

I installed ubuntu 16.04 on Oracle VM Virtualbox, after that i followed these steps.
https://docs.librenms.org/#Installation/Installation-Ubuntu-1604-Apache/

After all, I m able to reach “only” on localhost or local ip the WebUI but im not able to login, It says : Login Error. Invalid credentials.

  • The output of ./validate.php
    ====================================
    Component | Version
    --------- | -------
    LibreNMS | 1.33-214-g0c36cd7
    DB Schema | 222
    PHP | 7.0.22-0ubuntu0.16.04.1
    MySQL | 10.0.31-MariaDB-0ubuntu0.16.04.2
    RRDTool | 1.5.5
    SNMP | NET-SNMP 5.7.3
    ====================================

[OK] Database connection successful
[OK] Database schema correct
[WARN] You have not added any devices yet.
[FIX] You can add a device in the webui or with ./addhost.php

Appreciate your help
Cris

Sounds like you are not using the right username and password you made during the install via the web ui.

You can add a user from the cli and then log in and reset the password to the account you made.

php adduser.php <name> <pass> 10 <email>

Hello
sorry, I was out of ofice few days.

…you made during the install via the web ui…
I was not able to install something via web ui :slightly_frowning_face:
I am not able to do this part of the documentation

Im also not able to acces this kind of address as set in librenms.conf
http:///install.php
But if i type “localhost” into firefox-addressbar on my VM, LibreNMS site comes up asking for user and pw. I tryed all user I created during entire installation, everyone was rejected.

plz help,
if any more information are needed, feel free

thanks

I would start back over with the Install doc you are missing import steps. Or use the VM images.

Hi Kevin,
ok, I will set up every thing from the begining again and will see if i am lucky.

I allready tried the VM image … without success. That was worse, I could not even set the config to pass through the ./validate.php skript.
Thats why I decided to install ubuntu first and than going on with the doc install instruccion.

Or is there a simple way to uninstall everything used by LibreNMS, like mysql and mariadb, some comands like drop database or something like that?
Would that be easy to do?

Because it takes long time to setup an ubuntu OS VM

Hi
I think I will close this topic.
I tried both 2 times, VM image and also installing ubuntu and following the installation doc.
Both without success.
Every step was done well till using the webinstaller, but I was not able to head to this step
https://docs.librenms.org/#Installation/Installation-Ubuntu-1604-Apache/#web-installer

In both cases, the ./validate.php script was successfull. But I never could access the mentioned WebInstaller http://<‘ServerName’>/install.php

I really would like to try/use LibreNMS.
At the moment I’m testing/using UNMS which one I installed without mayor problems under debian.

If i will find more time, i will dedicate my time keep trying to run LibreNMS, cause it seem to be a great tool.

Thx for your help

Are you able to get to the Web Installer from with in the server itself? like http://127.0.0.1/install.php if not then you didn’t configure the web server settings correctly.

Typing “localhost” in firefox on my VM, an LibreNMS page comes up, asking me for user and pw.
But it does not say:
Welcome to the LibreNMS install
Stage 0 of 6
(like I’ve seen in youtube videos)

I tried each user with corresponding pw which where stored in mariadb, but each one where rejected.
Also tried to use user and pw mentioned on
https://docs.librenms.org/#Installation/Ubuntu-image/#credentials

During the setup on the VM you cant get to http://locahost/install.php?

Hello Kevin
using the VM image, updating all packages and installing ubuntu-desktop,
finally I got access to localhost/WebUI using the credential mentioned here
https://docs.librenms.org/#Installation/Ubuntu-image/#credentials (WebUI)

Also I’m able to add devices.
I never head to this part http://localhost/install.php
It allready was installed.

For me it seems, this is using a server in the internet. Is that right?
Can I change the settings to set up my VM as server on our own network (intranet) only?

If you are using the VM image (already built) why would you need to get to install.php ?
Its already done for you

I know, I really would’t.
I just was really confused, because the first time WebUI did NOT accept the mentioned credentials, even though ./daily.sh and ./validate.php brought a positive result.

I am not able to access LibreNMS WebUI from another PC.
If I want to change the IP from the VM accordingly to our network (to be in same range),
what do I have to keep in mind to change?

Please sorry about possibly absurd questions. As allready mentioned, im new on linux.

I thought the VM image was on DHCP?