Hi Dave, everyone,

I have managed to identify where loading of snmpd fails. 

As a backgrounder, I mentioned that I load snmpd (along with other network
services) at a very early boot-up stage prior to executing /sbin/init. 
As added info, normal execution of linux services are done by /sbin/init as
it reads and executes run levels specified in /etc/inittab. 
This means that my call to snmpd is much earlier than what is normally done,
probably by most people.

Even though I do this at a very early boot-up stage, network is already
enabled prior to my snmpd call. And likewise, other net services such as
ProFTPd, sshd, boa, and even postgres DB, etc, are also launched, and become
available at that very early stage.

Now here's the weird part. If I call upon snmpd without a configuration, it
gets launched! So I figured, something in the config that aborts it from
launching. After a few config tweaks and reboot tries, I realized that if I
start snmpd without "disk..." lines in the config (only "proc" lines), snmpd
gets launched properly, and the prTable is remotely available for checking.
Also at this point, all necessary disk and fs mounts are likewise, already
available. 

What I can't figure out, is what causes snmpd-5.3.1 to choke on its
launching if done prior to /sbin/init, if "disk" lines to monitor dskTables
are present? It's also worth checking further if which OIDs are similarly
crippled at that very early stage.

Anyways, I anyone has any idea. I'm all ears.


Checking further and best regards,
Vic



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to