Problem
I'm trying to execute custom, or any of the scoadmin modules, and the command is returning an error. The error returned is "Cannot create Server contact pipe" and looks similar to the error outlined below:
# custom
Error: VtOpen failed.
(vTcl interp) Cannot create Server contact pipe
# scoadmin
Uncaught error in Tcl program: scoadmin:
(vTcl interp) Cannot create Server contact pipe
----------------------------------------------------------
-----------------
Error code = NONE
----------------------------------------------------------
-----------------
(vTcl interp) Cannot create Server contact pipe
while executing
"VtOpen $scriptName $scoHelpBook"
invoked from within
"set wsApp [VtOpen $scriptName $scoHelpBook]..."
(procedure "UIStart" line 7)
invoked from within
"UIStart $versionNumber"
invoked from within
"if [InvokeManagerMode] {
if {[SysadmshMode]} {
set str [IntlLocalizeMsg
SCO_SCOADMIN_ERR_NO_SY
S_APP [list $invokeClient]]
set InvokeManag ..."
invoked from within
"if [info exists configureMode] {
set language [IXIGetLanguage]
ConfigureDesktop
} else {
ChangeDir $rootDir
if {![InvokeManagerMode]} {
se ..."
(procedure "Main" line 13)
invoked from within
"Main"
("uplevel" body line 1)
invoked from within
"uplevel $command"
==========================================================
=================
Fatal error: (vTcl interp) Cannot create Server contact
pipe
Error Information logged to: stderr Cause
One verified cause of this problem is that custom can not write to the /tmp directory.
Solution
Check the permissions on your /tmp directory. The permissions should read drwxrwxrwt if they do not execute the following command as root:
#chmod 1777 /tmpNOTES: If the /tmp directory does not have write permission and
you try to change the permission and get an error about
/tmp being a read only filesystem check to make sure that
there isn't a CD or floppy device mounted to /tmp by
issuing running:
#mount