the snmpd,and if you run snmpd as a normal user,there might be some
files that snmpd can not access.You should make them change also.



Isaac Eliassi 写道:
> chmod to which file?
>
> -----Original Message-----
> From: Sun Le [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 23, 2008 3:10 PM
> To: Isaac Eliassi
> Cc: [email protected]; [EMAIL PROTECTED]
> Subject: Re: snmpd must be root?
>
> What kinda user do you want?
> - To anyone: chmod command
> - To some specified user: chown command
>
>
> Isaac Eliassi wrote:
>   
>> Hi
>>
>> I am creating an agent and I noticed that when I run it as root
>> everything seems to be ok,
>>
>> When I execute it as another user I get the following error :
>>
>>
>>
>> Error opening specified endpoint ""
>>
>> Server Exiting with code 1
>>
>>
>>
>> The execution command are the same
>>
>> /usr/local/sbin/snmpd -c /usr/local/share/snmp/snmpd.conf -C -Lf 1.txt
>>
>>
>>
>> Is it because the default UDP port is 161 ? how can I run it as a user
>> which is not a superuser?
>>
>>
>>
>> Thanks , Isaac Eliassi
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>     
> --
> 孙乐(Sun Le,Sandy)
> Dima Technologies Co.,Ltd
>   
begin:vcard
fn;quoted-printable:=E5=AD=99=E4=B9=90(Sun Le)
n;quoted-printable;quoted-printable:=E5=AD=99;=E4=B9=90
org:Dima Technologies;Software Department
adr:No.285 Zhongshan North Rd;;Room 1302;Nanjing;;210003;China
email;internet:[EMAIL PROTECTED]
title:Director/Senior Engineer
tel;work:+86-25-83341670 ext 188
tel;fax:+86-25-83342939 ext 128
x-mozilla-html:FALSE
url:http://www.dimacn.net
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to