On Fri, Apr 20, 2012 at 01:53:45AM +0800, pandit jignesh wrote:
> Hi
> 
> installation folder /home/jbpandit/net-snmp
> snmp.conf file location /usr/local/share/snmp
> executable file location /usr/local/sbin/snmpd and snmptrapd
> 
> i had ask this question before and i think i am getting close to the answer.
> earlier i said that i can not start my agent(snmpd) but i was success two 
> times, once as a user (jbpandit) logging and second as a root user logging 
> (/etc/init.d/snmpd start). My question is why it is either not responding or 
> not restart after the next system reboot.
> help please.......jb pandit.

You should be using your distribution precompiled net-snmp package if
you don't know how to handle a manually compiled one.
That said, IIRC, you are on Ubuntu, right?
Take a look at checkinstall, and tweak the distro's net-snmp package's
initd scripts, and tweak the PATHs pointing to your binaries
accordingly. Regarding the automatic start of your daemon after a
reboot, check your init daemon docs, (I don't use Ubuntu, but it should be
one of sysvinit, upstart, or something else).
FTR, installing under /home/$USER is quite wrong IMHO. You'd be better
off installing under /usr/local.

HTH

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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

Reply via email to