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
相关推荐
中科大 信息安全 setuid 参考文献
The Windows file system is large and complex, featuring not only a huge number of essential files and folders for the Windows OS, your software and hardware, but also several different underlying file...
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:...
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 ...
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 ...
Permissions
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 ...
Now this Second Edition of Beginning the Linux Command Line updates to the very latest versions of the Linux Operating System, including the new Btrfs file system and its management, and systemd boot ...
Linux Essentials, 2nd Edition provides a solid foundation of knowledge for anyone considering a career in information technology, for anyone new to the Linux operating system, and for anyone who is ...
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 ...
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...
Configuring Your Operating System for Device Debugging 39 Configuring Your Android Hardware for Debugging 39 Upgrading the Android SDK 42 Problems with the Android Software Development Kit 42 ...
Android 6 is the latest and greatest version of the Android operating system, and comes packed with cutting edge new features for you to harness for the benefit of building better applications. ...
ACL (access control list) A set of data that informs a computer’s operating system which permissions, or access rights, that each user or group has to a specific system object, such as a directory or...