.profile file is not running on my machine in linu

  • satyasaka
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 month ago #9198 by satyasaka
Hi frnds

i installed t24 in linux machine i configured everything. i run to .profile file its throwing errors

pls help me to this bugs.
profile.profile


[root@root bnk.run]# ./.profile
./.profile: line 136: /export/home/jbaseadm/jbaseTafc/R10/bin/jpqn: cannot execute binary file
./.profile: line 136: /export/home/jbaseadm/jbaseTafc/R10/bin/jpqn: Success

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #9216 by jpb
jpqn is just an interpreter process that runs scripts.
What is passed to jpqn (I suppose VOC/loginproc ??) and how does this script look ???
The following user(s) said Thank You: armin

Please Log in or Create an account to join the conversation.

  • madhump
  • Visitor
  • Visitor
13 years 2 weeks ago #9302 by madhump
Hi,

This is something related to TAFC / jbase related problem, Can you paste the TAFC/jbase directory structure and Relase informations,

Regards
Madhu
This email address is being protected from spambots. You need JavaScript enabled to view it.

Hi frnds

i installed t24 in linux machine i configured everything. i run to .profile file its throwing errors

pls help me to this bugs.
profile.profile


[root@root bnk.run]# ./.profile
./.profile: line 136: /export/home/jbaseadm/jbaseTafc/R10/bin/jpqn: cannot execute binary file
./.profile: line 136: /export/home/jbaseadm/jbaseTafc/R10/bin/jpqn: Success

Please Log in or Create an account to join the conversation.

  • satyasaka
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 weeks ago #9348 by satyasaka
Hi frnds

i installed t24 in linux machine i configured everything. i run to .profile file its throwing errors

pls help me to this bugs.


[t24@cpu036 bnk.run]$ ./.profile
./.profile: line 136: /export/home/t24/R10/bin/jpqn: cannot execute binary file
./.profile: line 136: /export/home/t24/R10/bin/jpqn: Success



This is the .profile file
# Base variables
################
PS1="$(uname)-\$PWD: "
export HOME=$PWD
export TAFC_HOME=/export/home/t24/R10
export JBCGLOBALDIR=$TAFC_HOME
export JBASE_PATH=$HOME/t24bin
export JBCLISTFILE=$HOME/\&SAVEDLISTS\&
umask 002
export JEDIFILENAME_MD=$HOME/VOC
export JEDIFILENAME_SYSTEM=$TAFC_HOME/src/SYSTEM
export JBCEMULATE=prime
export JBASE_ERRMSG_DIVIDE_BY_ZERO=19
export JBASE_ERRMSG_ZERO_USED=35
export JBASE_ERRMSG_NON_NUMERIC=19
export JBC_CORE_DUMP=1
export JEDIFILEPATH=$HOME
export JEDIENABLEQ2Q=1
export JBCPORTNO=1000-1999:5000-5999
# Development:
##############
export JBCDEV_BIN=$HOME/bin
export JBCDEV_LIB=$HOME/lib

# Execution:
############
export JAVA_HOME=/usr/java/jdk1.6.0_29
export PATH=$JAVA_HOME/bin:$PATH
export PATH=$PATH:$HOME/rdbmsPrograms:$PATH
export JREDIR=/usr/java/jdk1.6.0_29/jre
export PATH=/usr/bin:$JREDIR/bin:$TAFC_HOME/bin:$JBCDEV_BIN:$HOME/t24bin:.:$PATH
export JBCOBJECTLIST=$HOME/lib:$HOME/t24lib
export JBASE_JBCOBJECTLIST_DIR=1
export JRELIB=/usr/java/jdk1.6.0_29/jre/lib:$TAFC_HOME/jdk1.6.0_29/jre/lib
export LD_LIBRARY_PATH=$TAFC_HOME/lib:$JBCDEV_LIB:$JRELIB:${LD_LIBRARY_PATH:-/usr/lib}
export LIBPATH=$TAFC_HOME/lib:$JRELIB:$JBCDEV_LIB:$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/classic:${LIBPATH:-/usr/lib}
export SHLIB_PATH=$TAFC_HOME/lib:$JBCDEV_LIB:$JRELIB:${SHLIB_PATH:-/usr/lib}

# Internationalization
#######################
export JBASE_I18N=1
export JBASE_CODEPAGE=utf8
export JBASE_LOCALE=en_US
export JBASE_TIMEZONE=Europe/London

# Printer Services
##################
export JBCSPOOLERDIR=$HOME/jspooler


# Java
#######
export JAVA_HOME=/usr/java/jdk1.6.0_29
export PATH=$JAVA_HOME/bin:$PATH
export RELIB=$HOME/ruleengine
export CLASSPATH=$RELIB
export CLASSPATH=$CLASSPATH:$RELIB/rules-engine.jar
export CLASSPATH=$CLASSPATH:$RELIB/xml-apis.jar
export CLASSPATH=$CLASSPATH:$RELIB/xercesImpl.jar
export CLASSPATH=$CLASSPATH:$RELIB/xalan.jar
export CLASSPATH=$CLASSPATH:$RELIB/jaxb-api.jar
export CLASSPATH=$CLASSPATH:$RELIB/jaxb-impl.jar
export CLASSPATH=$CLASSPATH:$RELIB/jsr173_1.0_api.jar
export CLASSPATH=$CLASSPATH:$RELIB/antlr-2.7.6.jar
export CLASSPATH=$CLASSPATH:$RELIB/commons.jar
export CLASSPATH=$CLASSPATH:$RELIB/commons-codec-1.3.jar
export CLASSPATH=$CLASSPATH:$RELIB/junit-4.1.jar
export CLASSPATH=$CLASSPATH:$RELIB/jaxb-xjc.jar
export CLASSPATH=$CLASSPATH:$RELIB/activation.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24email/mail.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24email/activation.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24email/t24email.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24email/xercesImpl.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24email/config
export CLASSPATH=$CLASSPATH:$HOME/jars/t24sms
export CLASSPATH=$CLASSPATH:$HOME/jars/t24sms/t24sms-ci.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24sms/t24sms-impl.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24sms/xercesImpl.jar
export CLASSPATH=$CLASSPATH:$HOME/jars/t24sms/config
export CLASSPATH=$CLASSPATH:$HOME/tagnotification/webservices-rt-1.1.jar
export CLASSPATH=$CLASSPATH:$HOME/tagnotification/geronimo-jta_1.1_spec-1.1.jar
export CLASSPATH=$CLASSPATH:$HOME/tagnotification/webservices-api-1.1.jar
export CLASSPATH=$CLASSPATH:$HOME/tagnotification/webservices-extra-1.1.jar
export CLASSPATH=$CLASSPATH:$HOME/tagnotification/webservices-extra-api-1.1.jar
export CLASSPATH=$CLASSPATH:$HOME/tagnotification/webservices-tools-1.1.jarexport JBCJVMOPT1=-server
export JBCJVMOPT2=-Dcom.temenos.tag.notificationws.url=http://localhost:8100/TAGWCF/Notification?wsdl


# Multiple Application Servers
##############################
#export JBCPORTNO=1000-2000
#export JDLS=server=lockservername
#export JBCPROCDIR=/tmp/tafc/proc

# Database variables

# Oracle
#########
#export DRIVER_HOME=$HOME/driver
#export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
#export ORACLE_SID=MBDEMO
#export TWO_TASK=MBDEMO
#export LIBPATH=$LIBPATH:$ORACLE_HOME/lib
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
#export SHLIB_PATH=$SHLIB_PATH:$ORACLE_HOME/lib
#export PATH=$PATH:$ORACLE_HOME/bin:$DRIVER_HOME/bin
#export JBCOBJECTLIST=$DRIVER_HOME/lib:$JBCOBJECTLIST
#export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
#export TNS_ADMIN=$ORACLE_HOME/network/admin

# DB2
######
#export DRIVER_HOME=$HOME/driver
#export DB2INSTANCE=db2inst1
#export DB2PATH=/home/db2inst1/sqllib
#export DB2_HOME=$DB2PATH
#export LD_LIBRARY_PATH=$DB2_HOME/lib:$LD_LIBRARY_PATH
#export LIBPATH=$DB2_HOME/lib:$LIBPATH
#export SHLIB_PATH=$DB2_HOME/lib:$SHLIB_PATH
#export PATH=$DB2_HOME/bin:$DRIVER_HOME/bin:$PATH
#export JBCOBJECTLIST=$DRIVER_HOME/lib:$JBCOBJECTLIST
#export JBASE_USE_INTERNAL_TXN_CACHE=1
# MS-SQL
########
#rem set DRIVER_HOME=%HOME%\driver
#rem set SQLSERVERDIR=C:\Program Files\Microsoft SQL Server\90
#rem set PATH=%DRIVER_HOME%\bin;%PATH%
#rem set PATH=%SQLSERVERDIR%\Tools\Binn;%PATH%
#rem set JBCOBJECTLIST=%DRIVER_HOME%\lib;%JBCOBJECTLIST%

# T24 Entry Point:
##################
exec $TAFC_HOME/bin/jpqn $JEDIFILENAME_MD/loginproc




pls help me out this problem .


thank u advance

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9390 by jpb
The error is throw by
exec $TAFC_HOME/bin/jpqn $JEDIFILENAME_MD/loginproc

please check following :
echo $TAFC_HOME
echo $JEDIFILENAME_MD

if your TAFC_HOME is correct (in SunOS/R11 its pointing to /jBase/TAFC/R11) and JEDIFILENAME_MD is pointing to VOC check the contents of your loginproc

JED VOC loginproc

Should look somthing like
PQN
OSTART GLOBUS Y/N
IP%1
IF %1 = "N" GO 99
IF %1 = "" GO 99
HEBS.TERMINAL.SELECT
P
HEX
PX
C
99 Hjsh -s jsh
PX


Then try executing the loginproc from the shell with

jpqn VOC/loginproc

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9391 by durai611
Dear jpb,

Following is the error we are facing,


login as: t24
t24@192.168.0.98's password:
Last login: Wed Nov 9 13:40:44 2011 from 192.168.0.115
Linux-/export/home/t24/bnk/bnk.run: echo $TAFC_HOME
/export/home/t24area/R10
Linux-/export/home/t24/bnk/bnk.run: echo $JEDIFILENAME_MD
/export/home/t24/bnk/bnk.run/VOC
Linux-/export/home/t24/bnk/bnk.run: JED VOC
-bash: /export/home/t24area/R10/bin/JED: cannot execute binary file
Linux-/export/home/t24/bnk/bnk.run:

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9392 by jpb
I have no Linux environment to compare, but your path to TAFC_HOME looks strange, where is your jBase installed ?

In your /usr, do you have a link tafcR10 ? poining to ??
Sun/R11 has
lrwxrwxrwx 1 root root 15 Sep 20 15:56 tafcR11 -> /jBase/TAFC/R11

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9393 by durai611
Dear jpb,

we followed the steps as given below,
1. Created new Unix user - t24
2. Unpacked R10_Model_Bank.tar.gz to the /export/home/t24/bnk directory
3. Changed the permissions - chmod 775 /export/home/t24
4. Created new Unix user for jbase - t24area
5. Unpacked TAFC_R10_GA_Linux.tar.gz to the /home/mbr10/TAFC/R10 directory
6. Changed the permissions for jbase:
chown -R t24area /export/home/t24area/TAFC/R10
chgrp -R t24area /export/home/t24area/TAFC/R10
chmod -R 775 /export/home/t24area/TAFC/R10
7. Made changes to the .profile

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9394 by jpb

Linux-/export/home/t24/bnk/bnk.run: echo $TAFC_HOME
/export/home/t24area/R10

5. Unpacked TAFC_R10_GA_Linux.tar.gz to the /home/mbr10/TAFC/R10 directory


try changing TAFC_HOME to /home/mbr10/TAFC/R10 directly.
I can't see if /home/mbr10/TAFC/ and /export/home/t24/ and /export/home/t24area/TAFC/ are all pointing to the same directory.
If not check the permissions on /home/mbr10/TAFC/R10

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9407 by jpb
Any news after the Emails of yesterday ?

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #9410 by durai611
The error "cannot execute the binary file" may be because of some compatibility problem also. So checking on that now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds