Re: [snmpsim-users] snmpsim On Linux
Brought to you by:
elie
|
From: Ilya E. <il...@gl...> - 2013-09-17 11:16:02
|
You should configure snmpsim logging by adding the: --logging-method=file:/var/log/snmpsim/snmpsimd.log option (make sure to create /var/log/snmpsim/ owned by your dedicated user) and then look for further issues in the log file. Alternatively can use syslog: --logging-method=syslog:local1:debug -ilya On 09/17/13 15:07, Bhagat, Yateen (Yateen) wrote: > > Hi Ilya > > Thanks, I have used dedicated user and group, no errors any more, > > But I can not see any daemon process running. > > -Yateen > > *From:*Ilya Etingof [mailto:il...@gl...] > *Sent:* Tuesday, September 17, 2013 4:29 PM > *To:* Bhagat, Yateen (Yateen) > *Cc:* snm...@li... > *Subject:* Re: snmpsim On Linux > > Hi Yateen, > > You should pass it a Linux user & group under which snmpsim should run > instead of running as root. For example: > > $ snmpsimd.py --process-user=nobody --process-group=nogroup > > or better yet create a dedicated user & group for snmpsim on your > Linux system. > > -ilya > > On 09/17/13 14:54, Bhagat, Yateen (Yateen) wrote: > > Hi Ilya > > Am trying to run snmpsim On Linux (as root) , getting following error: > > snmpsimd.py --daemonize --data-dir=/opt/snmpsim-0.2.4rc1/1511 > --variation-modules-dir=/opt/snmpsim-0.2.4rc1/variation > --variation-module-options=sql:dbtype:mysql.connector,host:127.0.0.1,port:3306,user:snmpsim,password:snmpsim,database:snmpsim > --agent-udpv4-endpoint=135.250.18.162 --v2c-arch > > ERROR: cant drop priveleges: Must drop priveleges to a > non-priveleged user&group > > Please help > > Regards > > Yateen > |