1855383 Members
4361 Online
104110 Solutions
New Discussion

lanmond -l -d ??

 
SOLVED
Go to solution
Edgar Canaan
Occasional Advisor

lanmond -l -d ??

Hello All,

I have this cluster (4 nodes) in which I noticed two of them have a debug option set on for the lanmond daemon: lanmond -l -d
This is generating a big log file and I want to turn this option off ???
In a world without walls there is no need for gates and windows...
3 REPLIES 3
Angus Crome
Honored Contributor

Re: lanmond -l -d ??

Don't know much about the clustering functions, however, I would first check the typical places.

These would be all the config files in /etc/rc.config.d/

/etc/inetd.conf

Check the man page for lanmond. I am guessing it is installed with the cluster software?
If it is anything like ServiceGuard, then the config files and settings would be in the service guard configuration files instead.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
harry d brown jr
Honored Contributor

Re: lanmond -l -d ??

You'll probably have to stop the daemon, and then restart it with the debug option turned off. As stated by the previous poster, you have to find the source that started this with the debug option on. Check your /etc/rc.config.d and /sbin/init.d directories:

find /etc/rc.config.d -type f -exec grep -l lanmond {}
;

then more the files that show up and look for that "-d" option being added to the startup of lanmond.


live free or die
harry
Live Free or Die
Rainer von Bongartz
Honored Contributor
Solution

Re: lanmond -l -d ??


lanmond is part of the Event Monitoring Services (EMS).

take a look at the file

/etc/opt/resmon/dictionary/mibmond.dic

You will find an entry like
# The LAN status, derived from MIB II
RESOURCE_NAME: /net/interfaces/lan/status
MONITOR: /etc/opt/resmon/lbin/lanmond -l -d

remove the -d option from this line and restart EMS

/sbin/init.d/emsa stop
/sbin/init.d/emsa start

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...