[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] Syslog-ng under Windows (Cygwin - copying from another pc)
From:       Tom Doberstein <t.doberstein () web ! de>
Date:       2013-06-17 12:19:45
Message-ID: CAOdahLcTT3_WFKqtZQhgrEL0KneS0WPRfEKTBsWib1gyW4hYKA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear Corinna,

ok the hint to the permission bits sounds reasonable. But I am a little bit
confused, because the first modules that will be loaded are syslogformat
and basicfuncs. After this the module afsocket will be loaded and produces
errors.

The machines are standalone windows installations, no active directory and
with admin privileges.

You also wrote about SIDs, which will be saved in etc directory. As I wrote
before, I copied the installation to the server and back to the same
machine and this did not work too. There could be two possibilities:
windows registry and file privileges.

At first I wanted to copy only the syslog-ng.exe from usr/sbin to the other
machine (includes the dlls of course). And then wanted to run the
application standalone. Because this did not work, I copied the whole
cygwin installation.
But I think I have to mail to the cygwin community.

If anybody has something for me, please let me know.


Bye Tom


2013/6/17 Tom Doberstein <t.doberstein@web.de>

> Hello,
>
> I am using syslog-ng in cygwin under WinXP.
>
> On my developer pc I have no problems, everything works very fine. But
> when I copy the cygwin directory (from c:/Programs to c:/Programs) on
> another pc, I got the following errors:
> -----------------
> Error opening plugin module; module='afsocket', error='Exec format error'
> Error opening plugin module; module='afsocket', error='Exec format error'
> Error parsing source, source plugin unix-dgram not found in source confgen
> syste
> m at line 1, column 1:
>                                               included from
> /etc/syslog-ng/syslo
> g-ng.conf line 10, column 9
>
> unix-dgram
> ^^^^^^^^^^
>
> syslog-ng documentation:
> http://www.balabit.com/support/documentation/?product=s
> yslog-ng
> mailing list: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> -----------------
>
> I already started the syslog-ng-config and the service was installed
> successfully, but it will not start. cygrunsrv.exe -S syslog-ng will
> produce this error: "cygrunsrv: Error starting a service:
> QueryServiceStatus:  Win32 error 1062: (...)".
>
> Is there now any right problem that the process cannot read the module
> correctly or something else?
> What I noticed is, when I copy the cygwin directory to the server and back
> to the same pc (in the same directory) the error occurs too.
>
> I hope that somebody can help me with that problem.
>
>
> Regards,
> Tom
>

[Attachment #5 (text/html)]

<div dir="ltr">Dear Corinna,<div><br></div><div style>ok the hint to the permission \
bits sounds reasonable. But I am a little bit confused, because the first modules \
that will be loaded are syslogformat and basicfuncs. After this the module afsocket \
will be loaded and produces errors.</div> <div style><br></div><div style>The \
machines are standalone windows installations, no active directory and with admin \
privileges.</div><div style><br></div><div style>You also wrote about SIDs, which \
will be saved in etc directory. As I wrote before, I copied the installation to the \
server and back to the same machine and this did not work too. There could be two \
possibilities: windows registry and file privileges.</div> <div style><br></div><div \
style>At first I wanted to copy only the syslog-ng.exe from usr/sbin to the other \
machine (includes the dlls of course). And then wanted to run the application \
standalone. Because this did not work, I copied the whole cygwin installation.</div> \
<div style>But I think I have to mail to the cygwin community.</div><div \
style><br></div><div style>If anybody has something for me, please let me \
know.</div><div style><br></div><div style><br></div><div style>Bye Tom</div> \
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/17 Tom \
Doberstein <span dir="ltr">&lt;<a href="mailto:t.doberstein@web.de" \
target="_blank">t.doberstein@web.de</a>&gt;</span><br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div \
dir="ltr">Hello,<div><br></div><div>I am using syslog-ng in cygwin under \
WinXP.</div><div><br></div><div>On my developer pc I have no problems, everything \
works very fine. But when I copy the cygwin directory (from c:/Programs to \
c:/Programs) on another pc, I got the following errors:</div>

<div>-----------------</div><div><div>Error opening plugin module; \
module=&#39;afsocket&#39;, error=&#39;Exec format error&#39;</div><div>Error opening \
plugin module; module=&#39;afsocket&#39;, error=&#39;Exec format error&#39;</div>

<div>Error parsing source, source plugin unix-dgram not found in source confgen \
syste</div><div>m at line 1, column 1:</div><div>                                     \
included from /etc/syslog-ng/syslo</div><div> g-ng.conf line 10, column 9</div>
<div><br></div><div>unix-dgram</div><div>^^^^^^^^^^</div><div><br></div><div>syslog-ng \
documentation: <a href="http://www.balabit.com/support/documentation/?product=s" \
target="_blank">http://www.balabit.com/support/documentation/?product=s</a></div>

<div>yslog-ng</div><div>mailing list: <a \
href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" \
target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a></div><div>-----------------<br></div><div><br></div>
 <div>I already started the syslog-ng-config and the service was installed \
successfully, but it will not start. cygrunsrv.exe -S syslog-ng will produce this \
error: &quot;cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error \
1062: (...)&quot;.</div>

<div><br></div><div>Is there now any right problem that the process cannot read the \
module correctly or something else?</div><div>What I noticed is, when I copy the \
cygwin directory to the server and back to the same pc (in the same directory) the \
error occurs too.</div>

<div><br></div><div>I hope that somebody can help me with that \
problem.</div><div><br></div><div><br></div><div>Regards,</div><div>Tom</div></div></div>
 </blockquote></div><br></div>



______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic