query on using system call

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

 

            I am using a system call in my snmp agent code where I want
to run a script in the background. This scripts does some tasks & at the
end it wants to restart the snmpd with the latest configuration, so it
tries to restarts the snmpd with the new snmpd.conf.

 

Now the snmpd doesn't come up & infact it throws an error { Error
opening specified endpoint "udp:161" } & because of this any no. of
times I try to restart snmpd on the same port it doesn't come up unless
I restart the board. It also gives the same error If I even comment the
restart of snmpd in the script & do the same.

 

But when I run the script manually to test on the same (not from the
snmp agent system call directly on the board) snmpd is able to come up. 

 

Any sort of Help will be highly thankful.

Looking fwd for the help

 

 

Thanks & Regards,

Sudhir Pnvd

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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.