[syslog-ng] [Bug 223] New: syslog-ng doesn' t start on windows running in a cygwin environment
bugzilla at bugzilla.balabit.com
bugzilla at bugzilla.balabit.com
Wed Feb 27 14:35:21 CET 2013
https://bugzilla.balabit.com/show_bug.cgi?id=223
Summary: syslog-ng doesn't start on windows running in a cygwin
environment
Product: syslog-ng
Version: 3.2.x
Platform: PC
OS/Version: Windows
Status: NEW
Severity: major
Priority: unspecified
Component: syslog-ng
AssignedTo: bazsi at balabit.hu
ReportedBy: tps at vr-web.de
Type of the Report: bug
Estimated Hours: 0.0
After having installed syslog-ng and given dependencies, I've configured with
/usr/bin/syslog-ng-config
No errors that far. Then started it with "net start syslog-ng":
$ net start syslog-ng
CYGWIN syslog-ng wird gestartet.
CYGWIN syslog-ng konnte nicht gestartet werden.
Der Dienst hat keinen Fehler gemeldet.
Sie erhalten weitere Hilfe, wenn Sie NET HELPMSG 3534 eingeben.
syslog-ng did not start. Trying to start with "cygrunsvc -S syslog-ng":
$ cygrunsrv.exe -S syslog-ng
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
Der Dienst wurde nicht gestartet.
Same as above. Again no usefull error message. Next I tried to start
syslog-ng directly with the paramaters passed by cygrunsvc:
$ /usr/sbin/syslog-ng.exe -F
Error opening plugin module; module='afsocket', error='No such process'
Error opening plugin module; module='afsocket', error='No such process'
Error parsing source, source plugin unix-dgram not found in source confgen system at line 1, column 1:
included from /etc/syslog-ng/syslog-ng.conf line 10, column 9
unix-dgram
^^^^^^^^^^
syslog-ng documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
The service does not start because of errors while loading modules.
Given "-V" syslog-ng reports:
$ /usr/sbin/syslog-ng.exe -V
syslog-ng 3.2.5
Installer-Version: 3.2.5
Revision:
Compile-Date: Apr 3 2012 14:52:24
Enable-Threads: off
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-Sun-STREAMS: off
Enable-IPv6: on
Enable-Spoof-Source: off
Enable-TCP-Wrapper: on
Enable-SSL: on
Enable-SQL: off
Enable-Linux-Caps: off
Enable-Pcre: on
Enable-Pacct: off
Files installed by cygwin are:
$ cygcheck.exe -l syslog-ng
/etc/postinstall/syslog-ng.sh
/etc/defaults/etc/syslog-ng/syslog-ng.conf
/etc/defaults/etc/syslog-ng/scl.conf
/etc/defaults/etc/syslog-ng/modules.conf
/usr/bin/update-patterndb
/usr/bin/loggen.exe
/usr/bin/syslog-ng-config
/usr/bin/cygsyslog-ng-0.dll
/usr/bin/pdbtool.exe
/usr/lib/syslog-ng/cygdbparser.dll
/usr/lib/syslog-ng/cygcsvparser.dll
/usr/lib/syslog-ng/cygafsocket-tls.dll
/usr/lib/syslog-ng/cygbasicfuncs.dll
/usr/lib/syslog-ng/cygafprog.dll
/usr/lib/syslog-ng/cygconvertfuncs.dll
/usr/lib/syslog-ng/cygafuser.dll
/usr/lib/syslog-ng/cygconfgen.dll
/usr/lib/syslog-ng/cygsyslogformat.dll
/usr/lib/syslog-ng/cygafsocket-notls.dll
/usr/lib/syslog-ng/cygdummy.dll
/usr/lib/syslog-ng/cygafsocket.dll
/usr/lib/syslog-ng/cygaffile.dll
/usr/sbin/syslog-ng.exe
/usr/sbin/syslog-ng-ctl.exe
/usr/share/syslog-ng/include/scl/syslogconf/plugin.conf
/usr/share/syslog-ng/include/scl/syslogconf/convert-syslogconf.awk
/usr/share/syslog-ng/include/scl/syslogconf/README
/usr/share/syslog-ng/include/scl/system/plugin.conf
/usr/share/syslog-ng/include/scl/system/generate-system-source.sh
/usr/share/syslog-ng/include/scl/pacct/plugin.conf
/usr/share/syslog-ng/xsd/patterndb-1.xsd
/usr/share/syslog-ng/xsd/patterndb-2.xsd
/usr/share/syslog-ng/xsd/patterndb-3.xsd
/usr/share/man/man5/syslog-ng.conf.5.gz
/usr/share/man/man8/syslog-ng.8.gz
/usr/share/man/man1/pdbtool.1.gz
/usr/share/man/man1/syslog-ng-ctl.1.gz
/usr/share/man/man1/loggen.1.gz
/usr/share/doc/syslog-ng/AUTHORS
/usr/share/doc/syslog-ng/README
/usr/share/doc/syslog-ng/COPYING
/usr/share/doc/syslog-ng/ChangeLog
/usr/share/doc/syslog-ng/NEWS
/usr/share/doc/Cygwin/syslog-ng.README
The generated config-file "/etc/syslog-ng/syslog-ng.conf" holds:
$ cat /etc/syslog-ng/syslog-ng.conf
#############################################################################
# Default syslog-ng.conf file which collects all local logs into a
# single file called /var/log/messages.
#
@version: 3.2
@include "scl.conf"
source s_local {
system();
internal();
};
source s_network {
udp();
};
destination d_local {
file("/var/log/messages");
};
log {
source(s_local);
# uncomment this line to open port 514 to receive messages
#source(s_network);
destination(d_local);
};
Looks like a bug analyzing the installed files correctly and creating a not working setup.
--
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the syslog-ng
mailing list