I sent the mail a little too soon... The problem is netsnmp_daemonize is returning with error. This is the issue with the fork. Is there a patch available for uClinux replacing this with vfork().
Sridhar On 12/26/05, Sridhar Addagada <[EMAIL PROTECTED]> wrote: > Hi Robert, > Used snmpconf to generate snmp.conf and snmpd.conf attached are the > files. These are very basic the agent have been defaulted to version > 1. > > I did run config.guess on the target system got the following error > "out of string space". The issue with the logging i had disabled > logging. Given below is the output of the "snmpd -H". Any help is > appreciated. > > # snmpd -H > No log handling enabled - turning on stderr logging > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. > Run "snmpconf -g basic_setup" to help you configure the snmpd.conf > file for this agent. > Configuration directives understood: > In snmpd.conf and snmpd.local.conf: > authtrapenable 1 | 2 (1 = enable, 2 = disable) > trapsink host [community] [port] > trap2sink host [community] [port] > informsink host [community] [port] > trapsess [snmpcmdargs] host > trapcommunity community-string > agentuser userid > agentgroup groupid > agentaddress SNMP bind address > quit (1|yes|true|0|no|false) > leave_pidfile (1|yes|true|0|no|false) > injectHandler injectHandler NAME INTONAME [BEFORE_OTHER_NAME] > add_row table_name indexes... values... > com2sec [-Cn CONTEXT] secName > IPv4-network-address[/netmask] community > com2secunix [-Cn CONTEXT] secName sockpath community > createUser username (MD5|SHA) passphrase [DES [passphrase]] > group name v1|v2c|usm|... security > access name context model level prefx read write notify > view name type subtree [mask] > rwcommunity community [default|hostname|network/bits [oid]] > rocommunity community [default|hostname|network/bits [oid]] > rwuser user [noauth|auth|priv [oid]] > rouser user [noauth|auth|priv [oid]] > sysdescr description > syslocation location > syscontact contact-name > sysname node-name > sysservices NUMBER > sysobjectid OID > engineID string > engineIDType num > engineIDNic string > In snmp.conf and snmp.local.conf: > doDebugging (1|0) > debugTokens token[,token...] > logTimestamp (1|yes|true|0|no|false) > printNumericEnums (1|yes|true|0|no|false) > printNumericOids (1|yes|true|0|no|false) > escapeQuotes (1|yes|true|0|no|false) > dontBreakdownOids (1|yes|true|0|no|false) > quickPrinting (1|yes|true|0|no|false) > numericTimeticks (1|yes|true|0|no|false) > oidOutputFormat integerValue > suffixPrinting integerValue > extendedIndex (1|yes|true|0|no|false) > printHexText (1|yes|true|0|no|false) > printValueOnly (1|yes|true|0|no|false) > dontPrintUnits (1|yes|true|0|no|false) > hexOutputLength integerValue > dumpPacket (1|yes|true|0|no|false) > reverseEncodeBER (1|yes|true|0|no|false) > defaultPort integerValue > defCommunity string > noTokenWarnings (1|yes|true|0|no|false) > noRangeCheck (1|yes|true|0|no|false) > persistentDir string > tempFilePattern string > noDisplayHint (1|yes|true|0|no|false) > 16bitIDs (1|yes|true|0|no|false) > clientaddr string > serverSendBuf integerValue > serverRecvBuf integerValue > clientSendBuf integerValue > clientRecvBuf integerValue > defSecurityModel string > defSecurityName string > defContext string > defPassphrase string > defAuthPassphrase string > defPrivPassphrase string > defAuthMasterKey string > defPrivMasterKey string > defAuthLocalizedKey string > defPrivLocalizedKey string > defVersion 1|2c|3 > defAuthType MD5|SHA > defPrivType DES|AES > defSecurityLevel noAuthNoPriv|authNoPriv|authPriv > > Thanks, > Sridhar > > On 12/23/05, Robert Story <[EMAIL PROTECTED]> wrote: > > On Thu, 22 Dec 2005 22:49:45 +0530 Sridhar wrote: > > SA> I have been trying to compile net-snmp to run on uClinux system on > > SA> ML401 board. The make was exiting with an error "Invalid > > SA> configuration mb not recognized". This i traced to the config.sub. > > SA> In this file I made a change in the that file. > > > > How did you configure net-snmp? Can you run config.guess on the target > > system > > and tell us what it reports? > > > > SA> Now that question out of way, i have another small issue. Now i got > > SA> the snmpd binary, but when i try to run it, it exits with error 1. > > > > Did you check the log files to see why it exited? > > > > SA> This is possible because the snmpd is not able to file the snmp.conf > > SA> and snmpd.conf files to load the configuration. > > > > No, it shouldn't exit without these files. Something else is failing. > > > > -- > > NOTE: messages sent directly to me, instead of the lists, will be deleted > > unless they are requests for paid consulting services. > > > > Robert Story; NET-SNMP Junkie > > Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> > > Archive: > > <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> > > > > You are lost in a twisty maze of little standards, all different. > > > > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
