DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

openserver(1)


openserver -- switch to OpenServer environment from UnixWare environment

Synopsis

openserver[command [args]]

Description

Use this command from a UnixWare shell to execute an OpenServer command in an OpenServer shell environment, or (with no arguments) switch to an OpenServer shell. The command given, if any, must be followed by any required arguments to the OpenServer command.

The openserver command uses chroot(2) to switch to the OpenServer root file system (/openserver). Values for environment variables are taken from the file /unixware/etc/default/scompat, if present. If not found in this file, the openserver command will use these defaults:

LANG C
PATH /bin:/usr/bin:/etc
PS1 [openserver]
SCOMPAT 3.2:5.0.7:SCO_SV:3.2v5.0.6
SHELL /bin/sh
TZ GMT0

 +--------+----------------------------+
 | LANG   |             C              |
 +--------+----------------------------+
 |PATH    | /bin:/usr/bin:/etc         |
 +--------+----------------------------+
 |PS1     | [openserver]               |
 +--------+----------------------------+
 |SCOMPAT | 3.2:5.0.7:SCO_SV:3.2v5.0.6 |
 +--------+----------------------------+
 |SHELL   | /bin/sh                    |
 +--------+----------------------------+
 |TZ      | GMT0                       |
 +--------+----------------------------+

See the comments in the file /unixware/etc/default/scompat for more information. Environment variables can also be set by prepending them to the openserver command.

Notes

Some OpenServer commands are available under /OpenServer/bin in the UnixWare root file system. You can execute any of these commands from a UnixWare shell by using the full path to the command, as in this example:
   /OpenServer/bin/cpio

Executing OpenServer commands in this manner, however, is done within the current UnixWare shell environment.

Errors

Errors have been observed when an rsh command is used in a pipe, as is done internally by the import(1M) command. While import does not return an error, executing the openserver command returns an error after an import that failed because of rsh-related errors:
   UX: openserver: WARNING: unable to change directory into /unixware/
   UX: openserver: ERROR: Exec error: Exec format error

To work around this error, run the import(1M) command again. The openserver should then execute successfully. Repeated failures could indicate a network problem that is preventing the import command from completing.

See Also

import(1M), migrate(1M), unixware(1), osrtruss(1), xemul(1)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004