Syslog-ng & RedHat
Hi! I tried to work with syslog-ng-1.9.9 on Redhat Linux AS 4. Sources (eventlog and syslog-ng) were taken here: http://www.balabit.com/downloads/syslog-ng/1.9/src/ I walked through configure, make and make install successfully. Simple syslog-ng.conf was placed to /usr/local/etc When I run /usr/local/sbin/syslog-ng, I get the following error: fsync() does not work yet; fsync() does not work yet; Error binding socket; error='No such file or directory (2)', addr='AF_UNIX(/var/lib/named/dev/log)' Error initializing source driver; source='src' Could you please give me a hint about what was a reason of such error? Anyway, I can't tell I'm interested in last version only. So, could you please advice me syslog-ng version that worked successfully on RedHat Linux AS 4? Thank you in advance.
syslogyk wrote:
Hi!
I tried to work with syslog-ng-1.9.9 on Redhat Linux AS 4.
Sources (eventlog and syslog-ng) were taken here: http://www.balabit.com/downloads/syslog-ng/1.9/src/
I walked through configure, make and make install successfully. Simple syslog-ng.conf was placed to /usr/local/etc When I run /usr/local/sbin/syslog-ng, I get the following error:
fsync() does not work yet; fsync() does not work yet; Error binding socket; error='No such file or directory (2)', addr='AF_UNIX(/var/lib/named/dev/log)' Error initializing source driver; source='src'
Does the /var/lib/named/dev directory exist on your system? Syslog-ng creates the sockets only, not the directories.
Could you please give me a hint about what was a reason of such error? Anyway, I can't tell I'm interested in last version only. So, could you please advice me syslog-ng version that worked successfully on RedHat Linux AS 4?
You can try the 1.6 branch of syslog-ng, if 1.9 doesn't work for you. In the source tarball there is already the RHEL-specific packaging included (syslog-ng.spec.bb), so you can create the rpm package for yourself. See the comments in the /etc/syslog-ng/syslog-ng.conf file. -- Sandor Geller wildy@balabit.hu
Sandor! Thank you for your answer. Yes, I tried to create \var\lib\named\dev . Then, I run syslog-ng again. As result, the file \var\lib\named\dev\log was created (with size of 0 byte), and I have got the same error. About 1.6. OK, I will try it and let you know about results. Thank you again!
syslogyk wrote:
Hi!
I tried to work with syslog-ng-1.9.9 on Redhat Linux AS 4.
Sources (eventlog and syslog-ng) were taken here: http://www.balabit.com/downloads/syslog-ng/1.9/src/
I walked through configure, make and make install successfully. Simple syslog-ng.conf was placed to /usr/local/etc When I run /usr/local/sbin/syslog-ng, I get the following error:
fsync() does not work yet; fsync() does not work yet; Error binding socket; error='No such file or directory (2)', addr='AF_UNIX(/var/lib/named/dev/log)' Error initializing source driver; source='src'
Does the /var/lib/named/dev directory exist on your system? Syslog-ng creates the sockets only, not the directories.
Could you please give me a hint about what was a reason of such error? Anyway, I can't tell I'm interested in last version only. So, could you please advice me syslog-ng version that worked successfully on RedHat Linux AS 4?
You can try the 1.6 branch of syslog-ng, if 1.9 doesn't work for you. In the source tarball there is already the RHEL-specific packaging included (syslog-ng.spec.bb), so you can create the rpm package for yourself. See the comments in the /etc/syslog-ng/syslog-ng.conf file.
-- Яндекс.Почта: объем почтового ящика не ограничен! http://mail.yandex.ru/monitoring/
Sandor! Yes, 1.6.9 is working for me (RedHat Linux Enterprise AS 4)! After configure, make & make install I had to create /var/lib/ntp/dev and /usr/local/etc/syslog-ng/ directories (for log and syslog-ng.conf, respectively). After that, all is working. Thank you for you help!
Sandor!
Thank you for your answer. Yes, I tried to create \var\lib\named\dev . Then, I run syslog-ng again. As result, the file \var\lib\named\dev\log was created (with size of 0 byte), and I have got the same error.
About 1.6. OK, I will try it and let you know about results. Thank you again!
syslogyk wrote:
Hi!
I tried to work with syslog-ng-1.9.9 on Redhat Linux AS 4.
Sources (eventlog and syslog-ng) were taken here: http://www.balabit.com/downloads/syslog-ng/1.9/src/
I walked through configure, make and make install successfully. Simple syslog-ng.conf was placed to /usr/local/etc When I run /usr/local/sbin/syslog-ng, I get the following error:
fsync() does not work yet; fsync() does not work yet; Error binding socket; error='No such file or directory (2)', addr='AF_UNIX(/var/lib/named/dev/log)' Error initializing source driver; source='src'
Does the /var/lib/named/dev directory exist on your system? Syslog-ng creates the sockets only, not the directories.
Could you please give me a hint about what was a reason of such error? Anyway, I can't tell I'm interested in last version only. So, could you please advice me syslog-ng version that worked successfully on RedHat Linux AS 4?
You can try the 1.6 branch of syslog-ng, if 1.9 doesn't work for you. In the source tarball there is already the RHEL-specific packaging included (syslog-ng.spec.bb), so you can create the rpm package for yourself. See the comments in the /etc/syslog-ng/syslog-ng.conf file.
-- Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru
On Fri, 2006-03-10 at 19:42 +0300, syslogyk wrote:
Sandor!
Yes, 1.6.9 is working for me (RedHat Linux Enterprise AS 4)! After configure, make & make install I had to create /var/lib/ntp/dev and /usr/local/etc/syslog-ng/ directories (for log and syslog-ng.conf, respectively). After that, all is working.
I would appreciate the reason why 1.9.9 did not work as it should properly process unix domain sources and the error message seemed to indicate some kind of setup problem. -- Bazsi
On Fri, 2006-03-10 at 19:42 +0300, syslogyk wrote:
Sandor!
Yes, 1.6.9 is working for me (RedHat Linux Enterprise AS 4)! After configure, make & make install I had to create /var/lib/ntp/dev and /usr/local/etc/syslog-ng/ directories (for log and syslog-ng.conf, respectively). After that, all is working.
I would appreciate the reason why 1.9.9 did not work as it should properly process unix domain sources and the error message seemed to indicate some kind of setup problem.
Well, I don't know. 1.6.9 and 1.9.9 were installing in the same way (configure -> make -> make install). I doubt it was setup outcome... But I am not good enough in the issues like that. So you might be right. Anyway, 1.6.9 is good for me. At least, for now :) Thank you very much!
participants (3)
-
Balazs Scheidler
-
Sandor Geller
-
syslogyk