on 12-02-2010 3:13 PM
i am getting this error when i am trying to execute a shell script in cmc. i got the status as failed, when clicked on that failed message this is what i got
Title: delete_month
Document Type: Program
Status Failed
Destination: Unmanaged Disk destination properties have been set to the chosen Job Server's defaults.
Owner: boadmin
Server Used: cms_451.ProgramJobServer
PID: 15010
Folder Path: Temp/
Remote Instance: No
Creation Time: 12/1/2010 7:21 PM
Expiry: 12/1/2020 7:21 PM
Start Time: 12/1/2010 7:21 PM
End Time: 12/1/2010 7:21 PM
Error Message: No operating system credentials were set for running the program.
what might be the reason
one possible solution (work on bo xi 3.1 SP3 linux suse), to validate with your linux expert Put : "alias rexec=ssh" in ".profile of bo linux account
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the similar issue, did you get yours fixed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
srinivas when i am trying to view last instance by right clicking the the object in cmc. this is what i am getting
/apps/efs_bobj/bobj/bobje/data/procSched/cms_451.ProgramJobServer/procprogram61636662b5f2c70/.crystal_env.sh: /apps/efs_bobj/bobj/bobje/data/procSched/cms_451.ProgramJobServer/procprogram61636662b5f2c70/delete_month.sh: not found
what might be the reason for getting that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
srinivas plzzz do help me with my problem, waiting for your reply, you know my scenario very well. I am not getting any idea to resolve that. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what exactly do u want me to post about the program job server.Where can i find the logs about my job.I am having the logging directory where i cannot see anything related about the program object i am running in cmc. I dont have the facility to raise the ticket to sap , thats the reason i am worried about this situtaion .plzz guide me
Hi,
is this the PM application? Which Version of BOE are you running.
Maybe you check SAP Note 1198432.
The script will be run under the account uder which the jobserver runs. by default this is "localsystem" under windows and the instalaltion user under linux.
if you want to access any network ressource or something like that in your script you should maybe use the "runas" command in the script with a user who has access to the designated ressource.
Regards
-Seb.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do u mean by pm application, i didn't get that
we r using boe xi 3.1 sp3.on sun solaris
my exact scenerio is
I wrote a shell script to delete the reports which r one month old. the reports generated by the boe r placed in unix machine(in a specific folder for example abc) and my boe server is also on unix .I imported the the shell script into boe.I assigned the path /xx/yy/abc (the path where our reports r stored) to the arguments and i gave the working directory path as the xx/yy/bobj/bobje/data/frsinput/a0_89/ ( this is the path where my shell script is present).after giving these details i am unable to delete any of the content from that folder. I am getting the failed message when i am trying to execute the object in cmc. i am pasting the shell script as well as the error message here if any body knows anything help me. do i need to set anything in cmc or what i need to do
this is the shell script to delete the files in the specified directory
#!/bin/ksh
# set -x
if [[ $# != 1 ]]; then
echo "Usage : $0 [Directory Path]"
exit 0
fi
echo "Source directory : " $1
#########################################################################
# To display the list of files more than a month older
#########################################################################
for v_fname in $(find "$1"/ -name "*" -mtime +30 -type f)
do
echo "$v_fname"
done
#########################################################################
# To delete the files of more than 1 month older
#########################################################################
find "$1"/ -name "*" -mtime +30 -type f -exec rm {} \;
what do u exactly mean by setting credentials to run the program objects in cmc. i changed the path to the path on the server not to the frsinput
Arguments: /apps/efs_bobj/oradiag_a_efsbobj (this is the directory my program need to check and delete the content which r one month old)
Working Directory : /apps/efs_bobj/delete_month.sh
r the paths what i mentioned in the program parameters. i set the username and password in the program login, the username is the one that is having acces(755) to efs_bobj.
this is the error i am getting when i try to do the way u told
Title: delete_month
Document Type: Program
Status Failed
Destination: Unmanaged Disk destination properties have been set to the chosen Job Server's defaults.
Owner: boadmin
Server Used: cms_451.ProgramJobServer
PID: 18036
Folder Path: Temp/
Remote Instance: No
Creation Time: 12/2/2010 3:18 PM
Expiry: 12/2/2020 10:28 AM
Start Time: 12/2/2010 3:18 PM
End Time: 12/2/2010 3:18 PM
Error Message: The Program Object reported an error while running, but no error code was provided.
Go to CMC >> Applications >> (Right-click) Program Object Rights. Ensure that your system is set to run Scripts/Binaries.
Also, try entering your credentials under 'Schedule with the following operating system credentials.'
Finally, if the user running BOE has write access to the directory with reports, you should be able to run program objects by selecting 'Schedule with the following operating system credentials.' without entering credentials.
If none of the above work, start a trace on your Program Job Server and post the relevant portion of the logs here.
Best,
Srinivas
my system is set to run scripts/ binaries.
what do u mean by Schedule with the following operating system credentials. that
the user who is running boe is having write access to the directory with the reports.
do i need to change anything in the program job server. what do u mean by start a trace on your Program Job Server. i am unable to see any new stuff in the logs about program job server when i am trying to run the shell script in cmc.
Edited by: richa123 on Dec 2, 2010 9:59 PM
this is what i am getting right now when i am running the shell script object in cmc
Title: delete_month
Document Type: Program
Status Failed
Destination: Default
Owner: boadmin
Server Used: cms_451.ProgramJobServer
PID: 18067
Folder Path: Temp/
Remote Instance: No
Creation Time: 12/2/2010 4:05 PM
Expiry: 12/2/2020 4:04 PM
Start Time: 12/2/2010 4:05 PM
End Time: 12/2/2010 4:05 PM
Error Message: Authentication failed because we can not connect to the REXEC server. Confirm that the REXEC server is available on the specified system and that your user credentials are correct.
Most admins will disable REXEC.
Like I mentioned earlier,
1. Go to CMC >> Applications >> (Right-click) Program Object Rights. Use the following settings:
2. Click on Schedule with the following operating system credentials.
3. Leave the user name and password blank
4. Save
Also, in default setting >> program logon of the program object being scheduled, ensure that user name and password are blank.
PS: I don't have access to an installation on Solaris. This works for us on RHEL. Also, look at SAP NOTE 1320195.
Best,
Srinivas
i am trying to delete the files in that directory(oradiag_a_efsbobj)
i am typing down here the parameters i am using
Arguments:/apps/efs_bobj/oradiag_a_efsbobj
Working Directory:/apps/efs_bobj/
External Dependencies:/apps/efs_bobj/delete_month.sh
this is what i am having under program parameters
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.