Migrating Oblik to SCO OpenServer 5.0.7
Task: migrate Oblik from a physical server running SCO OpenServer 5.0.7 with an 80 GB HDD to a VMware 5.5 virtual machine with a 20 GB HDD.
Installed a new SCO OpenServer 5.0.7 build for VMware.
Transferred archives of the following directories from the original server: /usr/pro (transferred in 2 parts because tar could not create an archive larger than 2 GB) and /usr/dlc.
Created users: admin:x:200:200::/usr/pro/admin/home:/bin/sh progress:x:220:200::/usr/dlc/home:/bin/sh dbadmin:x:201:200::/usr/pro/home:/bin/sh
Set passwords.
Fix Backspace being treated as Enter:
stty intr '^C'
Set global variables:
echo "DLC=/usr/dlc export DLC" >> /etc/profile
Rebooted to check and saw that the variables were present.
Next...
echo "PATH=$PATH:/usr/dlc/bin:/usr/pro/bin PROMSGS=$DLC/prolang/rus/promsgs.rus PROTERMCAP=$DLC/protermcap export PROMSGS PROTERMCAP PATH" >> /etc/profile
!!! Found the same environment variables in /usr/pro/home/.profile.
Removed everything added to /etc/profile.
Log in to Reflection as admin. Got:
No server for database db/back_up. (1423)
I think Progress is not starting.
Checked SET—no Progress variables or paths. Went looking and found them in /.profile.
Add:
echo "# # Added for Progress: begin DLC=/usr/dlc PROMSGS=\$DLC/prolang/rus/promsgs.rus PROTERMCAP=\$DLC/protermcap export DLC PROMSGS PROTERMCAP PATH=\$PATH:.:\$DLC/bin:\$HOME/bin:/usr/pro/bin:/usr/local/bin:/usr/OBED # Added for Progress: end" >> .profile
It worked; after logging in, we have:
# set
COLUMNS=115
DLC=/usr/dlc
ENV=${_ENVFILE[(_=1)+(_$-=0)-_${-%%*i*}]}
HOME=/
HZ=100
IFS=
LINES=39
LOGNAME=root
MAIL=/var/spool/mail/root
MAILCHECK=600
MF_ADM=adm.cat@Unix
MSG_MAIL=1
MS_PROFILE=1
OPTIND=1
PATH=/bin:/etc:/usr/bin:/tcb/bin:.:/usr/dlc/bin://bin:/usr/pro/bin:/usr/local/bin:/usr/OBED:/usr/new/bin
PROMSGS=/usr/dlc/prolang/rus/promsgs.rus
PROTERMCAP=/usr/dlc/protermcap
PS1=#
PS2=>
SHELL=/bin/sh
SSH_CLIENT=192.168.112.155 53011 22
SSH_CONNECTION=192.168.112.155 53011 192.168.112.99 22
SSH_TTY=/dev/ttyp0
TERM=ansi
TZ=EET-2EETDST,M3.5.0/3,M9.5.0/3
USER=root
_ENVFILE=/.kshrc
Start it and get:
# proutil
PROGRESS Version 7.3C01 as of Mon Sep 18 19:00:10 EDT 1995
-К г-L¬-К ЦL=¬=БЛ ¬-О ¦L. (940)
Hooray. The production server produced the same result.
Log in as Admin. Get:
Checked:
# mbpro
Batch processing will be performed using:
PROGRESS Version 7.3C01 as of Mon Sep 18 19:00:10 EDT 1995
# ** еА-ят¦ы- сяL©+ PROGRESS тсяМрят ътАстLСL- ¦сL¦яЯрсы. (1144)
The same as on the source server.
Run:
Saw:
Fixed it:
HOORAY! Admin started.
Add an application user: useradd