Configuration File Error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
c341
Participant
Posts: 39
Joined: Mon Jan 26, 2004 8:43 pm

Configuration File Error

Post by c341 »

Hello,
I'm getting this erro when I check my configuration file in the Manager. How do I solve this problem.

============================================
##I TOCK 000000 19:08:38(001) <main_program> OS Charset: ISO-8859-1
##I TOCK 000000 19:08:38(002) <main_program> Input Charset: UTF-8
##I TFSC 000001 19:08:38(003) <main_program> APT configuration file: C:/Ascential/DataStage/Configurations/default.apt
C:/Ascential/DataStage/PXEngine/etc/vsvars32.ksh 69: C:/Ascential/DataStage/PXEngine/etc/standalone.sh: cannot fork: Access is denied.
##E TFPM 000152 19:09:08(000) <main_program> Accept timed out retries = 4
C:/Ascential/DataStage/PXEngine/etc/vsvars32.ksh 69: C:/Ascential/DataStage/PXEngine/etc/standalone.sh: cannot fork: Access is denied.
C:/Ascential/DataStage/PXEngine/etc/vsvars32.ksh 69: C:/Ascential/DataStage/PXEngine/etc/standalone.sh: Internal error: j_close: no processes
##E TFPM 000152 19:09:38(000) <main_program> Accept timed out retries = 3
##E TFPM 000153 19:09:38(001) <main_program> The section leader on ALTEC died
##E TFPM 000356 19:09:38(002) <main_program>

**** Parallel startup failed ****

This is usually due to a configuration error, such as
not having the Orchestrate install directory properly
mounted on all nodes, rsh permissions not correctly
set (via /etc/hosts.equiv or .rhosts), or running from
a directory that is not mounted on all nodes. Look for
error messages in the preceding output.


##I TFPM 000177 19:09:38(003) <main_program> Step started on node ALTEC; it uses 1 nodes.
The program running the step is /C=/Ascential/DataStage/PXEngine/bin/orchadmin.exe.

##I TFPM 000178 19:09:38(004) <main_program> The ORCHESTRATE startup program in /C=/Ascential/DataStage/PXEngine/etc/standalone.sh is being used.

##I TFPM 000181 19:09:38(005) <main_program> A startup script is not being used.

##I TFPM 000183 19:09:38(006) <main_program> The TCP port being used for startup is 10000; the associated socket number is 3.

##I TFPM 000184 19:09:38(007) <main_program>
Node status:


##I TFPM 000185 19:09:38(008) <main_program> ALTEC -
##I TFPM 000187 19:09:38(009) <main_program> rsh issued, no response received


##E TFPM 000247 19:09:38(010) <main_program> Unable to contact one or more Section Leaders.
Probable configuration problem; contact Orchestrate system administrator.

##E TFSR 000011 19:09:38(011) <main_program> Step execution finished with status = FAILED.
##E TOCK 000000 19:09:38(012) <main_program>
ERROR: Check configuration file failed.
==============================================
Thank You
Regards - c341
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

At a quick guess, it's incorrect (insufficient) permission on C:/Ascential/DataStage/PXEngine/etc/standalone.sh or one of the processes that it needs to fork.

Or it may be that the system has run out of available processes. This is quite rare, but not impossible, on Windows systems.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

The TCP port being used for startup is 10000; the associated socket number is 3.
Was wondering with the port nunber used.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That's just an informational message (you can tell because of the ##I at the start). The first error (##E) message indicates "Access denied." The OP (original poster) needs to resolve that first.
Last edited by ray.wurlod on Thu Apr 13, 2006 11:49 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
c341
Participant
Posts: 39
Joined: Mon Jan 26, 2004 8:43 pm

Post by c341 »

Hello,
Whats OP? How do I resolve it.
Thank You
Regards - c341
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

OP = "original poster" (you).

Have you checked the permissions as I recommended?

Have you, indeed, read all the information that is available from the messages?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
c341
Participant
Posts: 39
Joined: Mon Jan 26, 2004 8:43 pm

Post by c341 »

Hello,
I looked the file - vsvars32.ksh, standalone.sh.
I can open it from its location.

I'm using admin userid/pwd, so why its saying "Access Denied" when I use manager.

What is "Internal error: j_close: no processes "
Also I see an error "Accept timed out retries: 3"
How to avoid this timed out error.

How do I check permissions on these scripts.
How do I make sure that the system have processes available.

Thank You
Regards - c341
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You also need "x" permission to be able to execute scripts. Check for this.

The error from j_close is because it was invoked with no job open. It's a consequence of the earlier error. Ignore it for now.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
c341
Participant
Posts: 39
Joined: Mon Jan 26, 2004 8:43 pm

Post by c341 »

Hi,
standalone.sh, vsvars32.ksh - both have executable permission for all.

In the error
"C:/Ascential/DataStage/PXEngine/etc/vsvars32.ksh 69: "
whats 69?

Thank You
Regards - c341
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

An integer. A command line argument. Beyond that I have no idea. Examining the script may shed some light; asking your support provider may also prove fruitful, or may result in the response that you don't need to know.

I very much doubt that it is the cause of "access denied" or "unable to fork", which is why I gave it scant attention.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
c341
Participant
Posts: 39
Joined: Mon Jan 26, 2004 8:43 pm

Post by c341 »

I have "X" permission on these file, but still I'm getting this error - Access Denied

Standalone.sh
==========
# This script will configure the library path properly so that
# a dynamically linked standalone can run property when rsh'ed
# to another system.

# The first argument is APT_ORCHHOME
APT_ORCHHOME=$1
export APT_ORCHHOME
shift

theOS=`uname`

# Windows NT - do not set environment
if [ "${theOS}" = "Windows_NT" ] ; then
PATH="$APT_ORCHHOME/bin;$APT_ORCHHOME/lib;$PATH"
export PATH
${APT_ORCHHOME}/etc/standalone.exe $*
else
libLoc=${APT_ORCHHOME}/lib

if [ "${theOS}" = "Linux" ] ; then
LD_LIBRARY_PATH="${libLoc}:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
elif [ ${theOS} = "SunOS" ]; then
LD_LIBRARY_PATH="${libLoc}:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
elif [ ${theOS} = "AIX" ]; then
LIBPATH="${libLoc}:${LIBPATH}"
export LIBPATH
elif [ ${theOS} = "HP-UX" ]; then
# It is unknown if this does works properly. The mainline does not work
# on this os yet.
SH_LIBPATH="${libLoc}:${SH_LIBPATH}"
export SH_LIBPATH
elif [ ${theOS} = "OSF1" ]; then
# It is unknown if this does works properly. The mainline does not work
# on this os yet.
LD_LIBRARY_PATH="${libLoc}:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
else
echo "standalone.sh: The operating system [${theOS}] is not supported"
exit 1;
fi

${APT_ORCHHOME}/etc/standalone $*
fi

vsvars32.ksh
=========

##############################################################################
#
# vsvars32.ksh - Setup compiler environment for PXEngine NT platforms
#
##############################################################################

#
# Registry settings
#

REGKEY_DOTNETFRAMEWORK="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework"
REGKEY_VISUALSTUDIO="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1"
REGKEY_MKSTOOKIT="HKEY_LOCAL_MACHINE\\SOFTWARE\\Mortice Kern Systems\\Installed Products\\Toolkit for Professional Developers"

SUBKEY_INSTALLROOT="InstallRoot"
SUBKEY_SDKINSTALLROOT="sdkInstallRootv1.1"
SUBKEY_INSTALLDIR="InstallDir"

#
# Set current directory
#

if [ ! "$PWD" ] ; then
export PWD=`pwd`
fi

#
# Check if HOME has been defined
#

if [ ! "$HOME" ] ; then
# (E.G. from ControlPanel/System) so create it using
# HOMEDRIVE and HOMEPATH which are set by Windows NT
dshome="$HOMEDRIVE$HOMEPATH"

# If HOME still not set then use current directory
if [ "$dshome"x = x ]; then
dshome="${HOME:=$PWD}"
fi
else
dshome="$HOME"
fi

# convert to unix style path separators
# use print -R here to avoid escape sequences in pathnames
if [ "$dshome"x != x ]; then
dshome=`print -R "$dshome" | sed -e 's,\\\,/,g'`
fi
export HOME="$dshome"

#
# Check if MKS root directory is defined
#

if [ ! "$ROOTDIR" ] ; then
# read registry entries for MKS Toolkit
mkshome=`registry -p -k "$REGKEY_MKSTOOLKIT" -n "$SUBKEY_INSTALLDIR" 2>/dev/null`

# extract value from the quoted value return string
if [ "$mkshome"x != x ]; then
mkshome=`expr "$mkshome" : ".*\"\(.*\)\".*"`
fi
else
mkshome="$ROOTDIR"
fi

# convert to unix style path separators
# use print -R here to avoid escape sequences in pathnames
if [ "$mkshome"x != x ]; then
mkshome=`print -R "$mkshome" | sed -e 's,\\\,/,g'`
fi
export ROOTDIR="$mkshome"

#
# Root of Visual Studio ide installed files.
#

if [ ! "$VSINSTALLDIR" ] ; then
# read registry entries for VisualStudio
vshome=`registry -p -k "$REGKEY_VISUALSTUDIO" -n "$SUBKEY_INSTALLDIR" 2>/dev/null`

# extract value from the quoted value return string
if [ "$vshome"x != x ]; then
vshome=`expr "$vshome" : ".*\"\(.*\)\".*"`
fi
else
vshome="$VCINSTALLDIR"
fi

# setup compilation environment if we have a compiler present
if [ "$vshome"x != x ]; then

# convert to unix style path separators
# use print -R here to avoid escape sequences in pathnames
if [ "$vshome"x != x ]; then
vshome=`print -R "$vshome" | sed -e 's,\\\,/,g'`
fi
export VSINSTALLDIR="$vshome"

if [ ! "$VCINSTALLDIR" ] ; then
# Pop two levels from VSINSTALLDIR
vchome=`dirname "$vshome"`
vchome=`dirname "$vchome"`
else
vchome="$VCINSTALLDIR"
fi

# convert to unix style path separators
# use print -R here to avoid escape sequences in pathnames
if [ "$vchome"x != x ]; then
vchome=`print -R "$vchome" | sed -e 's,\\\,/,g'`
fi
export VCINSTALLDIR="$vchome"

#
# Root of .NET framework
#

if [ ! "$FrameworkDir" ] ; then
# read registry entries for .NET framework
nethome=`registry -p -k "$REGKEY_DOTNETFRAMEWORK" -n "$SUBKEY_INSTALLROOT" 2>/dev/null`

# extract value from the quoted value return string
if [ "$nethome"x != x ]; then
nethome=`expr "$nethome" : ".*\"\(.*\)\".*"`
fi
else
nethome="$FrameworkDir"
fi

# convert to unix style path separators
# use print -R here to avoid escape sequences in pathnames
if [ "$nethome"x != x ]; then
nethome=`print -R "$nethome" | sed -e 's,\\\,/,g'`
fi
export FrameworkDir="$nethome"

if [ ! "$FrameworkSDKDir" ] ; then
# read registry entries for VisualStudio.NET
sdkhome=`registry -p -k "$REGKEY_DOTNETFRAMEWORK" -n "$SUBKEY_SDKINSTALLROOT" 2>/dev/null`

# extract value from the quoted value return string
if [ "$sdkhome"x != x ]; then
sdkhome=`expr "$sdkhome" : ".*\"\(.*\)\".*"`
fi
else
sdkhome="$FrameworkSDKDir"
fi

# convert to unix style path separators
# use print -R here to avoid escape sequences in pathnames
if [ "$sdkhome"x != x ]; then
sdkhome=`print -R "$sdkhome" | sed -e 's,\\\,/,g'`
fi
export FrameworkSDKDir="$sdkhome"

#
# Get the .NET framework version (this is ugly)
#

netversion=`grep 'FrameworkVersion=' "$VCINSTALLDIR/Common7/Tools/vsvars32.bat" | cut -d= -f2`
export FrameworkVersion=$netversion

#
# Root of Visual C++ installed files.
#

export DevEnvDir="$VSINSTALLDIR"
export MSVCDir="$VCINSTALLDIR/VC7"

#
# NuTCRACKER cl and link wrapper
#

if [ ! "$NUTCROOT" ] ; then
export NUTCROOT="$ROOTDIR"
fi

export WIN32VC=1
export CCG="$ROOTDIR/etc/nutccg"

#
# Standard PATH, INCLUDE and LIB with compiler paths
#

export PATH="$APT_ORCHHOME/bin;$ROOTDIR/mksnt;$ROOTDIR/bin;$DevEnvDir;$MSVCDir/BIN;$VCINSTALLDIR/Common7/Tools;$VCINSTALLDIR/Common7/Tools/bin/prerelease;$VCINSTALLDIR/Common7/Tools/bin;$FrameworkSDKDir/bin;$FrameworkDir/$FrameworkVersion;$PATH"
export INCLUDE="$APT_ORCHHOME/include;$ROOTDIR/include;$MSVCDir/ATLMFC/INCLUDE;$MSVCDir/INCLUDE;$MSVCDir/PlatformSDK/include/prerelease;$MSVCDir/PlatformSDK/include;$FrameworkSDKDir/include;$INCLUDE"
export LIB="$APT_ORCHHOME/lib;$ROOTDIR/lib;$ROOTDIR/usr/lib;$MSVCDir/ATLMFC/LIB;$MSVCDir/LIB;$MSVCDir/PlatformSDK/lib/prerelease;$MSVCDir/PlatformSDK/lib;$FrameworkSDKDir/lib;$LIB"

else

#
# Standard PATH, INCLUDE and LIB without compiler paths
#

export PATH="$APT_ORCHHOME/bin;$ROOTDIR/mksnt;$ROOTDIR/bin;$PATH"
export INCLUDE="$APT_ORCHHOME/include;$ROOTDIR/include;$INCLUDE"
export LIB="$APT_ORCHHOME/lib;$ROOTDIR/lib;$ROOTDIR/usr/lib;$LIB"
fi

Is anything to do with this script.

Thank You
Regards -c341
Post Reply