SCO UnixWare 7.1.4 installation

Aus Knowledgebase
Version vom 8. Oktober 2023, 13:32 Uhr von Luna (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

UnixWare

"the other" Unix system from SCO. UnixWare started as a PC Unix port from Univel (an AT&T and Novell joint venture). Then Novell bought the Unix system laboratories from AT&T and UnixWare became a Novell product. In 1995 they sold Unix to SCO. It was slowly adapted into the SCO environment and UnixWare 7 was released in 1998 sporting a range of improvements. UnixWare was an interesting and capable system that was essentially destroyed by mismanagement. Support by the open source community pretty much died off in 2003 when the lawsuits started and UnixWare was pretty much dead then. SCO essentially burnt their own house down and expected all the users to happily dance around the fire with them. Somebody with an MBA please explain to me how this was a good idea... SCO tried to unify the old SVR3.2 based Openserver and the SVR5 based UnixWare. The newer Openserver 6 was mostly ignored though.

Is it any good?

Sure. As far as the basic Unix goes, it is solid and has a number of features that are nice. It will support a lot of RAM, CPUs and it is pretty stable and fast. It's a bit like Solaris 2.5.1 to 9. The scoadmin tools are very convenient.


SCO? Aren't they evil?

Yes! And no. Old SCO wasn't evil, but quite a respectable Unix company. Then they sold the Unix business to Caldera (a Linux company) in 2001 and everything got a name change. Old SCO became Tarantella, Caldera became (new) SCO and this new SCO then became (in)famous for its lawsuits. Tarantella was bought by Sun in 2005. New SCO went bankrupt in 2012. The Openserver and Unixware systems predate all this lawsuit craziness and customers pretty much abandoned both systems as much as they could.


Installing UnixWare 7.1.4 on a PC

Fujitsu Celsius M470-2

We will be installing UnixWare on this machine: A Fujitsu Celsius M470-2: 6-core Intel Xeon W3680, 22GB RAM, 500GB SSD, Nvidia Quaddro 2000 graphics. This machine will essentially provide a maxed-out UnixWare configuration.


installation media

get your licenses ready: Data Center Edition, UDK, ODK, additional CPUs, 64GB memory support.


Installation sequence:

a complete set of media includes these CDs. You will/may not need or want everything.

'Disc01 - Base Operating Systems uw714.CD1.Jun2008.iso'

use this updated ISO. It includes more hardware support.

'Disc02 - Base Operating System Upgrade CD.iso'

'Disc03 - Optional Services CD.iso'

'Disc04 - Linux RPM CD from 7.1.3.iso'

following the lawsuits, SCO removed the GNU/Linux stuff from UnixWare. One can just use the CD that was included with UnixWare 7.1.3. This is for the "Linux kernel personality".

'Disc05 - UnixWare-OpenServer Development Kit CD.iso'

who doesn't want the developer stuff?

'Disc06 - OpenServer Kernel Personality CD.iso'

SCO offered an "Openserver personality" to migrate an existing Openserver installation. Unless you are interested in running old binaries, it is not so useful.

'Disc07 - Web Services Substrate.iso'

no need.

'Disc08 - PowerTerm Series.iso'

no need.


Install software:

/usr/X/bin/PackageMgr


Install NFS:

The ``nfs package is not one of those automatically included in the UnixWare installation process: you can change this setting using the installation menus, which allow packages to be selected or deselected as required.


install from UnixWare CD1:

mount /dev/cdrom/cdrom1 /mnt pkgadd -d /mnt nfs


Note: if you have already installed MP4 before, you will need to reinstall MP4.


configuring the system

.profile

MANPATH=/usr/local/man:/usr/dt/man:/usr/man:/usr/lib/scohelp/%L/man:/usr/share/man:scohelp:/usr/lib/scohelp/en_US.ISO8859-1/man:/usr/share/man

PATH=/usr/local/bin:/usr/gnu/bin:/usr/ccs/bin:/usr/dt/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/usr/dt/bin:/usr/bin/X11:/usr/java/bin

export MANPATH PATH

stty intr "^C" erase "^?"

CFLAGS="-O -I/usr/local/include -L/usr/local/lib"

CPPFLAGS="-I/usr/local/include"

LDFLAGS="-L/usr/local/lib -Wl,-R,/usr/local/lib"

export CFLAGS CPPFLAGS LDFLAGS


#CONFIG_SHELL=/bin/ksh
CONFIG_SHELL=/usr/local/bin/bash
export CONFIG_SHELL

LC_CTYPE=de_DE.850
export LC_CTYPE

if [ $TERM = "xterm-256color" ]
   then TERM=vt100; export TERM
fi


.bashrc:

# set a fancy prompt
PS1='\u@\h:\w\$ '
export PS1


"Unregistered SCO software is installed on your system."

UnixWare keeps nagging you to register your software with SCO. So far I have not found any way to make it shut up.

the message supposedly comes from:
For telnet connections: /usr/lib/iaf/in.login/scheme
For login : /usr/lib/iaf/login/scheme (/usr/bin/login)
these are binary files.


NFS mount errors:

UX:nfs mount: ERROR: get_addr: (host audrey, program 100003, version 3) is not found on any transport

it's a server/unixware incompatiblity.
UnixWare NEEDS udp for NFS.

for a modern Linux server check that you have this enabled in /etc/nfs.conf:

[nfsd]
udp=y
tcp=y
vers2=y
vers3=y
vers4=y

even then, UnixWare might try to mount shares as NFSv3, but it won't work correctly.
In that case, try settting NFSv2 manually:

mount -F nfs -o vers=2 audrey:/export/sources /mnt


Install maintenance pack 4 (MP4):

   2. Do one of the following:
         + If you are installing the maintenance pack from CD, insert the
           maintenance pack CD into the primary CD drive and enter:
# mount /dev/cdrom/cdrom1 /install

          + If you are installing this maintenance pack from the web,
           download the uw714mp4.iso file to your server from:

           In the directory where you downloaded the uw714mp4.iso file,
           enter:
# mount `marry -a uw714mp4.iso` /install
   3. Change directory to /install:
# cd /install

   4. Do one of the following:
        A. To install the required uw714mp4 set and the updated packages
           on your system, enter:
# ./install.sh


building software

UnixWare used to have a more-or-less decent open source support. SCO provided gcc-2.95.3 and this works mostly fine, except for some declaration problems from time to time. After 2003 open source support died off. I could not get any more modern gcc version to work reliably on UnixWare.


gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional cplus-dem.c -o cplus-dem.o In file included from cplus-dem.c:63: ../include/libiberty.h:293: conflicting types for `vasprintf' /usr/gnu/lib/gcc-lib/i586-unknown-sysv5/2.95.3pl1/include/stdio.h:374: previous declaration of `vasprintf' make: *** [cplus-dem.o] Error 1

just uncomment the definition of vasprintf in include/libiberty.h



tar-1.11.8:

needs a newer version of config.guess or just give the platform.


sed-3.0.2 doesn't work correctly.


ncurses-5.9:

./configure --without-cxx --without-ada


inet_addr undefined: link with -lsocket