[rsyslogd] Error 1

Forum for the RSyslog Windows Agent. Here you can ask all questions regarding installation, configuration or occuring problems.

Moderator: rgerhards

Google Ads


[rsyslogd] Error 1

Postby prozit » Sun Jul 30, 2017 3:47 pm

Hi,

I am trying to centralize network device loggings to a central rsyslog server.
However some of these devices still use rfc-3195, which can only be supported by rsyslog when built from source (as far as I could find).

It has taken me a lot of time already to try and foresee all necessary dependencies to get this rfc included in the rsyslog build.
Now I have been able to make the ./configure finish correctly and have now proceded to the next step, being the make process.

As I can see from the (make) debug log, the prerequisites for rsyslogd have been finished and the system wants to remake the target 'rsyslogd'(see log below).
However, when doing that, it stops with an error.

Does somebody have an idea what I might be doing wrong and how I can complete the compilation without errors? I am stuck for the moment.
Snippet of the make debug logs:

Code: Select all
      No need to remake target `../compat/compat.la'.
     Finished prerequisites of target file `rsyslogd'.
    Must remake target `rsyslogd'.
Invoking recipe from Makefile:739 to update target `rsyslogd'.
make[2]: Entering directory `/opt/rsyslog-8.28.0/tools'
Putting child 0x19f4c70 (rsyslogd) PID 4070 on the chain.
Live child 0x19f4c70 (rsyslogd) PID 4070
Reaping winning child 0x19f4c70 PID 4070
Live child 0x19f4c70 (rsyslogd) PID 4071
  CCLD     rsyslogd
/usr/lib: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
Reaping losing child 0x19f4c70 PID 4071
make[2]: *** [rsyslogd] Error 1
Removing child 0x19f4c70 PID 4071 from chain.
make[2]: Leaving directory `/opt/rsyslog-8.28.0/tools'
Reaping losing child 0x88a460 PID 4036
make[1]: *** [all-recursive] Error 1
Removing child 0x88a460 PID 4036 from chain.
make[1]: Leaving directory `/opt/rsyslog-8.28.0'
Reaping losing child 0x231bfb0 PID 4035
make: *** [all] Error 2
Removing child 0x231bfb0 PID 4035 from chain.


I have read some articles stating the zlib path is unknown to the system, but even when adding the path of zlib to the ./configure command, it doesn't seem to be working...
I am using the following configuration parameters:

Code: Select all
./configure LIBLOGGING_CFLAGS=/usr/lib LIBLOGGING_LIBS=/usr/lib LIBLOGGING_STDLOG_CFLAGS=/usr/lib LIBLOGGING_STDLOG_LIBS=/usr/lib ZLIB_LIBS=/usr/local/lib ZLIB_CFLAGS=/usr/local/lib \
        --disable-uuid \
        --enable-mysql \
        --enable-snmp \
        --enable-elasticsearch \
        --enable-gnutls \
        --enable-libgcrypt \
        --enable-mail \
        --enable-mmanon \
        --enable-mmfields \
        --enable-mmjsonparse\
        --enable-mmnormalize \
        --enable-mmrm1stspace \
        --enable-mmutf8fix \
        --enable-pmaixforwardedfrom \
        --enable-pmciscoios \
        --enable-relp \
        --enable-rfc3195 \
        --enable-imfile \
        --enable-imptcp \
        --enable-impstats \
        --enable-omstdout \
        --enable-omruleset \
        --enable-omkafka \
        --enable-imkafka


Many thanks,
Kind regards,
Francis Claessens.
prozit
New
 
Posts: 2
Joined: Sun Jul 30, 2017 3:33 pm

Re: [rsyslogd] Error 1

Postby prozit » Mon Jul 31, 2017 6:22 am

Just noticed I placed this topic in the wrong category.
Can this post be moved to the category "Installation"?
prozit
New
 
Posts: 2
Joined: Sun Jul 30, 2017 3:33 pm

Google Ads



Return to Windows Agent

Who is online

Users browsing this forum: No registered users and 4 guests

cron