* createevent access denied
@ 2019-09-05 1:29 Cary Lewis
2019-09-05 4:11 ` Brian Inglis
0 siblings, 1 reply; 3+ messages in thread
From: Cary Lewis @ 2019-09-05 1:29 UTC (permalink / raw)
To: cygwin
I am trying to write to the windows events sub system using createevent,
but I am getting access denied.
Is there a cygwin utility that provides a way to create a windows event?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: createevent access denied
2019-09-05 1:29 createevent access denied Cary Lewis
@ 2019-09-05 4:11 ` Brian Inglis
2019-09-05 12:12 ` Cary Lewis
0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2019-09-05 4:11 UTC (permalink / raw)
To: cygwin
On 2019-09-04 19:29, Cary Lewis wrote:
> I am trying to write to the windows events sub system using createevent,
> but I am getting access denied.
>
> Is there a cygwin utility that provides a way to create a windows event?
Cygwin package util-linux contains logger which should create Windows events
with Unix fields.
Unless you have the Cygwin syslog or syslog-ng daemon installed and running as a
service, in which case it will write to /dev/log socket, which will be logged to
/var/log/messages, or whatever file or processing is configured.
Search the mail archive for previous topics including syslog in the subject.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: createevent access denied
2019-09-05 4:11 ` Brian Inglis
@ 2019-09-05 12:12 ` Cary Lewis
0 siblings, 0 replies; 3+ messages in thread
From: Cary Lewis @ 2019-09-05 12:12 UTC (permalink / raw)
To: Brian.Inglis, cygwin
Thanks for the tip - I already had logger installed, but without syslog-ng,
it doesn't seem to create windows events.
I also discovered that I had to run passwd -R in order to get createevent
to work from a cygwin mintty session.
On Thu, Sep 5, 2019 at 12:12 AM Brian Inglis <
Brian.Inglis@systematicsw.ab.ca> wrote:
> On 2019-09-04 19:29, Cary Lewis wrote:
> > I am trying to write to the windows events sub system using createevent,
> > but I am getting access denied.
> >
> > Is there a cygwin utility that provides a way to create a windows event?
>
> Cygwin package util-linux contains logger which should create Windows
> events
> with Unix fields.
>
> Unless you have the Cygwin syslog or syslog-ng daemon installed and
> running as a
> service, in which case it will write to /dev/log socket, which will be
> logged to
> /var/log/messages, or whatever file or processing is configured.
>
> Search the mail archive for previous topics including syslog in the
> subject.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-05 12:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 1:29 createevent access denied Cary Lewis
2019-09-05 4:11 ` Brian Inglis
2019-09-05 12:12 ` Cary Lewis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).