New to Linux, even newer to librenms and got some issues - I have installed it on Linux Mint Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy.
It was working - I could login and see the webui , however I rebooted my laptop and now I get to the webui login page, login but then get an “error 404 - page not found”.
I would include the output from ./validate.php but dont know where to run it from.
Go easy on me - I’m 60 and this is my first foray into Linux and this type of NMS.
So you have to run
./validate.php within what’s called a shell, usually via SSH.
If you’ve got access to the console for the Linux Mint install then as the user root (if you are logged in as your own user then do
sudo -i first, it might ask you to type in your password):
su - librenms
Then you can paste the output.
Alternatively what’s the full URL you are going to in a browser? If it’s got something after the
http://192.168.1.1/install then remove
/install and try again.
Not sure if I have done it right but this is what I get
oot@highlands:/home/sbdawson# su - librenms ./validate.php
./validate.php: line 2: ?php: No such file or directory
./validate.php: line 4: /bin: Is a directory
./validate.php: line 5: addhost.php: command not found
./validate.php: line 6: addhost.php: command not found
./validate.php: line 7: syntax error near unexpected token
(' ./validate.php: line 7: * Copyright (c) 2014 Neil Lathwood <laf (Neil Lathwood) · GitHub http://www.lathwood.co.uk/fa>’
Okay so it does load as long as I use a fqdn on its own http://myserver.co.nz (no ‘/librenms’ on the end)
Onto the next issue - Ill make a seperate post for that.