Advertisement
Guest User

branto-librenms

a guest
Apr 29th, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 2.01 KB | None | 0 0
  1. [librenms@netmaster02 ~]$ ./validate.php
  2. ==========================================================
  3. Component | Version
  4. --------- | -------
  5. LibreNMS  | e7e5d51b3041b49f0e0af5a1a58b5ef6f0a94d50
  6. DB Schema | 187
  7. PHP       | 7.1.4
  8. MySQL     | 5.5.52-MariaDB
  9. RRDTool   | 1.4.8
  10. SNMP      | NET-SNMP 5.7.2
  11. ==========================================================
  12.  
  13. [OK]    Database connection successful
  14. [FAIL]  MySQL column collation is wrong:  [FIX] https://t.libren.ms/-zdwk
  15.      api_tokens description latin1 latin1_swedish_ci
  16. [FAIL]  Database: missing index (config/uniqueindex_configname)
  17. [FAIL]  Database: missing index (dbSchema/PRIMARY)
  18. [FAIL]  Database: incorrect index (ospf_areas/device_area)
  19. [FAIL]  Database: incorrect index (ospf_instances/device_id)
  20. [FAIL]  Database: incorrect index (ospf_nbrs/device_id)
  21. [FAIL]  Database: incorrect index (ospf_ports/device_id)
  22. [FAIL]  We have detected that your database schema may be wrong, please report the following to us on IRC or the community site (https://t.libren.ms/5gscd):
  23.      ALTER TABLE `config` ADD UNIQUE `uniqueindex_configname` (`config_name`);
  24.      ALTER TABLE `dbSchema` ADD PRIMARY KEY (`version`);
  25.      ALTER TABLE `ospf_areas` DROP INDEX `device_area`, UNIQUE `device_area` (`device_id`,`ospfAreaId`,`context_name`);
  26.      ALTER TABLE `ospf_instances` DROP INDEX `device_id`, UNIQUE `device_id` (`device_id`,`ospf_instance_id`,`context_name`);
  27.      ALTER TABLE `ospf_nbrs` DROP INDEX `device_id`, UNIQUE `device_id` (`device_id`,`ospf_nbr_id`,`context_name`);
  28.      ALTER TABLE `ospf_ports` DROP INDEX `device_id`, UNIQUE `device_id` (`device_id`,`ospf_port_id`,`context_name`);
  29. [FAIL]  The poller has not run in the last 5 minutes, check the cron job
  30.  
  31. [WARN]  Your local git contains modified files, this could prevent automatic updates.
  32. Modified files:
  33.      html/install.php
  34. [librenms@netmaster02 ~]$ mysql -p -u librenms librenms < /opt/librenms/sql-schema/171.sql
  35. Enter password:
  36. ERROR 1054 (42S22) at line 149: Unknown column 'twofactor' in 'users'
  37. [librenms@netmaster02 ~]$]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement