Re: Subject: Can user without root permission re-configure snmpd service ?

2007-02-13 Thread Wes Hardaker
> "DS" == Deepak Sulakhe <[EMAIL PROTECTED]> writes: DS> Is there any way by which GUI based application (whose owner is not DS> root) can re-initialise snmpd service ? Actually, yes... the UCD-SNMP-MIB::versionUpdateConfig can be SNMP SET to 1 to reread the config info. However, I must war

Subject: Can user without root permission re-configure snmpd service ?

2007-02-13 Thread Deepak Sulakhe
We have installed, net-snmp on Linux platform. We have an application which provides Graphical User Interface(GUI) to configure snmpd.conf file. Once user performs configuration, this GUI based application sends command "pkill -SIGHUP -U root snmpd" so that snmpd service re-initialises itself w

Re: Static build of agent on Solaris 9

2007-02-13 Thread Thomas Anders
John Clinton wrote: > Good question Thomas. The hosts I need to run the agent on have a > fairly inconsistent library setup and its causing snmpd to peg cpu, exit > ungracefully, and lock up at times. On a clean machine, my compile of > snmpd works fine. > > Perhaps a different approach is neede

Re: Static build of agent on Solaris 9

2007-02-13 Thread John Clinton
On Tue, 2007-02-13 at 16:13 +0100, Thomas Anders wrote: > Are you sure your system has static versions of all the system > libraries? I'd guess this is *not* the case, hence your problems. > That's probably the case Thomas. I have not attempted to compile something statically before on Solaris.

Re: Static build of agent on Solaris 9

2007-02-13 Thread Thomas Anders
John Clinton wrote: > gcc -Usolaris2 -Dsolaris2=solaris2 -o snmpd snmpd.o -Bstatic > -L/usr/local/ssl/lib ./.libs/libnetsnmpmibs.a ./.libs/libnetsnmpagent.a > helpers/.libs/libnetsnmphelpers.a ../snmplib/.libs/libnetsnmp.a -lelf > -lm -ladm > Undefined first referenced > symb

Re: Net-snmp-coders Digest, Vol 8, Issue 57

2007-02-13 Thread Dave Shield
On 13/02/07, truptisankar nayak <[EMAIL PROTECTED]> wrote: > I am trying to run snmp trap receiver, by downloading net-snmp source code > But its showing the error. > > No access configuration - dropping trap. Please see the 'snmptrapd.conf(5)' man page. In particular, the section headed ACCESS

Re: Static build of agent on Solaris 9

2007-02-13 Thread John Clinton
It's a clean source. John On Tue, 2007-02-13 at 13:21 +, Dave Shield wrote: > On 13/02/07, John Clinton <[EMAIL PROTECTED]> wrote: > > I need to build a static agent (snmpd) on solaris 9 and keep running > > into the same error: > > > /bin/sh ../libtool --mode=link gcc -static -Usolaris2 >

Re: Static build of agent on Solaris 9

2007-02-13 Thread Dave Shield
On 13/02/07, John Clinton <[EMAIL PROTECTED]> wrote: > I need to build a static agent (snmpd) on solaris 9 and keep running > into the same error: > /bin/sh ../libtool --mode=link gcc -static -Usolaris2 >-Dsolaris2=solaris2 -o snmpd snmpd.lo -L/usr/local/ssl/lib -Bstatic >libnetsnmpmib

Static build of agent on Solaris 9

2007-02-13 Thread John Clinton
Hi Coders, I need to build a static agent (snmpd) on solaris 9 and keep running into the same error: # export CFLAGS=-static # ./configure --with-ldflags=-Bstatic --enable-mfd-rewrites --disable-embedded-perl --with-cc=gcc --with-mib-modules="if-mib udp-mib tcp-mib ucd-snmp/diskio" --enable-shar

Re: Net-snmp-coders Digest, Vol 8, Issue 57

2007-02-13 Thread truptisankar nayak
Hi Friends, I am trying to run snmp trap receiver, by downloading net-snmp source code But its showing the error. No access configuration - dropping trap. Plz suggest me, how can I rectify it, and if this is the error due to snmptrapd.conf, plz say how i can configure it ? regards Trupti --