Re: NET SNMP TEXT COMMANDS

Ajeet Gupta <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thank You Dave,


Now it's working properly... :)

I have one more query is that how to locate the "aprintd" daemon and
"al"(for sending alarms) (I guess both is included by default in net-snmp
package), because i am unable to locate these daemons..




On Sat, Mar 6, 2010 at 6:28 PM, Dave Shield <[email protected]>wrote:

> On 6 March 2010 07:50, Ajeet Gupta <[email protected]> wrote:
> > I m getting foloowing problem while installing net-snmp 5.4.2.1 from tar
> > ball on fedora core 10 machine.
>
> > make gives the following error
> > host/hr_swinst.c  -fPIC -DPIC -o host/.libs/hr_swinst.o
> > host/hr_swinst.c: In function ‘init_hr_swinst’:
>
>
> Yes - there's problem with this particular MIB module code.
> Recent versions of Fedora are using a newer version of the RPM
> libraries (with a different API).
>
> The simplest fix is to just to omit this particular module.
> Run
>    configure --with-out-mib-modules=host/hr_swinst
>
> We hope to have this fixed in the next set of releases.
>
>
>
> > make install generates foloowing error...
>
> There is no point in running "make install" if the basic
> "make" has failed.
>   You can't install something if it hasn't been constructed
> successfully.
>
> > I am able to find the libraries in "/usr/local/lib"...but i am not able
> to
> > find commads like "snmpget,snmpset...etc." at anywhere...
> > Also I am unable to start "aprintd" daemon...It says "command not found"
> > (probably because it's not installed properly)
>
> No - because it hasn't *compiled* properly.
>
> Computers are not magic.
> If something fails, it's no good pretending that it hasn't!
>
>
>
> Omit the hr_swinst module, and everything should build fine.
>
> Dave
>



-- 
With Warm Regards,

AJEET KUMAR
MCA BIT MESRA
KOLKATA EXTENSION CENTER
CONTACT NO. : +919163552088

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

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