ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]Problem running fmcibie through crontab - Urgent

Post new topic  Reply to topic
 [Solved]Problem running fmcibie through crontab - Urgent « View previous topic :: View next topic » 
Author Message
nMQWF
PostPosted: Wed Jan 18, 2006 5:03 am    Post subject: [Solved]Problem running fmcibie through crontab - Urgent Reply with quote

Apprentice

Joined: 02 Oct 2005
Posts: 27

Hi All,

I have a shell script file(Test.sh) which has the following command.
fmcibie -uADMIN -ppassword -i <Path of the FDL> -o -t

When I am running the sript under root login it works fine and imports the fdls into runtime.

But when i schedule it in crontab then the same script gives the following error:

01/18/06 17:24:00 FMC24500I fmcibie is starting.
01/18/06 17:24:00 FMC24300E Connect to DB failed.
01/18/06 17:24:00 FMC24560I fmcibie finished and found 1 errors 0 warnings. RC = 20

The entry in crontab is as under
24 * * * * sh Test.sh

Thanx in Advance


Last edited by nMQWF on Thu Jan 19, 2006 3:24 am; edited 1 time in total
Back to top
View user's profile Send private message
PisgahMan
PostPosted: Wed Jan 18, 2006 7:35 am    Post subject: Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

What user does the cron job run as?
Back to top
View user's profile Send private message
fidelio
PostPosted: Wed Jan 18, 2006 7:56 am    Post subject: Reply with quote

Apprentice

Joined: 14 Sep 2005
Posts: 45
Location: AttainBPM

crontab entries don't load the .profile for the user. fmcibie needs the db2profile to be loaded, so you will need to edit your Test.sh to include it.
Back to top
View user's profile Send private message
nMQWF
PostPosted: Thu Jan 19, 2006 3:23 am    Post subject: Reply with quote

Apprentice

Joined: 02 Oct 2005
Posts: 27

I have added the following line before fmcibie in Test.sh and it works.

. <DB2Profile>

Thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]Problem running fmcibie through crontab - Urgent
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.