Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th March 2007, 15:28
random.guy random.guy is offline
Junior Member
 
Join Date: May 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installing syslog-ng 2.x on CentOS

I am trying to install the latest version of the Syslog-ng 2.x branch on my new CentOS 4.4 system (server build), but I am having some major issues. It is throwing several compilation errors, to the point where it is just getting too frustrating to deal with this.

Before I start pasting the logs, I figured I would see if anyone has even gotten this to work. I can't find any evidence of anyone else doing this successfully (been searching for a few days now). I have compiled so syslog-ng so many times on other platforms, but I was hoping to get this to work on CentOS. Your input would be appreciated
Reply With Quote
Sponsored Links
  #2  
Old 30th March 2007, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I haven't tried this on CentOS. But maybe I can help you if you post the exact error messages here?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th March 2007, 16:04
random.guy random.guy is offline
Junior Member
 
Join Date: May 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the response Falko! ./configure runs fine without any errors, so the next thing I did was the 'make' command, and this is where it starts generating errors.

Code:
libsyslog-ng.a(misc.o)(.text+0x3a9): In function `resolve_hostname':
/root/syslog-ng-2.0.3/src/misc.c:191: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x6a): In function `log_stamp_format':
/root/syslog-ng-2.0.3/src/logmsg.c:110: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x2b6): In function `log_msg_ref':
/root/syslog-ng-2.0.3/src/logmsg.c:498: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0x342): In function `log_msg_unref':
/root/syslog-ng-2.0.3/src/logmsg.c:512: undefined reference to `g_assert_warning'
libsyslog-ng.a(logmsg.o)(.text+0xe2a): In function `log_msg_ack_block_end':
/root/syslog-ng-2.0.3/src/logmsg.c:648: undefined reference to `g_return_if_fail_warning'
libsyslog-ng.a(logpipe.o)(.text+0x4f): In function `log_pipe_ref':
/root/syslog-ng-2.0.3/src/logpipe.c:38: undefined reference to `g_assert_warning'
libsyslog-ng.a(logpipe.o)(.text+0x9b): In function `log_pipe_unref':
/root/syslog-ng-2.0.3/src/logpipe.c:47: undefined reference to `g_assert_warning'
libsyslog-ng.a(center.o)(.text+0x7d): In function `log_endpoint_free':
/root/syslog-ng-2.0.3/src/center.c:90: undefined reference to `g_assert_warning'
libsyslog-ng.a(center.o)(.text+0x175): In function `log_connection_new':
/root/syslog-ng-2.0.3/src/center.c:132: undefined reference to `g_assert_warning'
libsyslog-ng.a(templates.o)(.text+0x2de): In function `log_template_ref':
/root/syslog-ng-2.0.3/src/templates.c:180: undefined reference to `g_assert_warning'
libsyslog-ng.a(templates.o)(.text+0x346):/root/syslog-ng-2.0.3/src/templates.c:191: more undefined references to `g_assert_warning' follow
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/root/syslog-ng-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/syslog-ng-2.0.3'
make: *** [all] Error 2
Reply With Quote
  #4  
Old 31st March 2007, 14:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I've found this link: https://lists.balabit.hu/pipermail/s...er/009621.html

As RHEL is related to CentOS very closely, maybe this works for CentOS as well.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd April 2007, 16:17
random.guy random.guy is offline
Junior Member
 
Join Date: May 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko
I've found this link: https://lists.balabit.hu/pipermail/s...er/009621.html

As RHEL is related to CentOS very closely, maybe this works for CentOS as well.
Looks like the latest version of syslog-ng requires glibc 2.4, and judging by this thread, I am not going to get this to work on CentOS 4.4 at all

I guess I will have to try to run an older version.

edit: just tried 1.9 with eventlog 2.4, and I get the same error. I am wondering if CentOS is even a good choice for a syslog server.

Last edited by random.guy; 2nd April 2007 at 16:22.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Bind9 + DNSSec on Centos 4.4 HooGLaNDeR Server Operation 5 30th October 2006 21:52
CentOS 4.3 Error While Installing ISPConfig k31th Installation/Configuration 1 16th August 2006 00:48
Installing Ubuntu on top of CentOS convgn Installation/Configuration 1 5th May 2006 11:56
Problems Installing in CentOS 4.2 fresh JLChafardet Installation/Configuration 3 31st March 2006 21:36
Problem installing on CentOS 4.2 bokko Installation/Configuration 4 1st March 2006 17:14


All times are GMT +2. The time now is 18:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.