Author |
Message
|
ANILK |
Posted: Wed Jun 22, 2016 8:38 pm Post subject: FileInput node Permission Issue |
|
|
Acolyte
Joined: 01 May 2014 Posts: 61
|
Hi Freinds,
We are running WMB 8.0.0.4 on AIX , Broker components are under mqm user
and mqbrks group . we are using File Input node to process incoming files from an external system . External server is directly writing file to WMB server path (WMB server path is shared with External system server ) , The incoming file ownership is unica/wasprd with (775) permission,but WMB file input node is not able to process the file and i don't see any error log related to this issue. But when we change the file permission to (777) File Input node is able to process the file successfully.As per the WMB guide it requires only read and write permission to process file through FileInput node.
As per the IT policy we cant provide 777 permission to any file. Is really WMB require 777 to process the file ?, or do we need to change any configuration in WMB ?
Kindly share your valuable advice
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 23, 2016 3:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What are the permissions on the directory, not the file? _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
ghoshly |
Posted: Thu Jun 23, 2016 2:33 pm Post subject: Weird situation with access ? |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
In my case, even with 777 permission to the file was not enough for the FileInput node to pickup. When I changed the permission of the parent directory to 777 then it got picked up.
Jeff would you please help to remove the confusion or lack of our knowledge?
Code: |
tghosh@sdxbf-m23n6 [/u00/esb/files]> ls -lrt /u00/esb/files/load
total 8
-rwxrwxrwx 1 tghosh staff 3628 Jun 22 18:50 5.xml
drwxrwxrwx 2 tghosh staff 256 Jun 22 19:52 mqsiarchive
tghosh@sdxbf-m23n6 [/u00/esb/files]> ls -lrt | grep load
drwxr-xr-x 3 tghosh 610 256 Jun 22 19:52 load
tghosh@sdxbf-m23n6 [/u00/esb/files]> chmod -R 777 /u00/esb/files/load
|
|
|
Back to top |
|
 |
ANILK |
Posted: Thu Jun 23, 2016 9:25 pm Post subject: |
|
|
Acolyte
Joined: 01 May 2014 Posts: 61
|
Input directory has 777 permission
drwxrwxrwx 5 mqm mqbrkrs 4096 Jun 23 15:21 MonitorFile |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 24, 2016 4:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The FileInput ndoe needs permissions to the input folder so it can create the directories it uses to ensure that it doesn't process the same file twice.
I think ANILK is at the point of needing to run a user trace.
It's possible that the external server has not completed writing the file when Broker tries to process it, or otherwise leaves it locked when it shouldn't. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
ANILK |
Posted: Wed Jun 29, 2016 8:13 pm Post subject: |
|
|
Acolyte
Joined: 01 May 2014 Posts: 61
|
Hi Friends,
Client has already raised a PMR related to this issue , i will update you the developments .
Thanks
Anil |
|
Back to top |
|
 |
ANILK |
Posted: Sun Jul 03, 2016 7:30 pm Post subject: |
|
|
Acolyte
Joined: 01 May 2014 Posts: 61
|
Hi Friends,
File node is able to process file if we provide 666 permission to the file , i didn't thought about it, Sorry friends it was my mistake.
Thanks,
Anil |
|
Back to top |
|
 |
|