![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exit status | MartyIX | Shell Programming and Scripting | 9 | 09-09-2008 05:47 AM |
| How to get the exit status | yhacks | Shell Programming and Scripting | 1 | 05-19-2008 08:06 AM |
| exit status | moxxx68 | Shell Programming and Scripting | 1 | 12-04-2004 07:27 PM |
| tar exit status | thorndike | UNIX for Dummies Questions & Answers | 3 | 01-22-2002 04:39 PM |
| ftp exit status. | oracle8 | UNIX for Advanced & Expert Users | 1 | 10-21-2001 11:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi All,
I have a small application hosted on apache-tomcat 5. Basically its a html page which in turn calls a perl script residing on unix server. Through this perl script i am calling a shell script using system command , like system('scriptname.sh',arg1,arg2,arg3); Now in the script 'scriptname.sh' i am try to run a c-program executable which is compiled on unix itself. The problem is that except that command[c-executable] all other statements gets executed. On further investigation i found that , it is giving 126 as exit status which means "Command was found but could not be executed". Can any of you experts please help me to come out of this problem Thanks in advance. ![]() |
|
||||
|
does not seems to be a permission problem
Hi
It does not seems to be a performance problem as i have given 755 permission to all the scripts. Can there by anything else which restricting it to execute the command |
|
||||
|
@pludi..
I have various echo commands in my script and those got printed and the only thing that remains un-touched is the line which calls the executable.. @fmurphy other commands in the script are getting executed without mentioning the full path. So i am just guessing that giving full path will make any difference or not. Still need your help thanks in advance.. |
![]() |
| Bookmarks |
| Tags |
| apache-tomcat, exit status, perl, shell |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|