syslog-ng 2.0.0 successful on Mac OS X Tiger
Good morning, For some time now I've have syslog-ng 1.6 working on Mac OS X Panther servers, but I could never get 1.6 or 1.9 (and probably some early 2.0 betas) to work. I just completed an install of 2.0.0 on a clean installed Tiger server. I don't have a complicated logging setup (4 filters, 4 logging destinations), but I do like syslog-ng's ability to eliminate the need for log rotation by logging filters and directory structures... I know I had been trying every few months over the last year or so to get this installed, and a few other people posted with trouble getting it to run, so I'll post some stats about my setup: Machine is a 2 GHz G5 Xserve running Mac OS X Server 10.4.8 (8L127). $ uname -a Darwin hostname.school.edu 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc RackMac3,1 Darwin Good work, whoever fixed it! -- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico x6000
Hi, I tried 1.6 on Tiger Server without success. I¹m happy to see that you succeeded. I installed it through macosports.org. Since v2.0 is not available on macosport, can you share your work ? * link to get the good sources * compile directives * dependencies Thanks Olivier le 30/11/06 18:22, Orth, Alan à AOrth@exchange.csuchico.edu a écrit :
Good morning,
For some time now I've have syslog-ng 1.6 working on Mac OS X Panther servers, but I could never get 1.6 or 1.9 (and probably some early 2.0 betas) to work. I just completed an install of 2.0.0 on a clean installed Tiger server. I don't have a complicated logging setup (4 filters, 4 logging destinations), but I do like syslog-ng's ability to eliminate the need for log rotation by logging filters and directory structures...
I know I had been trying every few months over the last year or so to get this installed, and a few other people posted with trouble getting it to run, so I'll post some stats about my setup:
Machine is a 2 GHz G5 Xserve running Mac OS X Server 10.4.8 (8L127).
$ uname -a Darwin hostname.school.edu 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc RackMac3,1 Darwin
Good work, whoever fixed it!
-- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico x6000
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
Here¹s where I stand : I fetched and decompress all the src and dependencies curl O http://www.balabit.com/downloads/syslog-ng/2.0/src/syslog-ng-2.0.0.tar.gz curl O http://pkgconfig.freedesktop.org/releases/pkg-config-0.21.tar.gz curl O http://www.balabit.com/downloads/syslog-ng/2.0/src/eventlog-0.2.5.tar.gz ftp ftp.gtk.org/pub/gtk/v2.0/glib-2.0.7.tar.bz2 ftp ftp.gnu.org/gnu/gettext/gettext-0.16.tar.gz -rw------- 1 ducrot staff 1510735 Nov 4 2002 glib-2.0.7.tar.bz2 -rw-r--r-- 1 ducrot staff 312164 Dec 2 09:11 eventlog-0.2.5.tar.gz -rw------- 1 ducrot staff 8546162 Oct 26 21:05 gettext-0.16.tar.gz -rw-r--r-- 1 ducrot staff 1628160 Dec 1 22:39 syslog-ng-2.0.0.tar -rw-r--r-- 1 ducrot staff 4546560 Dec 1 22:44 pkg-config-0.21.tar ./configure Make Sudo make install all the stuff in the following order -rw-r--r-- 1 ducrot staff 4546560 Dec 1 22:44 pkg-config-0.21.tar -rw-r--r-- 1 ducrot staff 312164 Dec 2 09:11 eventlog-0.2.5.tar.gz -rw------- 1 ducrot staff 8546162 Oct 26 21:05 gettext-0.16.tar.gz -rw------- 1 ducrot staff 1510735 Nov 4 2002 glib-2.0.7.tar.bz2 Tried ./configure on syslog-ng-2.0.0 Got the following error checking for static GLib libraries... no configure: error: static GLib libraries not found (a file named libglib-2.0.a), either link GLib dynamically using the --enable-dynamic-linking or install a static GLib Tried with dynamic links ./configure --enable-dynamic-linking is ok, but make report the following error : make all-recursive Making all in src gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lfl -L/usr/local/lib -lglib-2.0 -lintl -liconv -L/usr/local/lib -levtlog /usr/bin/ld: Undefined symbols: _G_LIKELY _G_UNLIKELY collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Any idea ?? le 1/12/06 22:30, Olivier DUCROT à Olivier.Ducrot@easymac.fr a écrit :
Hi,
I tried 1.6 on Tiger Server without success. I¹m happy to see that you succeeded. I installed it through macosports.org.
Since v2.0 is not available on macosport, can you share your work ?
* link to get the good sources * compile directives * dependencies
Thanks
Olivier
le 30/11/06 18:22, Orth, Alan à AOrth@exchange.csuchico.edu a écrit :
Good morning,
For some time now I've have syslog-ng 1.6 working on Mac OS X Panther servers, but I could never get 1.6 or 1.9 (and probably some early 2.0 betas) to work. I just completed an install of 2.0.0 on a clean installed Tiger server. I don't have a complicated logging setup (4 filters, 4 logging destinations), but I do like syslog-ng's ability to eliminate the need for log rotation by logging filters and directory structures...
I know I had been trying every few months over the last year or so to get this installed, and a few other people posted with trouble getting it to run, so I'll post some stats about my setup:
Machine is a 2 GHz G5 Xserve running Mac OS X Server 10.4.8 (8L127).
$ uname -a Darwin hostname.school.edu 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc RackMac3,1 Darwin
Good work, whoever fixed it!
-- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico x6000
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
On Sat, 2006-12-02 at 10:59 +0100, Olivier DUCROT wrote:
Here’s where I stand :
I fetched and decompress all the src and dependencies
/usr/bin/ld: Undefined symbols: _G_LIKELY _G_UNLIKELY collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
glib is too old. use a newer version. -- Bazsi
I installed glib-2.0.7 le 2/12/06 20:55, Balazs Scheidler à bazsi@balabit.hu a écrit :
On Sat, 2006-12-02 at 10:59 +0100, Olivier DUCROT wrote:
Here¹s where I stand :
I fetched and decompress all the src and dependencies
/usr/bin/ld: Undefined symbols: _G_LIKELY _G_UNLIKELY collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
glib is too old. use a newer version.
You're right I've just fetch glib-2.8.6 It compiles with dynamic links Thanks for the tip le 2/12/06 21:10, Olivier DUCROT à Olivier.Ducrot@easymac.fr a écrit :
I installed glib-2.0.7
le 2/12/06 20:55, Balazs Scheidler à bazsi@balabit.hu a écrit :
On Sat, 2006-12-02 at 10:59 +0100, Olivier DUCROT wrote:
Here¹s where I stand :
I fetched and decompress all the src and dependencies
/usr/bin/ld: Undefined symbols: _G_LIKELY _G_UNLIKELY collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
glib is too old. use a newer version.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
Oliver, I just saw your post on AFP548.com about installing syslog-ng 2.0 on Tiger. I never got around to seeing what I did differently than you to get mine working, but it looks like you're good to go, eh? Here's the article I was referring to, just in case any other Mac OS X Admins are on the list: http://www.afp548.com/article.php?story=20061204055805896 -- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico (530)898-6000 From: Olivier DUCROT <Olivier.Ducrot@easymac.fr> Reply-To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Date: Sat, 02 Dec 2006 10:59:58 +0100 To: "Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>" <syslog-ng@lists.balabit.hu> Conversation: [syslog-ng] syslog-ng 2.0.0 successful on Mac OS X Tiger Subject: Re: [syslog-ng] syslog-ng 2.0.0 successful on Mac OS X Tiger Here¹s where I stand : I fetched and decompress all the src and dependencies curl O http://www.balabit.com/downloads/syslog-ng/2.0/src/syslog-ng-2.0.0.tar.gz curl O http://pkgconfig.freedesktop.org/releases/pkg-config-0.21.tar.gz curl O http://www.balabit.com/downloads/syslog-ng/2.0/src/eventlog-0.2.5.tar.gz ftp ftp.gtk.org/pub/gtk/v2.0/glib-2.0.7.tar.bz2 ftp ftp.gnu.org/gnu/gettext/gettext-0.16.tar.gz -rw------- 1 ducrot staff 1510735 Nov 4 2002 glib-2.0.7.tar.bz2 -rw-r--r-- 1 ducrot staff 312164 Dec 2 09:11 eventlog-0.2.5.tar.gz -rw------- 1 ducrot staff 8546162 Oct 26 21:05 gettext-0.16.tar.gz -rw-r--r-- 1 ducrot staff 1628160 Dec 1 22:39 syslog-ng-2.0.0.tar -rw-r--r-- 1 ducrot staff 4546560 Dec 1 22:44 pkg-config-0.21.tar ./configure Make Sudo make install all the stuff in the following order -rw-r--r-- 1 ducrot staff 4546560 Dec 1 22:44 pkg-config-0.21.tar -rw-r--r-- 1 ducrot staff 312164 Dec 2 09:11 eventlog-0.2.5.tar.gz -rw------- 1 ducrot staff 8546162 Oct 26 21:05 gettext-0.16.tar.gz -rw------- 1 ducrot staff 1510735 Nov 4 2002 glib-2.0.7.tar.bz2 Tried ./configure on syslog-ng-2.0.0 Got the following error checking for static GLib libraries... no configure: error: static GLib libraries not found (a file named libglib-2.0.a), either link GLib dynamically using the --enable-dynamic-linking or install a static GLib Tried with dynamic links ./configure --enable-dynamic-linking is ok, but make report the following error : make all-recursive Making all in src gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lfl -L/usr/local/lib -lglib-2.0 -lintl -liconv -L/usr/local/lib -levtlog /usr/bin/ld: Undefined symbols: _G_LIKELY _G_UNLIKELY collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Any idea ?? le 1/12/06 22:30, Olivier DUCROT à Olivier.Ducrot@easymac.fr a écrit :
Hi,
I tried 1.6 on Tiger Server without success. I¹m happy to see that you succeeded. I installed it through macosports.org.
Since v2.0 is not available on macosport, can you share your work ?
* link to get the good sources * compile directives * dependencies
Thanks
Olivier
le 30/11/06 18:22, Orth, Alan à AOrth@exchange.csuchico.edu a écrit :
Good morning,
For some time now I've have syslog-ng 1.6 working on Mac OS X Panther servers, but I could never get 1.6 or 1.9 (and probably some early 2.0 betas) to work. I just completed an install of 2.0.0 on a clean installed Tiger server. I don't have a complicated logging setup (4 filters, 4 logging destinations), but I do like syslog-ng's ability to eliminate the need for log rotation by logging filters and directory structures...
I know I had been trying every few months over the last year or so to get this installed, and a few other people posted with trouble getting it to run, so I'll post some stats about my setup:
Machine is a 2 GHz G5 Xserve running Mac OS X Server 10.4.8 (8L127).
$ uname -a Darwin hostname.school.edu 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc RackMac3,1 Darwin
Good work, whoever fixed it!
-- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico x6000
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
I confirm. I got it working with the 2.0.0 source code. It was little hard to find all the last dependencies sources, but it¹s now working like a charm. How can I help you ? I did the trick on : - MacBook Pro 17 inches Intel Core Duo MacOS X 10.4.8 - XServe G4 1GHz MacOS X Server 10.4.8 le 14/12/06 7:38, Orth, Alan à AOrth@exchange.csuchico.edu a écrit :
Oliver,
I just saw your post on AFP548.com about installing syslog-ng 2.0 on Tiger. I never got around to seeing what I did differently than you to get mine working, but it looks like you're good to go, eh?
Here's the article I was referring to, just in case any other Mac OS X Admins are on the list:
Oliver, Nope, mine's working great too. I agree that it was a bit of a struggle to get all the dependencies in line in the right order, but it's working on my server as well. I don't know what had changed, either Mac OS X or something in syslog-ng 2.0.0, but I definitely had successfully compiled 1.6.x and 1.9.x branches on a few different Tiger boxes several times in the last year and they would simply just not log anything. All they seemed able to do is poll and generate high CPU usage. I'm glad you documented the process on afp548.com, though, a lot of Mac admins read their stories. :) -- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico x6000 -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu on behalf of Olivier DUCROT Sent: Thu 12/14/2006 8:05 AM To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] syslog-ng 2.0.0 successful on Mac OS X Tiger I confirm. I got it working with the 2.0.0 source code. It was little hard to find all the last dependencies sources, but it¹s now working like a charm. How can I help you ? I did the trick on : - MacBook Pro 17 inches Intel Core Duo MacOS X 10.4.8 - XServe G4 1GHz MacOS X Server 10.4.8 le 14/12/06 7:38, Orth, Alan à AOrth@exchange.csuchico.edu a écrit :
Oliver,
I just saw your post on AFP548.com about installing syslog-ng 2.0 on Tiger. I never got around to seeing what I did differently than you to get mine working, but it looks like you're good to go, eh?
Here's the article I was referring to, just in case any other Mac OS X Admins are on the list:
I had the same behaviors with 1.6.11. le 14/12/06 17:31, Orth, Alan à AOrth@exchange.csuchico.edu a écrit :
I don't know what had changed, either Mac OS X or something in syslog-ng 2.0.0, but I definitely had successfully compiled 1.6.x and 1.9.x branches on a few different Tiger boxes several times in the last year and they would simply just not log anything. All they seemed able to do is poll and generate high CPU usage.
participants (3)
-
Balazs Scheidler
-
Olivier DUCROT
-
Orth, Alan