Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status auditd.service' for details.
Received this error while trying to access LibreNMS in web browser.
Error: Missing dependencies! Run the following command to fix:
./scripts/composer_wrapper.php install –no-dev
Tried sshing into the LibreNMS server and running the script, but that didn’t fix the issue.
Ran ./validate.php and it came up with the some of the following errors.
[FAIL] Missing PHP extension: mbstring
[FIX] Please install mbstring
[FAIL] The poller (localhost.localdomain) has not completed within the last 5 minutes, check the cron job.
[WARN] Your install is over 24 hours out of date, last update: Thu, 7 May 2018 19:18:35 +0000
[FIX] Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
Installed mbstring. You may need to change the number if yum is complaining about package conflicts. Use “yum search mbstring” to show all the versions available.
yum install php71w-mbstring
Ran ./validate.php again and it wanted this script run
You would typically use this along with the systems firewall to allow a port through. Guide for firewalld and iptables. If you change it in the firewall and fail to add/edit it in semanage you can potentially get weird behavior like sshd not wanting to start after changing the port.
semanage port -a -t ssh_port_t -p tcp 2222
The above command allows the sshd service to start, using port 2222.