CTRL_M file watcher problem

Everything about Control-M agents installation or setup.
Post Reply
User avatar
Purna
Nouveau
Nouveau
Posts: 4
Joined: 13 Feb 2011 12:00

CTRL_M file watcher problem

Post by Purna » 13 Feb 2011 4:27

Hi All,

when I'm using
ctmfw /work/SMI/landing/BackroomFile.txt CREATE 0 60 10 3 5.when i see the sysout command in Control_M it will show permission denied.

Actually the purpose is when ever the Backroomfile.txt present in landing directory it will trigger the perticular job.but it is not triggered.
please tell me about ctmfw
Please post the answer for this.this is important for me.

Thanks,
Purna

User avatar
Eight
Nouveau
Nouveau
Posts: 41
Joined: 03 May 2010 12:00

Post by Eight » 14 Feb 2011 7:58

What version are you using?
What user are you running this command with?
Where you able to run this from command line?

User avatar
Purna
Nouveau
Nouveau
Posts: 4
Joined: 13 Feb 2011 12:00

Control-M file watcher job problem

Post by Purna » 15 Feb 2011 9:24

Hi,

Iam using Control-Mv6.4,
the user was ctmagent
iam running this on /opt/scripts/prod

User avatar
Eight
Nouveau
Nouveau
Posts: 41
Joined: 03 May 2010 12:00

Post by Eight » 15 Feb 2011 7:52

What are the file permissions on the directory?

/work ?
/work/SMI ?
/work/SMI/landing ?

Does ctmagent have read permissions?

User avatar
Purna
Nouveau
Nouveau
Posts: 4
Joined: 13 Feb 2011 12:00

Control-M file watcher job problem

Post by Purna » 16 Feb 2011 8:01

/work:the permissions are drwsrws--- 19 dsadm smitdvp 32768 Feb 15 11:11 SMI

/work/SMI: the permissions are drwsrws--- 2 dsadm smitdvp 32768 Feb 15 23:01 landing

/work/SMI/landing:-rwxr-xr-x 1 svsminur smitdvp 650631480 Feb 15 08:51 BackroomFile.txt[/b]

User avatar
Eight
Nouveau
Nouveau
Posts: 41
Joined: 03 May 2010 12:00

Post by Eight » 16 Feb 2011 7:15

have you tryed to login as ctmagent and cd to that directory and do 'ls -lrt' and 'cat' the file? make sure ctmagent can access the directory and read the file.

User avatar
Purna
Nouveau
Nouveau
Posts: 4
Joined: 13 Feb 2011 12:00

Control-M file watcher job problem

Post by Purna » 21 Feb 2011 7:46

Hi,

Finally we get the solution and now it's working fine.

Thanks for u r help

User avatar
Eight
Nouveau
Nouveau
Posts: 41
Joined: 03 May 2010 12:00

Post by Eight » 22 Feb 2011 7:34

What was ths solution?

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 03 Mar 2011 9:27

ctmagent has not read permission on that file and directory...
but why dont post the solution ?

Post Reply