<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<blockquote TYPE=CITE>
<pre>When I see the /usr/OV/log/netmon.trace , it shows the
next message :
/usr/OV/bin/nmcheckconf: ERROR: LAN interface "Name" not UP and RUNNING.
**** Warnings from /usr/OV/bin/nmcheckconf configuration check script
Does anybody know what is the meaning of this message and how can I fix
it ?
</pre>
</blockquote>
<p><br>I have found that this is caused by an error in the
/usr/OV/bin/nmcheckconf
script file.
<br>If you execute netstat -i | cut -d -f1 you will see that the
output is presented as a table
<br>with column headings, the first one is "Name".
<br>The comments indicate that if "Name" is found it will be ignored, trouble
is that they forgot to code it.
<br>Add the following line to the "if clause" as indicated below:
<br> \( "${interface}" = "Name" \)
-o \
<br>Here is the fixed "if clause" (with comments).
<br>#
<br># CHECK LAN INTERFACE CARD
<br>#
<p>interfaceError=FALSE
<br>interfaceCount=0
<p>for interface in `netstat -i | cut -d' ' -f1` ; do
<p> # If ifconfig does not complain about
the interface you hand it,
<br> # e.g., it does not complain that you gave it the 'Name'
column label
<br> # from netstat output or 'ni0*' (used
for serial link IP) on HP-UX
<br> # then
<p> if ifconfig ${interface} 1> /dev/null 2>&1 ; then
<br> # Do NOT look at the loop back interface.
<br> # A subnet mask of "ff000000" is valid
for loopback interface.
<br> # DWD : 11JAN01 : Ignore "Name" Label
<br> if [ \( "${interface}" = "lo0" \) -o
\
<br> \(
"${interface}"
= "Name" \) -o \
<br>
\( "${interface}" = "sna0" \) ] ; then
<br> continue
<br> fi
<p>========================================
<br>Don Davis - Tivoli Certified Consultant / Instructor
<br>Alliance of Professionals and Consultants, Inc.
<br>Phone: 919-510-9696
<br>Visit our Web site at: <A
HREF="http://www.apc-services.com">http://www.apc-services.com</A>
|