Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-02-2014, 04:05 PM   #1
LQ Newbie
Registered: Aug 2014
Posts: 4

Rep: Reputation: Disabled
iquerySecName has not been configured - how to configure this?

I'm new to Linux. I'm writing an SNMP extension agent using the MIB for Dummies ( config file (mib2c.mfd.conf). I successfully created my executable, adeSensorsTable, using my adeSensorsTable.MIB (mib2c util auto-generated the C source code from adeSensorsTable.MIB which I compiled into an executable). I then ran my executable:

./adeSensorsTable -f -L -DadeSensorsTable -M localhost:1161

I'd have a warning as I single stepped through the code:

iquerySecName has not been configured - internal queries will fail
Warning: no access control information configured.
(Config search path: /etc/snmp:/usr/share/snmp:/usr/lib/snmp:/home/ken/.snmp)
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the adeSensorsTable.conf file for this agent.
[init_smux] bind failed: Permission denied

On a separate terminal I ran:
snmpwalk -v 1 -c public localhost:1161

MyOwnTable terminal would return:
Connection from UDP: []:52684->[]
Connection from UDP: []:52684->[]
Connection from UDP: []:52684->[]
Connection from UDP: []:52684->[]
Connection from UDP: []:52684->[]
Connection from UDP: []:52684->[]

My snmpwalk terminal would return:
Timeout: No Response from localhost:1161

I'm not sure if snmp extension agent's warning is the show stopper in this case. I looked into the Man pages but there was not much of an explanation for iquerySecName in snmpd.conf file. I'd appreciate if someone could provide some pointers to my timeout issue. Thank you in advance!
Old 09-02-2014, 04:09 PM   #2
Senior Member
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,476

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
See my reply in your other thread on this


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Quite Get Samba Configured DarkNecromancer Linux - Software 3 06-25-2007 06:57 PM
Wine is not very well configured. john nomad Linux - Software 4 10-02-2005 12:02 PM
cannot get x configured paul62 *BSD 2 05-10-2005 11:11 AM
X is not configured hhegab Fedora 4 05-03-2004 12:31 PM
Has anyone configured PortSentry LanceS Linux - Security 1 10-22-2001 03:46 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration