DS job is getting failed when executing through shell script
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 75
- Joined: Mon Jul 12, 2010 4:11 am
- Location: Chennai
DS job is getting failed when executing through shell script
Hi,
Need helping hand for below issue.
I'm trying to run DS job using shell scripts.But It fails with below error code.
ERROR: Failed to open project
Status code = -1010 DSJE_DOMAINLOGTOFAILED.
I have done below work around as suggested in this forum.
1. echoing DS command
echo DS_HOME_DIR/bin/dsjob -domain DS_DOMAIN -server DS_SERVER -user DS_USER -password DS_PASSWD -run PJT JOB.
proper values are getting passed
2. before running the dsjob command dsenv is sourced.
3. replacing Domain value as NONE
But still couldn't identify where the issue is.....
Regards,
Need helping hand for below issue.
I'm trying to run DS job using shell scripts.But It fails with below error code.
ERROR: Failed to open project
Status code = -1010 DSJE_DOMAINLOGTOFAILED.
I have done below work around as suggested in this forum.
1. echoing DS command
echo DS_HOME_DIR/bin/dsjob -domain DS_DOMAIN -server DS_SERVER -user DS_USER -password DS_PASSWD -run PJT JOB.
proper values are getting passed
2. before running the dsjob command dsenv is sourced.
3. replacing Domain value as NONE
But still couldn't identify where the issue is.....
Regards,
Ajitha S
What happens if you omit domain switch and run?
try this and let us know if you face any error.
Code: Select all
dsjob -server DS_SERVER:port -user DS_USER -password DS_PASSWD -run PJT JOB
pandeeswaran
-
- Participant
- Posts: 75
- Joined: Mon Jul 12, 2010 4:11 am
- Location: Chennai
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 75
- Joined: Mon Jul 12, 2010 4:11 am
- Location: Chennai
-
- Participant
- Posts: 75
- Joined: Mon Jul 12, 2010 4:11 am
- Location: Chennai
Hi,
Please try this:
post if you get any error,
Make sure your server name should contains the port number too,
Please try this:
Code: Select all
/opt/IBM/InformationServer/Server/DSEngine/bin/dsjob -server $server:port -user $user -password $pwd -run -jobstatus pjt_name job_name
Make sure your server name should contains the port number too,
pandeeswaran
-
- Participant
- Posts: 75
- Joined: Mon Jul 12, 2010 4:11 am
- Location: Chennai
One of my other project mates had faced the same issue..... but the
solution given to him is to add the user to system user group of his project.
Issue got reolved once he added the user to this group.
In my case, I have added my userid to the system group of my project. but still the problem persisting.
Will it be a issue with giving permissions to the user? Am I going right way?
solution given to him is to add the user to system user group of his project.
Issue got reolved once he added the user to this group.
In my case, I have added my userid to the system group of my project. but still the problem persisting.
Will it be a issue with giving permissions to the user? Am I going right way?
Ajitha S
-
- Participant
- Posts: 75
- Joined: Mon Jul 12, 2010 4:11 am
- Location: Chennai