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 » WebSphere Message Broker (ACE) Support » FileInput node Permission Issue

Post new topic  Reply to topic
 FileInput node Permission Issue « View previous topic :: View next topic » 
Author Message
ANILK
PostPosted: Wed Jun 22, 2016 8:38 pm    Post subject: FileInput node Permission Issue Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 23, 2016 3:48 am    Post subject: Reply with quote

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
View user's profile Send private message
ghoshly
PostPosted: Thu Jun 23, 2016 2:33 pm    Post subject: Weird situation with access ? Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 325

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
View user's profile Send private message
ANILK
PostPosted: Thu Jun 23, 2016 9:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 24, 2016 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
ANILK
PostPosted: Wed Jun 29, 2016 8:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
ANILK
PostPosted: Sun Jul 03, 2016 7:30 pm    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » FileInput node Permission Issue
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.