In order to use Operating system profiles, the umask should be set to 0 for the userid who starts the Informatica services.
Check if the umask is 0. This can be done by executing the command umask at the UNIX command prompt.
If the value is not zero, then set the value to zero by executing the command at the command prompt:
umask 0
The profile file of the user starting Informatica services can also be modified by adding the above entry. If the profile file is modified, then log back in as the user so that the profile is executed and the umask is set in the environment.
Once the umask is set to 0, restart the node.
When a workflow is executed using OS profiles, the DI service will initiate the pmimpprocess to do a context switch to the OS profile user to execute certain tasks (session, event wait, command task). Any output file generated by these tasks (command and session) is owned by the OS profile user.
During an event wait on a file, the DI service communicates with the pmdtm using OS pipes (In UNIX, pipes are also treated as files). This pipe has to be open so that both users (the OS user DI service runs as, and the OS profile user that pmdtm runs as) can read from and write to it. The only way to do this is to set the umask to 0.
While trying to fetch the session log from the workflow monitor, the PCSF invokes the pmimpprocess to get the session log. The PCSF is running as the user that started the Informatica service and the session log is created and therefore owned by the OS profile user. So, the session log has to be created with read-write permissions so that the PCSF can access the session log. Hence the need to set umask to 0.
However, if the umask is set to 0, then the target files created by the session have read-write permissions enabled for all (user, group and other). If this is a concern, then a post-session task should be executed to reset the permissions appropriately.
-------------------------------------------------------------------------------------------------------------------------------------
QUESTIONS:
We upgraded to informatica 9,5 and are getting the following error while running the workflow
PETL_24049
Failed to get the intialization properties from the master service process for the prepare phase.
Error
Helper process for pmimpprocess failed to initialize - error code - [-12696-]
Please suggest resolution for the same.
ANSWER:
OK I was able to resolve the issue and I wanted to post the resolution so that anyone in future can try the same.
The main reason for the issue was the permission and ownership of pmimpprocess under server/bin/, the user that we used to install was not a root user, so we had to change the owner to root and setuid correctly as shown below
-rwsr-sr-x 1 root root pmimpprocess
The above uid can be set using the following sequence of chmod command
chmod 755 pmimpprocess
chmod u+s pmimpprocess
chmod u+g pmimpprocess
Once this was done the workflow executed sucessfully
Thanks
-------------------------------------------------------------------------------------------------------------------------------------
YOUTUBE : https://www.youtube.com/watch?v=pOjmf-hKVQM
相关推荐
### Unix 文件系统权限详解 #### 一、Unix 文件系统简介 Unix 文件系统是为多用户环境设计的,每个用户都被分配了一个唯一的用户ID(UID),这使得系统能够追踪每个用户的活动,并实施相应的访问控制策略。...
System calls are the primary mechanism by which applications interact with the operating system. Tanenbaum categorizes system calls into several groups: 1. **System Calls for Process Management**: ...
The file system layout of Linux systems and where to find programs, configurations, and documentation. The basic Linux commands you'll use most often. Creating, renaming, moving, and deleting ...
Invalid File Permissions(解决方案).md
Failed to set permissions of path: \tmp\hadoop-Administrator,的解决方法,更换hadoop-core-1.0.2-modified.jar包
eclipse远程调试hadoop时 报出eclipse Hadoop Failed to set permissions of path错误 修改hadoop core包中FileUtil java文件 里面有checkReturnValue方法 将代码throw new IOException "Failed to set ...
ERROR org.apache.hadoop.mapred.TaskTracker: Can not start task tracker because java.io.IOException: Failed to set permissions of path: \tmp\hadoop-admin \mapred\local\ttprivate to 0700 at org.apache...
In this module we will discuss Microsoft® SQL Server™ interaction with the operating system and methodology of troubleshooting server-based problems. At the end of this module, you will be able to:...
11.1.1 File System Object Permissions 310 11.1.2 User Account Components 312 11.1.3 User Management Tools 313 11.1.4 User Management Files 313 11.2 Managing Users and Groups 314 11.2.1 Starting the ...
You will be able to perform installation, establish network connectivity and user and process management, modify file permissions, manage text files using the command line, and implement basic ...
The book begins with the concept of user management, group management, as well as file-system permissions. To manage your storage on Ubuntu Server systems, you will learn how to add and format ...
在Windows中,NTFS(New Technology File System)是默认的文件系统,相比FAT32等其他系统,它具有更高级的安全特性,其中包括对每个文件和文件夹设置不同用户的访问权限。 在NTFS文件系统下,权限管理是通过ACL...
Complete reading and writing access to files and directories of volumes with theExt2 orExt3 file system. Supports features which are specific to the I/O-system of Windows: Byte Range Locks, Directory ...
You must have permissions to change the security settings of the target computer‘s Registry keys, which typically means that you must be logged in as a domain administrator to use this feature.Note ...
Get familiar with the permissions system and issue life cycle in Redmine Use Redmine for issue tracking, project hosting, project management, and time tracking Find and choose plugins, and get ...
The system requirement of each operating system have to be fulfilled 50 MB free hard disk space 32/64-bit Support (from Windows XP/Server 2003) Windows® XP till Windows® Server 2012 (all editions...