Home > Cannot Execute > Ksh Cannot Execute Solaris

Ksh Cannot Execute Solaris


The tem.sh script is failing on the line that trys to execute JAVA: ${SCRIPTDIR}/install/jre/bin/java -cp ${JARS} com.teamcenter.install.tem.struct.Tem $1 $2 $3 In a terminal window, I navigated to the directory reference by shell ksh share|improve this question asked Apr 15 '13 at 0:45 misguided 1,20493058 add a comment| 1 Answer 1 active oldest votes up vote 7 down vote accepted chmod +x Abc.ksh So perhaps the script is not calling the right scripting language (perl, in this case). First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. http://bestimageweb.com/cannot-execute/java-cannot-execute-solaris.php

asked 2 years ago viewed 35049 times active 2 years ago Linked 3 -ksh: revenue_ext.ksh: not found [No such file or directory] Related 33Different ways to execute a shell script5Shell script Brak Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... On which point(s) in a jet engine does the reaction force act? Browse other questions tagged linux ksh or ask your own question.

Ksh Cannot Execute Permission Denied

I suppose a better starting point would be, what is the output of echo $PATH ? (edit: the export command is a way to define an environment variable in bash.) –Darth to users .profile –Guru Jul 15 '14 at 22:09 1 See my other comment about why PATH=$PATH:. Do you get both the owner and group displayed if you do: Code: ls -ld /export/home/data Or Code: ls -ld /export/home/data/SoftwareSource/TcEng2005SR1 Or Code: ls -ld /export/home/data/SoftwareSource/TcEng2005SR1/install Code: /export/home/data/SoftwareSource/TcEng2005SR1/install/jre/bin/java: ELF 32-bit MSB more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Now as discussed over here, I inserted some carriage returns in my file. Because your $PATH is not set, bash is only able to run commands with the full path specified. Java Cannot Execute Try booting the system in single-user mode (might be labelled as recovery mode) and see if you can get to a root shell. –Darth Android Jun 12 '12 at 21:51 2

Why do languages require parenthesis around expressions when used with "if" and "while"? Ksh Not Found No Such File Or Directory bandon replied Nov 20, 2012 The error message is "ksh: /usr/local/java131/j2se:not found" when executing java. Next question, what happens if you run (as the same user that would run the installer): Code: /export/home/data/SoftwareSource/TcEng2005SR1/install/jre/bin/java -version

Last edited by Smiling Dragon; 01-30-2008 at 06:12 PM.. https://www.experts-exchange.com/questions/24892135/ksh-cannot-execute.html Eg >./program won't work but >program works fine I also tested for more than one such command in my $PATH, but find only one: # for i in `echo $PATH |

There is a script (myscript.pl) in the /my/home directory. Sqlplus Not Found The error message is "ksh: /usr/local/java131/j2se:not found" when executing java. RSA Conference View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question Solaris The Solaris group is a forum where peers share Join the community of 500,000 technology professionals and ask your questions.

Ksh Not Found No Such File Or Directory

Lab colleague uses cracked software. http://www.linuxquestions.org/questions/linux-general-1/cannot-execute-script-file-from-shell-78361/ Now when I ran the script, I was getting the output as, ksh: ./ksh_experiment.ksh: not found [No such file or directory] Now, cat -v ksh_experiment.ksh too produced the same output. Ksh Cannot Execute Permission Denied Why?0Error while executing a.out from C shell2About executing shell script3The type command can't distinguish between an executable command and a shell script2Execution of a program called by a shell called by Cannot Execute Is A Directory up vote 12 down vote favorite I've got a bizarre seeming shell issue, with a command in the $PATH that the shell (ksh, running on Linux) appears to cowardly refuse to

being at start of PATH. this page Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Technological gradient within a solar system? Now trying to run it: > /my/home/myscript.pl myscript.pl: permission denied. Ksh: Sqlplus: Cannot Execute

Kind of hard to follow the cut/paste with potential line-wrap issues. It's true that j2se is not included in /usr/local/java131 but in usr under java131, but it's working like that in the production environment. Not the answer you're looking for? http://bestimageweb.com/cannot-execute/ksh-cannot-execute.php I have already set the variables as mentioned in the docs Quote:SEMMNI 100 *** SEMMNS 1024 ** SEMMSL 256 *** SHMMAX 4294967295 SHMMIN 1 * SHMMNI 100*** SHMSEG 10 * NOEXEC_USER_STACK

runInstaller : cannot execute. Dos2unix Why did Borden do that to his wife in The Prestige? share|improve this answer answered Jun 13 '12 at 1:27 RidDeBakTiYar 163229 add a comment| up vote 4 down vote I'm making some wild guesses here, but it looks like the following

Not the answer you're looking for?

Thanks Regards --- En date de?: Mar 20.11.12, rrequena [email protected] a ?crit?: De: rrequena [email protected] Objet: Re: [solaris-l] Execute Java With Different Shells ?: "bandon" [email protected] Date: Mardi 20 novembre 2012, share|improve this answer answered Jun 13 '14 at 12:56 user226160 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign USA 2016 election demographic data Is adding the ‘tbl’ prefix to table names really a problem? -bash: Command Not Found share|improve this answer answered Jun 13 '12 at 3:07 LawrenceC 47.2k677146 6 "if you try to run x86 executables on an ARM CPU, this message comes up." That was EXACTLY

Cannot execute generally means that the loader invoked is unable to figure out the format of the file being executed. Need to find the script path Hot Network Questions What crime would be illegal to uncover in medieval Europe? Why is Professor Lewin correct regarding dimensional analysis, and I'm not? useful reference bandon replied Jan 1, 0001 The path of user1 is included in the path of user2.

Before the chmod command, the file could be Read and Written, but not eXecuted (not even by the person who wrote it) –andrew lorien Apr 15 '14 at 0:42 add a is but at the end of PATH, then you install package that has a program with conflicting name the this program is run instead of the one you expect. (You may Relative RPATH in executable vs $PWD? Is infodba the file owner or the group the file belongs to?

Having a problem logging in? Mark Durney replied Nov 20, 2012 Sounds like your users paths are not the same or a permissions issue. Rahul. Ruben Requena replied Nov 20, 2012 Check environment variables.