| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Kevin M <kmarkle AT pbs DOT org> |
| Subject: | Re: Event viewer application error? |
| Date: | Thu, 10 Jul 2008 07:16:43 -0400 |
| Lines: | 36 |
| Message-ID: | <mn.51b47d87a99ca922.85603@pbs.org> |
| References: | <mn DOT 435b7d877c787fca DOT 85603 AT pbs DOT org> <4873B6DA DOT 6040203 AT cygwin DOT com> |
| Reply-To: | kmarkle AT pbs DOT org |
| Mime-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Larry Hall (Cygwin) presented the following explanation : > Kevin M wrote: >> Hello, >> I'm getting this error. >>> >> /AUXSOURCE= flag to retrieve this description; see Help and Support for >> details. The following information is part of the event: /usr/sbin/cron: >> PID 2784: (CRON) error (can't switch user context). >>> >> I checked and found something that said to add execute permsisions to the >> cygwin1.dll and give permissions to /etc/cron.d. This has not worked if >> anybody has any ideas I would apprcieate it. I have no idea where to put >> the /AUXSOURCE= flag and also don't know what value it is looking for. > > This would be helpful: > >> Problem reports: http://cygwin.com/problems.html > > Or at least who the 'cron' service is running as. My guess is that when you > installed cron, you chose to run it as yourself or some other unprivileged > (including 'Administrator') user. Windows services cannot switch user > contexts unless they use a special privileged account (SYSTEM on XP or older > systems). That's why you get the message. The solution? Reinstall it and > let it run under a privileged account. Hello, After all of my struggles getting this to work I have finally got it. What I did was chmod all of the files in my cywin install and took ownership with the same domain admin account that cron is using and it worked! Kevin M (A true work in progress!) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |