Re: ./snmpd:not found

Sylvain Dery <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
You are correct, but I am still clueless on what is happening!

Regards,

Sylvain




________________________________
From: Dave Shield <[email protected]>
To: Mike Ayers <[email protected]>
Cc: Sylvain Dery <[email protected]>; [email protected]
Sent: Mon, March 15, 2010 6:29:58 AM
Subject: Re: ./snmpd:not found

On 13 March 2010 00:05, Mike Ayers <[email protected]> wrote:
>> /usr/local/sbin # ls -la ./snmpd
>> -rwxr-xr-x     1 root    root   32859  Mar 10  14:40  2010  ./snmpd
>
>        If this is actually cut-n-paste, then the daemon, which should be named "snmpd",
> is actually named "./snmpd"

No - the daemon is indeed named "snmpd".
The path "./snmpd" means "the file snmpd in the current directory"
Since that was the path given to ls, that's what ls uses in the output.

The commands:
    $ ls -l snmpd
    -rwx--x--x. 1 daves csc 7637 2010-03-12 11:43 ./snmpd
    $ ls -l ./snmpd
    -rwx--x--x. 1 daves csc 7637 2010-03-12 11:43 snmpd

refer to exactly the same file.


Whatever is going on here, it's nothing to do with the name of the file.

Dave



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.