Cannot adopt OID in UCD-SNMP-MIB:
Cannot adopt OID in LM-SENSORS-MIB: lmTempSensorsValue
#運行PHP遇到這些錯誤怎麼辦?安裝兩個軟體就行!
他們分別是:getcomposer和snmp-mibs-downloader
下載:curl -sS https://getcomposer.org/installer | php
安裝:/usr/bin/php composer.phar --version
環境變數:mv composer.phar /usr/local/bin/composer
apt-get install snmp-mibs-downloader
Cannot adopt OID in SQUID-MIB: cacheClients ::= { cacheProtoAggregateStats 15 } Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 } Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 } Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 } Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 } Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 } Cannot adopt OID in UCD-SNMP-MIB: laConfig ::= { laEntry 4 } Cannot adopt OID in UCD-SNMP-MIB: laLoadInt ::= { laEntry 5 } Cannot adopt OID in UCD-SNMP-MIB: laLoadFloat ::= { laEntry 6 } Cannot adopt OID in UCD-SNMP-MIB: laErrorFlag ::= { laEntry 100 } Cannot adopt OID in UCD-SNMP-MIB: laErrMessage ::= { laEntry 101 } Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 } Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 } Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
以上是報錯Cannot adopt OID in UCD-SNMP-MIB、 LM-SENSORS-MIB在PHP中解決方法的詳細內容。更多資訊請關注PHP中文網其他相關文章!