LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-02-2014, 03:05 PM   #1
khung
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 (http://www.net-snmp.org/wiki/index.php/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: [127.0.0.1]:52684->[127.0.0.1]
Connection from UDP: [127.0.0.1]:52684->[127.0.0.1]
Connection from UDP: [127.0.0.1]:52684->[127.0.0.1]
Connection from UDP: [127.0.0.1]:52684->[127.0.0.1]
Connection from UDP: [127.0.0.1]:52684->[127.0.0.1]
Connection from UDP: [127.0.0.1]:52684->[127.0.0.1]

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, 03:09 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,316

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

http://www.linuxquestions.org/questi...-a-4175516609/
 
  


Reply


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 05:57 PM
Wine is not very well configured. john nomad Linux - Software 4 10-02-2005 11:02 AM
cannot get x configured paul62 *BSD 2 05-10-2005 10:11 AM
X is not configured hhegab Fedora 4 05-03-2004 11:31 AM
Has anyone configured PortSentry LanceS Linux - Security 1 10-22-2001 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:53 PM.

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