Neither ./validate.php or lnms commands doesn't work

I am trying to install a distributed poller in a remote Point of Presence and I don’t get any output from either “./validate.php” or any lnms command. I have reinstalled LibreNMS multiple times on this poller manual and with Ansible. No issues with other remote pollers in other PoPs, deployed with the same Ansible.
I hope that you could help me out on this one.

sudo ln -s /opt/librenms/lnms /usr/bin/lnms
sudo cp /opt/librenms/misc/lnms-completion.bash /etc/bash_completion.d/
ln: failed to create symbolic link '/usr/bin/lnms': File exists

I have looked into this issue today and saw, that when I renamed my .env file to something else, ./validate.php was working and trowing an error that it couldn’t connect to the database. After I checked the firewall and reinstated the .env file, everything is working fine now.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.