error when running ./discovery.php -u
After doing an svn update, if I run ./discovery.php -u I get this error.
PHP Fatal error: require(): Failed opening required '/root/observium/config.php' (include_path='.:/usr/share/php') in /root/observium/includes/sql-config.inc.php on line 25
root@observium ~/observium# ./discovery.php -u MIB search path: /opt/observium/mibs Cannot find module (SNMPv2-MIB): At line 1 in (none) Cannot find module (IF-MIB): At line 1 in (none) Cannot find module (IP-MIB): At line 1 in (none) Cannot find module (TCP-MIB): At line 1 in (none) Cannot find module (UDP-MIB): At line 1 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 1 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 1 in (none) Cannot find module (MTA-MIB): At line 1 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none) Cannot find module (UCD-DISKIO-MIB): At line 1 in (none) Cannot find module (UCD-DLMOD-MIB): At line 1 in (none) Cannot find module (LM-SENSORS-MIB): At line 1 in (none) Cannot find module (UCD-SNMP-MIB): At line 1 in (none) Cannot find module (UCD-DEMO-MIB): At line 1 in (none) Cannot find module (SNMP-TARGET-MIB): At line 1 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none) Cannot find module (SNMP-MPD-MIB): At line 1 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 1 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 1 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 1 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 1 in (none) Cannot find module (IPV6-ICMP-MIB): At line 1 in (none) Cannot find module (IPV6-MIB): At line 1 in (none) Cannot find module (IPV6-TCP-MIB): At line 1 in (none) Cannot find module (IPV6-UDP-MIB): At line 1 in (none) Cannot find module (IP-FORWARD-MIB): At line 1 in (none) Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 1 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 1 in (none) Cannot find module (SNMPv2-TM): At line 1 in (none) Cannot find module (NET-SNMP-VACM-MIB): At line 1 in (none) PHP Fatal error: require(): Failed opening required '/root/observium/config.php' (include_path='.:/usr/share/php') in /root/observium/includes/sql-config.inc.php on line 25
On Fri, Mar 31, 2023 at 11:58 AM Fred Sharpsteen sharpstf@gmail.com wrote:
After doing an svn update, if I run ./discovery.php -u I get this error.
PHP Fatal error: require(): Failed opening required '/root/observium/config.php' (include_path='.:/usr/share/php') in /root/observium/includes/sql-config.inc.php on line 25
Tried again, and it looks like it is working fine now.
[image: image.png]
On Fri, Mar 31, 2023 at 12:02 PM Fred Sharpsteen sharpstf@gmail.com wrote:
root@observium ~/observium# ./discovery.php -u MIB search path: /opt/observium/mibs Cannot find module (SNMPv2-MIB): At line 1 in (none) Cannot find module (IF-MIB): At line 1 in (none) Cannot find module (IP-MIB): At line 1 in (none) Cannot find module (TCP-MIB): At line 1 in (none) Cannot find module (UDP-MIB): At line 1 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 1 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 1 in (none) Cannot find module (MTA-MIB): At line 1 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none) Cannot find module (UCD-DISKIO-MIB): At line 1 in (none) Cannot find module (UCD-DLMOD-MIB): At line 1 in (none) Cannot find module (LM-SENSORS-MIB): At line 1 in (none) Cannot find module (UCD-SNMP-MIB): At line 1 in (none) Cannot find module (UCD-DEMO-MIB): At line 1 in (none) Cannot find module (SNMP-TARGET-MIB): At line 1 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none) Cannot find module (SNMP-MPD-MIB): At line 1 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 1 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 1 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 1 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 1 in (none) Cannot find module (IPV6-ICMP-MIB): At line 1 in (none) Cannot find module (IPV6-MIB): At line 1 in (none) Cannot find module (IPV6-TCP-MIB): At line 1 in (none) Cannot find module (IPV6-UDP-MIB): At line 1 in (none) Cannot find module (IP-FORWARD-MIB): At line 1 in (none) Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 1 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 1 in (none) Cannot find module (SNMPv2-TM): At line 1 in (none) Cannot find module (NET-SNMP-VACM-MIB): At line 1 in (none) PHP Fatal error: require(): Failed opening required '/root/observium/config.php' (include_path='.:/usr/share/php') in /root/observium/includes/sql-config.inc.php on line 25
On Fri, Mar 31, 2023 at 11:58 AM Fred Sharpsteen sharpstf@gmail.com wrote:
After doing an svn update, if I run ./discovery.php -u I get this error.
PHP Fatal error: require(): Failed opening required '/root/observium/config.php' (include_path='.:/usr/share/php') in /root/observium/includes/sql-config.inc.php on line 25
install using the install guide or the install script and it'll work.
don't try to report "bugs" on broken installations.
Thanks, adam.
Fred Sharpsteen via observium wrote on 31/03/2023 16:58:
After doing an svn update, if I run ./discovery.php -u I get this error.
PHP Fatal error: require(): Failed opening required '/root/observium/config.php' (include_path='.:/usr/share/php') in /root/observium/includes/sql-config.inc.php on line 25
observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org
participants (2)
-
Adam Armstrong
-
Fred Sharpsteen