Error connecting to your database. Access denied for ‘USERNAME’@‘localhost’ (using password: YES)
fping could not be executed. fping must have CAP_NET_RAW capability (getcap) or suid. Selimux exclusions may be required.
(bash: 1: command not found)
fping should have CAP_NET_RAW!
fping6 could not be executed. fping must have CAP_NET_RAW capability (getcap) or suid. Selimux exclusions may be required.
(bash: 1: command not found)
fping6 should have CAP_NET_RAW!
I’m very new to Ubuntu server and librenms, so really don’t know what to do. I googled but couldn’t find anything really.
I can’t access the web client at the moment either.
I restarted my Apache, after that I went to the IP in a webbrowser and got the following error again:
MySQL Error
Access denied for user ‘librenms’@‘localhost’ (using password: YES)
I tried to use:
/validate.php
And I got the same problems all over again, yesterday it was fixed when i updated the php file, the php file looked fine.
The problem is… when I wanted to access the mariadb server I couldn’t access it.
I got the following error:
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
I didn’t change my password or anything. I did research on google on this error. Some said open sudo safe_mysql (but that command was not found), I reinstalled mariadb-server & mariadb-client and I reinstalled mysql & dbconfig-mysql. I also tried sudo dpkg-reconfigure mariadb-server
I kinda feel hopeless right now because I really don’t know what to do anymore.
You’ve set the wrong mysql details in config.php or when you setup the mysql user. The fact you can’t access mysql anymore is worrying, I’d remove mysql, remove /var/lib/mysql if you don’t have any data you need and re-install it, rm config.php and then go through the install again.
I did set everything right in the config.php file and in the mysql user. However when I want to access mysql it says ERROR 1045 Access denied as ‘root’@‘localhost’. I tried as you said to remove mysql and reinstall it, but I still have this problem…
No, other than what laf recommend doing removing MySQL completely and start back over. When you get the Database part of the install double check that you are setting the correct username and password.
I was able after reinstalling mysql a few times to configure the db server again. After I configured I used the command ./validate and got no errors, everything was ok.
When I went to the webui, I wanted to login with the username and password what was set in the php file and the mariadb-server. But I get the error incorrect credentials, I’m pretty sure that I entered it correctly.
Any tips?
It feels like when I get out of 1 error I fall into a new one all the time, which is kinda sad