Hi,

this happened in both environments, on my Linux 2.4 PC and embedded.

I think the main problem was, that I tried to put all rules
(oldEngineID, engineBoots from snmpd.conf and access control ones
from snmp.conf) in one file snmpd.conf.

Then starting the agent snmpd.conf seems to be updated and all
access control entries are gone. Now I have 2 files (even in the
same directory on my embedded device) and everything is fine.

Are two conf files mandatory? Is this correct?

Regards, Marco.

Wes Hardaker wrote:

On Wed, 23 Jun 2004 17:30:58 +0200, "Marco Waller" <[EMAIL PROTECTED]> said:


Marco> '/usr/local/sbin/snmpd -C -c /usr/share/snmp/snmpd.conf -Dread_config'

Marco> results in the message

Marco> 'read_config: Optional File "��" does not exist.
Marco> �� : No such file or directory'

Marco> All my entries are read successfully. Is this message serious?
Marco> Does the agent expect a second file in the command line?
Marco> I know there is a file /var/net-snmp/snmpd.conf with these
Marco> 'engineBoots' and 'oldEngineID' entries. But when I tell him
Marco> this with '-c /usr/share/snmp/snmpd.conf,/var/net-snmp/snmpd.conf'
Marco> I get the same message.

Marco> Moreover my /usr/share/snmp/snmpd.conf is overwritten with
Marco> a file containing only a 'engineBoots' and 'oldEngineID' entry.

Marco> Why does the agent do that? And what do these parameters mean?
Marco> Can't find them in the documentation. 'man snmpd.conf' only
Marco> describes 'engineID'.

All of what you are describing should basically never happen.  So, I'm
rather confused.  /usr/share/snmp/snmpd.conf should never be
overwritten unless you specified that as the storage location when you
ran configure (overriding the default /var/net-snmp directory it
suggested).

If this is in an embedded environment, I'm afraid I suspect the
compiler doing strange things with either dynamic libraries or, um,
shared memory, or um, something else...



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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

Reply via email to