./validate.php
Component |
Version |
LibreNMS |
1.43-82-gcf31776 |
DB Schema |
? |
PHP |
7.0.9 |
MySQL |
? |
RRDTool |
1.4.8 |
SNMP |
NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[FAIL] Error connecting to your database.
[FAIL] Missing PHP extension: mysqlnd
[FIX] Please install mysqlnd
[FAIL] Missing PHP extension: mbstring
[FIX] Please install mbstring
[WARN] Could not check poller/discovery, db is not connected.
[WARN] Your install is over 24 hours out of date, last update: Sun, 16 Sep 2018 17:23:12 +0000
[FIX] Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
[FIX] chown -R librenms:librenms /opt/librenms
Files:
/opt/librenms/html/plugins/Weathermap/configs
/opt/librenms/html/plugins/Weathermap/configs/testing.conf
[FAIL] The log folder has improper permissions.
[FIX] chmod ug+rw /opt/librenms/logs
[FAIL] The bootstrap folder has improper permissions.
[FIX] chmod ug+rw /opt/librenms/bootstrap/cache/
[FAIL] The storage folder has improper permissions.
[FIX] chmod ug+rw /opt/librenms/storage/
[FAIL] The cache folder has improper permissions.
[FIX] chmod ug+rw /opt/librenms/storage/framework/cache/
[FAIL] The sessions folder has improper permissions.
[FIX] chmod ug+rw /opt/librenms/storage/framework/sessions/
[FAIL] The views folder has improper permissions.
[FIX] chmod ug+rw /opt/librenms/storage/framework/views/
Applied the fixes as in the validate script output so now left with this;
Component |
Version |
LibreNMS |
1.43-82-gcf31776 |
DB Schema |
? |
PHP |
7.0.31 |
MySQL |
? |
RRDTool |
1.4.8 |
SNMP |
NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[FAIL] Error connecting to your database.
[FAIL] Missing PHP extension: mysqlnd
[FIX] Please install mysqlnd
[WARN] Could not check poller/discovery, db is not connected.
[WARN] Your install is over 24 hours out of date, last update: Sun, 16 Sep 2018 17:23:12 +0000
[FIX] Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[[email protected] librenms]# yum search mysqlnd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
- base: mirrors.ges.net.pk
- epel: mirror.nes.co.id
- extras: mirrors.ges.net.pk
- updates: mirrors.ges.net.pk
- webtatic: sp.repo.webtatic.com
============================================================================================== N/S matched: mysqlnd ===============================================================================================
php-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
php55w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
php56w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
php70w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
php71w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
php72w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
Name and summary matches only, use “search all” for everything.
[[email protected] librenms]# yum install php-mysqlnd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
- base: mirrors.ges.net.pk
- epel: epel.mirror.angkasa.id
- extras: mirrors.ges.net.pk
- updates: mirrors.ges.net.pk
- webtatic: sp.repo.webtatic.com
Resolving Dependencies
–> Running transaction check
—> Package php-mysqlnd.x86_64 0:5.4.16-45.el7 will be installed
–> Processing Dependency: php-pdo(x86-64) = 5.4.16-45.el7 for package: php-mysqlnd-5.4.16-45.el7.x86_64
–> Running transaction check
—> Package php-pdo.x86_64 0:5.4.16-45.el7 will be installed
–> Processing Dependency: php-common(x86-64) = 5.4.16-45.el7 for package: php-pdo-5.4.16-45.el7.x86_64
–> Running transaction check
—> Package php-common.x86_64 0:5.4.16-45.el7 will be installed
–> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-45.el7.x86_64
–> Running transaction check
—> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
–> Processing Conflict: php70w-common-7.0.31-1.w7.x86_64 conflicts php-common < 7.0
–> Finished Dependency Resolution
Error: php70w-common conflicts with php-common-5.4.16-45.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
any idea what’s going on?