+ sh -xe + '[' -f /tmp/.noNVPrereqCheck ']' + set +e ++ pwd + HOMEDIR=/usr/local/Tivoli/bin/linux-ix86 + '[' -f /tmp/TME_nv6000.debug ']' + '[' '' = true ']' + '[' '' '!=' '' ']' + '[' base = '' ']' + id + grep -v 'uid=0(' + UN_RELEASE=2.4.18-64GB-SMP + UN_MACHINE=i686 + UN_SYSTEM=Linux + UN_VERSION=#1 SMP Wed May 29 15:37:15 UTC 2002 + FAILURE=0 + unset INTERP + LANG=en_US + export LANG + LD_LIBRARY_PATH=/usr/OV/lib:/usr/OV/lib:/usr/local/lib:/usr/lib:/usr/ucblib:/usr/OV/lib + export LD_LIBRARY_PATH + INTERP=linux-ix86 + '[' -z linux-ix86 ']' + VARspace=8180 + TMPspace=5120 + ROOTspace=2048 + MBYTE=1024 + PRODUCT_NAME= + UPGRADETOFRESH=/tmp/.NVupgradetofresh + '[' -f /tmp/.NVupgradetofresh ']' + '[' base = base_update ']' + '[' base = client_update ']' + MIN_MEMORY=128 + '[' linux-ix86 = osf-axp ']' + MIN_PAGING=256 ++ expr 256 / 2 + MIN_AVAIL_PAGING=128 + PRODUCT_NAME=Tivoli NetView Server + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + NVspace=600000 + '[' -d /usr/OV/databases/openview ']' + '[' '' = 1 ']' + '[' -d /usr/OV.back.vr/databases/openview ']' + '[' base = base ']' + '[' -f /usr/OV/bin/nv6000_client ']' + '[' -f /usr/OV/bin/pnv_client ']' + '[' base = client ']' + '[' base = client_update ']' + '[' base = base ']' + '[' -f /usr/OV/service/version ']' + '[' base = base ']' + '[' -d '/usr/OV.back.v[4-9]r[0-9]' ']' + '[' base = client ']' + '[' base = base_update ']' + '[' base = client_update ']' + '[' base = base_update ']' + '[' base = client_update ']' + '[' base = client_update ']' + '[' '!' -f /usr/OV/install/tools/nvstand.sh ']' + '[' base = base_update ']' + prereq_check + '[' '' = true ']' + error=0 + echo 'Checking for software prerequisites...\c' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = osf-axp ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + '[' -f /etc/SuSE-release ']' + PREREQ_KITS=ucdsnmp pdksh xextra binutils + /bin/rpm -qa + grep ucdsnmp + '[' 0 '!=' 0 ']' + /bin/rpm -qa + grep pdksh + '[' 0 '!=' 0 ']' + /bin/rpm -qa + grep xextra + '[' 0 '!=' 0 ']' + /bin/rpm -qa + grep binutils + '[' 0 '!=' 0 ']' + return 0 + '[' 0 '!=' 0 ']' + echo ' OK' + memory_check + '[' '' = true ']' + PAGE_TO_MBYTE=128 + error=0 + ACT_MEMORY=0 + echo 'Checking for sufficient system memory...\c' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = osf-axp ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' ++ grep MemTotal: /proc/meminfo ++ awk '{print $2}' + TMP_MEMORY=515088 ++ expr 515088 / 1000 + ACT_MEMORY=515 + '[' linux-ix86 = aix4-r3 ']' + '[' 515 -lt 128 ']' + echo ' OK' + echo 'Checking for sufficient paging space...\c' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = osf-axp ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' ++ grep SwapTotal: /proc/meminfo ++ awk '{print $2}' + TMP_SWAP=1036152 ++ expr 1036152 / 1000 + TOTAL_SWAP=1036 ++ grep SwapFree: /proc/meminfo ++ awk '{print $2}' + TMP_SWAP=1034404 ++ expr 1034404 / 1000 + AVAIL_SWAP=1034 + '[' linux-ix86 = aix4-r3 ']' + '[' 1036 -lt 256 ']' + echo ' OK' + '[' base = base ']' + echo 'Checking for unused paging space...\c' + '[' 1034 -lt 128 ']' + echo ' OK' + return 0 + ret_error=0 + '[' 0 '!=' 0 ']' + echo 'Checking for sufficient disk space...\c' + disk_check + '[' '' = true ']' + return_code=0 + '[' '!' -d /usr/OV ']' + '[' 1 ']' + err=0 + cd /usr/OV + '[' linux-ix86 = aix4-r3 ']' ++ /bin/df -k . ++ sed -n 2p ++ /bin/awk '{print $6}' + NVmountpt=/ ++ /bin/df -k . ++ sed -n 2p ++ /bin/awk '{print $4}' + NVfreespa=6440952 + '[' 6440952 -lt 600000 ']' + break ++ expr 0 + 0 + return_code=0 + '[' base = base_update ']' + '[' base = client_update ']' + '[' 1 ']' + err=0 + cd /var/spool + '[' linux-ix86 = aix4-r3 ']' ++ /bin/df -k /var/spool ++ sed -n 2p ++ /bin/awk '{print $6}' + VARmountpt=/ ++ /bin/df -k /var/spool ++ sed -n 2p ++ /bin/awk '{print $4}' + VARfreespa=6440952 + '[' 6440952 -lt 8180 ']' + break ++ expr 0 + 0 + return_code=0 + cd /usr/local/Tivoli/bin/linux-ix86 + '[' linux-ix86 = aix4-r3 ']' ++ /bin/df -k /tmp ++ sed -n 2p ++ /bin/awk '{print $4}' + TMPfreespa=6440948 + '[' 6440948 -lt 5120 ']' + '[' linux-ix86 = aix4-r3 ']' ++ /bin/df -k / ++ /bin/awk '{print $4}' ++ sed -n 2p + TMPfreespa=6440948 + '[' 6440948 -lt 2048 ']' + return 0 + ret_error=0 + '[' 0 '!=' 0 ']' + echo ' OK' + '[' linux-ix86 = osf-axp ']' + network_check + '[' '' = true ']' + ret=0 + tcpip_check + '[' '' = true ']' + echo 'Checking if network daemon is running...\c' + '[' linux-ix86 = osf-axp ']' + /bin/ps -ef + grep inetd + grep -v 'grep inetd' + '[' 0 '!=' 0 ']' + echo ' OK' + echo 'Checking if communications are up on the system...\c' + ping_check 127.0.0.1 + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/ping -c 1 127.0.0.1 + grep '100% packet loss' /tmp/ping.tmp + grep 'unknown host' /tmp/ping.tmp + grep 'NOT FOUND' /tmp/ping.tmp + rm /tmp/ping.tmp + return 0 + '[' 0 '!=' 0 ']' ++ uname -a ++ /bin/awk '{print $2}' + HOSTNAME=suse + ping_check suse + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/ping -c 1 suse + grep '100% packet loss' /tmp/ping.tmp + grep 'unknown host' /tmp/ping.tmp + grep 'NOT FOUND' /tmp/ping.tmp + rm /tmp/ping.tmp + return 0 + '[' 0 '!=' 0 ']' + echo ' OK' + return 0 + '[' 0 '!=' 0 ']' + snmp_check + '[' '' = true ']' + echo 'Checking if SNMP daemon is running...\c' + '[' linux-ix86 = osf-axp ']' + /bin/ps -ef + grep snmpd + grep -v 'grep snmpd' + '[' 0 '!=' 0 ']' + echo ' OK' + return 0 + '[' 0 '!=' 0 ']' + '[' base = base ']' + ports_check + '[' '' = true ']' + echo 'Checking the availability of Tivoli NetView ports...\c' + '[' linux-ix86 = solaris2 ']' + NETVIEW_UDP_PORTS=162 163 164 + NETVIEW_TCP_PORTS=162 163 164 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 2112 2113 3113 8888 9999 + PORT_FAIL_LIST= + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.162$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.163$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.164$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1661$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1662$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1663$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1664$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1665$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1666$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1667$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1668$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1669$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1670$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.1671$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.2112$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.2113$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.3113$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.8888$' + rc=1 + '[' 1 = 0 ']' + check_tcp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /tcp/ { print $4 }' + /bin/grep -e '.*\.9999$' + rc=1 + '[' 1 = 0 ']' + check_udp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r1 -o linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /udp/ { print $4 }' + /bin/grep -e '.*\.162$' + rc=1 + '[' 1 = 0 ']' + check_udp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r1 -o linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /udp/ { print $4 }' + /bin/grep -e '.*\.163$' + rc=1 + '[' 1 = 0 ']' + check_udp_port + '[' '' = true ']' + '[' linux-ix86 = solaris2 ']' + '[' linux-ix86 = aix4-r1 -o linux-ix86 = aix4-r3 ']' + '[' linux-ix86 = linux-ix86 -o linux-ix86 = linux-s390 ']' + /bin/netstat -n -a + /bin/awk '$1 ~ /udp/ { print $4 }' + /bin/grep -e '.*\.164$' + rc=1 + '[' 1 = 0 ']' + '[' '' '!=' '' ']' + echo ' OK' + return 0 + '[' 0 '!=' 0 ']' + '[' linux-ix86 = osf-axp ']' + return 0 + ret_error=0 + '[' 0 '!=' 0 ']' + '[' 0 -gt 1 ']' + '[' 0 = 1 ']' + echo Continuing... + echo '' + exit 0 + sh -xe + UPGRADETOFRESH=/tmp/.NVupgradetofresh + '[' -f /tmp/.NVupgradetofresh ']' + '[' base = base_update ']' + '[' '!' -d /usr/OV ']' + '[' '!' -d /usr/bin ']' + '[' '!' -d /usr/lpp ']' + '[' -d ./usr ']' + mv ./usr ./usr.26847 + '[' -d ../usr ']' + mv ../usr ../usr.26847 + ln -sf /usr . + ln -sf /usr .. + '[' -d ./etc ']' + mv ./etc ./etc.26847 + ln -s /etc . + '[' '!' -d /usr/lib/objrepos ']' + mkdir -p /usr/lib/objrepos + '[' base = base_update ']' ++ echo /tmp/NVS_712_BIN_before.error /tmp/NVS_712_NVFCONF_after.error + files=/tmp/NVS_712_BIN_before.error /tmp/NVS_712_NVFCONF_after.error + '[' '/tmp/NVS_712_BIN_before.error /tmp/NVS_712_NVFCONF_after.error' '!=' '' ']' ++ echo /tmp/NVS_712_BIN_before.error ++ awk -F. '{print $1}' + tempsa=/tmp/NVS_712_BIN_before + cp /tmp/NVS_712_BIN_before.error /tmp/NVS_712_BIN_before.debug