Failed to start on AIX

Tags: AIX

#1 lipc

I'm using nxlog-ce-2.10.5 on AIX 6.5. Configure and make with default options. After building successfully, I tried to start nxlog with im_file and om_file, like the following:

<Input messages>
    Module  im_file
    File    "/home/logtest/*.log"
</Input>

<Output file>
    Module  om_file
    File    "/home/logtest/1.out"
</Output>

<Route messages_to_tcp>
    Path    messages => tcp
</Route>

But nxlog shows some error like this:

2018-07-16 08:45:16 ERROR Failed to load module from /usr/local/libexec/nxlog/modules/input/im_file.so, rtld: 0712-001 Symbol nx_assertion_failed was referenced;      from module /usr/local/libexec/nxlog/modules/input/im_file.so(), but a runtime definition;      of the symbol was not found.;rtld: 0712-001 Symbol nx_module_add_logdata_input was referenced;      from module /usr/local/libexec/nxlog/modules/input/im_file.so(), but a runtime definition;      of the symbol was not found.;rtld: 0712-001 Symbol nx_log was referenced;      from module /usr/local/libexec/nxlog/modules/input/im_file.so(), but a runtim;DSO load failed
2018-07-16 08:45:16 ERROR Failed to load module from /usr/local/libexec/nxlog/modules/output/om_file.so, rtld: 0712-001 Symbol nx_assertion_failed was referenced;      from module /usr/local/libexec/nxlog/modules/output/om_file.so(), but a runtime definition;      of the symbol was not found.;rtld: 0712-001 Symbol nx_log was referenced;      from module /usr/local/libexec/nxlog/modules/output/om_file.so(), but a runtime definition;      of the symbol was not found.;rtld: 0712-001 Symbol nx_pool_create_child was referenced;      from module /usr/local/libexec/nxlog/modules/output/om_file.so(), but a runtime de;DSO load failed
2018-07-16 08:45:16 WARNING no functional input modules!
2018-07-16 08:45:16 ERROR module 'messages' is not declared at nxlog.conf:12
2018-07-16 08:45:16 ERROR module 'tcp' is not declared at nxlog.conf:12
2018-07-16 08:45:16 ERROR route messages_to_tcp is not functional without input modules, ignored at nxlog.conf:12
2018-07-16 08:45:16 WARNING no routes defined!
2018-07-16 08:45:16 INFO nxlog-ce-2.10.5 started

What did I miss?

#2 b0ti Nxlog ✓
#1 lipc
I'm using nxlog-ce-2.10.5 on AIX 6.5. Configure and make with default options. After building successfully, I tried to start nxlog with im_file and om_file, like the following: <Input messages> Module im_file File "/home/logtest/*.log" </Input> <Output file> Module om_file File "/home/logtest/1.out" </Output> <Route messages_to_tcp> Path messages => tcp </Route> But nxlog shows some error like this: 2018-07-16 08:45:16 ERROR Failed to load module from /usr/local/libexec/nxlog/modules/input/im_file.so, rtld: 0712-001 Symbol nx_assertion_failed was referenced; from module /usr/local/libexec/nxlog/modules/input/im_file.so(), but a runtime definition; of the symbol was not found.;rtld: 0712-001 Symbol nx_module_add_logdata_input was referenced; from module /usr/local/libexec/nxlog/modules/input/im_file.so(), but a runtime definition; of the symbol was not found.;rtld: 0712-001 Symbol nx_log was referenced; from module /usr/local/libexec/nxlog/modules/input/im_file.so(), but a runtim;DSO load failed 2018-07-16 08:45:16 ERROR Failed to load module from /usr/local/libexec/nxlog/modules/output/om_file.so, rtld: 0712-001 Symbol nx_assertion_failed was referenced; from module /usr/local/libexec/nxlog/modules/output/om_file.so(), but a runtime definition; of the symbol was not found.;rtld: 0712-001 Symbol nx_log was referenced; from module /usr/local/libexec/nxlog/modules/output/om_file.so(), but a runtime definition; of the symbol was not found.;rtld: 0712-001 Symbol nx_pool_create_child was referenced; from module /usr/local/libexec/nxlog/modules/output/om_file.so(), but a runtime de;DSO load failed 2018-07-16 08:45:16 WARNING no functional input modules! 2018-07-16 08:45:16 ERROR module 'messages' is not declared at nxlog.conf:12 2018-07-16 08:45:16 ERROR module 'tcp' is not declared at nxlog.conf:12 2018-07-16 08:45:16 ERROR route messages_to_tcp is not functional without input modules, ignored at nxlog.conf:12 2018-07-16 08:45:16 WARNING no routes defined! 2018-07-16 08:45:16 INFO nxlog-ce-2.10.5 started What did I miss?

What did I miss?

The news post about the release:

you should only attempt to build the source code on GNU/Linux from here on. Should you need to use NXLog on some other operating systems we'd encourage you to try the NXLog Enterprise Edition as it comes with pre-built binary packages for IBM AIX, FreeBSD, OpenBSD, Apple macOS and Oracle Solaris and it also supports a lot more data sources as it can read audit logs natively, supports file integrity monitoring and has dozens of other extra features.