Problem
Some of the commands that should work in scodb(ADM) do not execute. Instead, the error message is displayed:
expected expressionSome examples of these commands are "sysdump" and "ps".
Cause
This happens because the size of the kernel symbol table has
exceeded the space that is pre-allocated for scodb. When patches
and software that affect the kernel are loaded, the kernel symbol
table size increases. When the kernel is relinked, the scodb
driver recognizes this increase and makes the necessary changes
accordingly; however, the changes are not implemented until the
kernel is relinked again. In fact, messages similar todb_symtable in unix would only fit 200000 out of 216984 bytes
Corrected table sizes in /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/scodb/tune.h ready for next re-link
accompanied the first relink, and may have been observed, even though the occurence of these is easy to miss, since the relink succeeded.
Solution
The following process rebuilds the kernel and the environment.
Change directories into:/etc/conf/cf.dThen execute:./link_unix -yThen execute:/etc/shutdown -y -g0 -i6This will reboot the server.When the server has rebooted, scodb will work correctly.
See also
Manual pages: inittab(F), init.base(F), shutdown(ADM),
link_unix(ADM), reboot(ADM), scodb(ADM)ta109310, "Gathering information when SCO OpenServer 5.0.4 system panics but does not produce a valid dump or the system hangs."