www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/06/22:04:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTinuUrihRyVq8_PY7eiPyK16jvLXH8qPziKttR8L@mail.gmail.com>
References: <AANLkTinuUrihRyVq8_PY7eiPyK16jvLXH8qPziKttR8L AT mail DOT gmail DOT com>
Date: Wed, 6 Oct 2010 21:04:23 -0500
Message-ID: <AANLkTim+ZugRb196Vcsx3mhZyewwxtqhLcUp7d8n5H_y@mail.gmail.com>
Subject: Re: permission denied when using snmpwalk
From: Rance Hall <ranceh AT gmail DOT com>
To: scubacuda AT gmail DOT com, cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, Oct 6, 2010 at 7:32 PM, Rogelio <scubacuda AT gmail DOT com> wrote:
> I'm trying to snmpwalk a server using Cygwin, and when I type
> "snmpwalk -c" like I am used to doing on a *nix box, I get a message
> saying that permission is denied.
>
> What might I need to check here?
>

Larry is right this is likely off topic but since a possibly similar
message was on this list a few days ago I can tell you that there
appears to be a problem with Windows permissions allowing Cygwin to
open a socket.  This isnt technically Cygwin's fault as it is a
Windows permissions thing, but if you are affected by this, AND
snmpwalk wants a socket to do its scanning then snmpwalk wont be able
to open a socket and you may not get any more of an informative
message other than "Sorry, can't do it."  At least the other app had
an informative message stating that a socket could not be opened.

I'm honestly not sure if this will help you or if its way off base,
but at least it will give you something to check on.

Rance

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019