[ZBX-15824] [Z3005] query failed: [-1] ORA-24373: invalid length specified for statement [] Created: 2019 Mar 15 Updated: 2019 Mar 15 Resolved: 2019 Mar 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P) |
Affects Version/s: | 4.0.5 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Blocker |
Reporter: | romeo | Assignee: | Zabbix Support Team |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
zabbix4.0.5 oracle12.2.0.1 rhel 7.4 |
Attachments: | zabbix_proxy.conf zabbix_proxy.log | ||||||||
Issue Links: |
|
Description |
Hello, I encountered a problem when start zabbix proxy . error info is : 28521:20190315:131022.668 End of get_data_from_server():SUCCEED 28521:20190315:131022.668 received configuration data from server at "192.168.200.228", datalen 19009 28521:20190315:131022.668 In process_proxyconfig() 28521:20190315:131022.668 In process_proxyconfig_table() table:'globalmacro' 28521:20190315:131022.668 query [txnlev:1] [select globalmacroid,macro,value from globalmacro] zabbix_proxy [28521]: ERROR [file:db.c,line:1568] Something impossible has just happened. 28521:20190315:131022.671 === Backtrace: === 28521:20190315:131022.672 10: ./zabbix_proxy: configuration syncer [loading configuration](zbx_backtrace+0x2b) [0x48df1b] 28521:20190315:131022.672 9: ./zabbix_proxy: configuration syncer [loading configuration](DBexecute_overflowed_sql+0x93) [0x4bdc33] 28521:20190315:131022.672 8: ./zabbix_proxy: configuration syncer [loading configuration](process_proxyconfig+0x1772) [0x4c4022] 28521:20190315:131022.672 7: ./zabbix_proxy: configuration syncer [loading configuration]() [0x427154] 28521:20190315:131022.672 6: ./zabbix_proxy: configuration syncer [loading configuration](proxyconfig_thread+0xc9) [0x427369] 28521:20190315:131022.672 5: ./zabbix_proxy: configuration syncer [loading configuration](zbx_thread_start+0x3e) [0x49087e] 28521:20190315:131022.672 4: ./zabbix_proxy: configuration syncer [loading configuration](MAIN_ZABBIX_ENTRY+0x561) [0x421861] 28521:20190315:131022.672 3: ./zabbix_proxy: configuration syncer [loading configuration](daemon_start+0x1a5) [0x48da35] 28521:20190315:131022.672 2: ./zabbix_proxy: configuration syncer [loading configuration](main+0x50d) [0x4209bd] 28521:20190315:131022.672 1: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd79a1f8c05] 28521:20190315:131022.673 0: ./zabbix_proxy: configuration syncer [loading configuration]() [0x420f30] 28521:20190315:131022.673 query [txnlev:1] [] 28521:20190315:131022.673 [Z3005] query failed: [-1] ORA-24373: invalid length specified for statement [] 28521:20190315:131022.673 query [] failed, setting transaction as failed 28521:20190315:131022.673 End of process_proxyconfig_table():FAIL 28521:20190315:131022.674 failed to update local proxy configuration copy: database error 28521:20190315:131022.674 End of process_proxyconfig() 28521:20190315:131022.674 End of process_configuration_sync() 28521:20190315:131022.674 __zbx_zbx_setproctitle() title:'configuration syncer [synced config 19009 bytes in 0.031196 sec, idle 60 sec]' please give some help, thanks very much... |
Comments |
Comment by Edgar Akhmetshin [ 2019 Mar 15 ] |
Hello Romeo, Could you attach the following information:
Regards, |
Comment by romeo [ 2019 Mar 15 ] |
which version of the Oracle database used; oracle 12.2.0.1 operating system used and it's version; redhat 7.4 x86_64 Red Hat Enterprise Linux Server release 7.4 (Maipo) configure and compile options for the Zabbix Proxy; complie optins: ./configure --prefix=/usr/local/zabbix-4.0.5/ --enable-server --enable-agent --enable-proxy --enable-java --with-unixodbc --with-oracle=/home/oracle/app/oracle/product/12.2.0.1/client_1 --with-net-snmp --with-openipmi --with-ssh2 --with-libcurl --with-libxml2 --with-jabber=/usr/local/libiksemel --with-ldap --enable-ipv6 configure file see the attachment encoding used for the Proxy database, for example: PARAMETER ---------------------------------------------------------------- VALUE ---------------------------------------------------------------- NLS_CHARACTERSET AL32UTF8 NLS_NCHAR_CHARACTERSET AL16UTF16 |
Comment by Edgar Akhmetshin [ 2019 Mar 15 ] |
Romeo, Encoding must be UTF-8. The required encoding is specified in the documentation for all versions: database creation steps. Please, set accordingly and try again. Regards, |
Comment by romeo [ 2019 Mar 15 ] |
Hi, I recreate DataBase set Encoding to UTF-8 all of them: PARAMETER NLS_NCHAR_CHARACTERSET but zabbix proxy still throw the error info. |
Comment by Aigars Kadikis [ 2019 Mar 15 ] |
This is known bug in For the current situation, I would like to suggest to use 4.0.3 version for the proxy. I know it works well there. |
Comment by romeo [ 2019 Mar 15 ] |
[zabbix@zabbixproxy sbin]$ ldd zabbix_proxy |
Comment by romeo [ 2019 Mar 15 ] |
thanks very much, I will chose 4.0.3. |
Comment by romeo [ 2019 Mar 15 ] |
where can I download 4.0.3 source? |