I am not able to figure out what is the problem with calling a shell script within a shell script.
i have given all the permissions to both schell scripts.
but when i am seeing the log file error is coming like
Note1:- my main shell script name is weekly_us_push_rpts_tst.sh and i am calling ./vacation_quota_summary_detail.sh within main shell script.
Note2:- ./vacation_quota_summary_detail.sh is executing successfully but i am getting
ERROR in my log.
can any body tell what could be the problem?
Thanks Advance.
Thanks,
krupa
Moderator's Comments:
Please use code tags next time for your code and data. Thanks
Last edited by vbe; 04-02-2014 at 11:09 AM..
Reason: code tags please NOT Bold Char!!
You wont go very far with current directory permission is -rw-r--r--... Therefore the question above...
That said, It is kind of you to think we are some sort of wizzards... only we are not and I am not very good at guessing...
What answer do you think we can offer with the given information?
We dont know the OS
We dont know what shell is used
We dont know what the calling script if for
We dont know what the called script does..
we know only the message you get:
In our project we have several unix scripts that trigger different processes. These scripts write logs to a particular folder 'sesslogs', create output data files in a separate directory called 'datafiles' etc. Usually L1 support team re-run these scripts . We donot want L1 support team to have... (14 Replies)
Hello,
I need to install a program from a DVD. It uses a sh script called setup.
root@ragnok: head -2 /media/cdrom0/setup
#!/bin/sh
root@ragnok: ls -l /media/cdrom0/setup
-r-xr-xr-x 1 root root 4688 Nov 8 08:38 /media/cdrom0/setup
root@ragnok: /media/cdrom0/setup
bash:... (2 Replies)
Hi All,
I'm new to solaris and this site but the advices in this site have helped me a lot.
Today i am facing a new issue.
We have a script for BMCDashboard and this script is not supposed to run evrytime the server is booted so we disabled the services and removed the execute... (7 Replies)
I want to check access rights permissions not for 'user', not for 'group', but for 'others'.
I want to do it by system command in which i want to use 'ls -l' and 'awk' command.
I have written the following program :
#!/usr/bin/local/perl
#include <stdlib.h>
system ("ls -l | awk... (1 Reply)
Have the following in a .sh file.
printf "Installing ... \ r"
cd $ ORG_DIR / a_a
. / configure> error.log
Make 1> error.log 2> error.log
make install> error.log
But when I run I get the following.
install.sh: line 270:. / configure: Permission denied
make: *** No rule two make target... (3 Replies)
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
This might be very silly question but i dont know y is it so...
i Have script
I have Given the permissions in the following manner...
-rwxrwx--x 1 root system 3 Jun 08 15:46 temp
I want no one to see what is present in that but should be able to execute it..
but when... (3 Replies)
how can a script run without execute permissions.
when i run myscript as :
sh a.sh
it was working but when i say simple a.sh its not working since it has no x permission.but how about fist case? (1 Reply)