Solaris 10 upgrade problems

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Mon Nov 07 2005 - 09:53:20 EST


Dear managers,

we have just upgraded a machine from Solaris 9 to Solaris 10 and tried
to set it up as a router. After a reboot the metrics look as follows:

Routing Table: IPv4
   Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
212.222.154.112 212.222.154.116 U 1 40 bge2
192.168.128.0 192.168.128.1 U 1 1 bge1
192.168.1.0 192.168.1.201 U 1 2 bge0
212.222.154.0 192.168.1.200 UG 1 0 bge0
224.0.0.0 192.168.1.201 U 1 0 bge0
default 212.222.154.113 UG 1 39
default 192.168.1.1 UG 1 13 bge0
127.0.0.1 127.0.0.1 UH 1 0 lo0

I (believe to) understand most of the rows, but not the three
emphasized lines. They were not present before the reboot and I have no
idea where the system gets this 192.168.1.200 and 192.168.1.1 stuff
from. Here are my files:

/etc/nodename:
sun

/etc/hosts:
127.0.0.1 localhost
192.168.1.201 sun-bge0 sun loghost
192.168.128.1 sun-bge1 # SUNRAY ADD - DO NOT MODIFY
212.222.154.116 sun-bge2

/etc/netmasks:
192.168.1.0 255.255.255.0
192.168.0.0 255.255.255.0
192.168.128.0 255.255.255.0 # SUNRAY ADD - DO NOT MODIFY
212.222.154.112 255.255.255.240 # Smartsoft External Network

/etc/hostname.bge0:
sun-bge0
/etc/hostname.bge1:
sun-bge1
/etc/hostname.bge2:
sun-bge0

/etc/resolv.conf:
domain smartsoft.internal
search smartsoft.internal
nameserver 192.168.1.201

/etc/nsswitch.conf:
hosts: files dns

After the reboot the dns server was not running. Trying to start it I
get

bash-3.00# /etc/init.d/inetsvc start
Setting netmask of bge0 to 255.255.255.0
Setting netmask of bge1 to 255.255.255.0
Setting netmask of bge2 to 255.255.255.240
starting internet domain name server.
Setting default IPv4 interface for multicast: add net 224.0/4: gateway
sun

inetd is now an smf(5) managed service and can no longer be run from the
command line. To enable or disable inetd refer to svcadm(1M) on
how to enable "svc:/network/inetd:default", the inetd instance.

The traditional inetd command line option mappings are:
         -d : there is no supported debug output
         -s : inetd is only runnable from within the SMF
         -t : See inetadm(1M) on how to enable TCP tracing
         -r : See inetadm(1M) on how to set a failure rate

To specify an alternative configuration file see svccfg(1M)
for how to modify the "start/exec" string type property of
the inetd instance, and modify it according to the syntax:
"/usr/lib/inet/inetd [alt_config_file] %m".

For further information on inetd see inetd(1M).

I don't know whether this is critical, but at least named is running
then. Why isn't it started at reboot (etc/named.conf exists).
Furthermore ipfilter is no longer working. When I try to rebuild it I
get

        tar xvf ip-fil3.4.27.tar
        cd ip_fil3.4.27
        /usr/ccs/bin/make solaris

if [ ! -f netinet/done ] ; then \
         (cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
         (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
         touch netinet/done; \
fi
CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
Testing compiler gcc for 64 bit object file generation.
found 32/64 bit compiler
build 32 bit binaries.
(cd SunOS5/sparc-5.10; make build TOP=../.. "CC=gcc -m32"
"BINDEST=/usr/local/bin" "SBINDEST=/sbin" "MANDIR=/usr/local/man"
'CFLAGS=-I$(TOP) -DSOLARIS2=10 -DIPFILTER_LOG'
"IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0"
"POLICY=-DIPF_DEFAULT_PASS=FR_PASS" "SOLARIS2=-DSOLARIS2=10"
"DEBUG=-g" "DCPU=" "CPUDIR=sparc-5.10" 'STATETOP_CFLAGS=-DSTATETOP'
'STATETOP_INC=' 'STATETOP_LIB=-lcurses' "BITS=32" "OBJ=sparcv7"
"IPFLKM=-DIPFILTER_LKM" "SOLARIS2=-DSOLARIS2=10" "CPU=-Dsparc
-D__sparc__"; cd ..)
gcc -m32 -g -I../.. -DSOLARIS2=10 -DIPFILTER_LOG -c ../../ipf.c -o
sparcv7/ipf.o
In file included from ../../ipf.c:36:
/usr/include/net/if.h:372: error: parse error before "zoneid_t"
/usr/include/net/if.h:394: error: parse error before '}' token
In file included from /usr/include/sys/signal.h:34,
                  from /usr/include/sys/procset.h:24,
                  from /usr/include/sys/processor.h:21,
                  from /usr/include/sys/squeue.h:16,
                  from /usr/include/inet/ip.h:29,
                  from ../../ip_compat.h:146,
                  from ../../ipf.c:44:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
...

May be I need newer sources. Has anyone already gone through this
upgrade procedure and could recommend a corresponding lecture?

Thanks for any hints!

Regards,

   Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:34:55 EDT