Page 1 of 1

Error writing to RT_STATUS76

Posted: Thu May 02, 2013 10:12 am
by esivaprasad
After datastage installed to till date we are using only dsadm user id to logon datastage.
As client requested, create one new user and give permission to one particular project.i have created and given "datastage developer" role to that one particular project.
I am able to login any datastage client tools.But whenever i try to compile or run, it throwing error that
" Error writing to RT_STATUS76". I gone through datastage adminstator guide, but unluckly i didnot find any info on this error.can any one please give suggestion how to overcome that issue.

Posted: Thu May 02, 2013 10:38 am
by prasson_ibm
What permission you have given to the new user which you have created?

Posted: Thu May 02, 2013 11:13 am
by priyadarshikunal
You should see here the permission on RT_* if it is 77x then check if the user you created is in the same group as the owner of that file.

Posted: Thu May 02, 2013 3:01 pm
by ray.wurlod
Check also whether RT_STATUS76/DATA.30 or RT_STATUS76/OVER.30 has reached its 2GB size limit.

Posted: Fri May 03, 2013 1:09 am
by esivaprasad
The Folder RT_STATUS76 is as follows
drwxrwsr-x 2 root root 512 Mar 19 2012 RT_STATUS76

Inside the RT_STATUS76 folder,file permissions are like below
RT_STATUS76> ls -lrt
total 12
-rwxrwxr-x 1 root root 2048 Nov 20 16:22 OVER.30
-rwxrwxr-x 1 root root 4096 Mar 27 09:19 DATA.30

These two file sizes are OVER.30 IS 2KB, DATA.30 IS 4 KB

Posted: Fri May 03, 2013 3:37 am
by eph
Hi,

As it shows, your user credentials need to be linked to the machine's root account, since 'others' don't have write permissions. Or you can modify project's permissions to allow other users than root to write into those folders.

It might not be a good idea to create a project using root privileges.

Eric

Posted: Fri May 03, 2013 4:22 am
by esivaprasad
So under this particular project folder whatever files/folders exist, need to change permission to 775, can you please confirm it .
Thanks for all your support .

Posted: Fri May 03, 2013 5:10 am
by ray.wurlod
775 won't make it writable, unless you're in the root group. What you really need to have done originally is to have created a dstage group (or any other name) that is the (group) owner of all DataStage objects. All DataStage developers need to be in this group, and have a umask of 002.

Posted: Fri May 03, 2013 5:23 am
by esivaprasad
I have checked with the unix admin, As per policy its not possible to add any user under root group.
Is there any other way to to resolve this issue?

Posted: Fri May 03, 2013 5:27 am
by ray.wurlod
There is, and I outlined it in my answer.

Posted: Fri May 03, 2013 7:02 am
by chulett
Note that there is also a FAQ posting on the subject.

Posted: Fri May 03, 2013 9:44 am
by esivaprasad
Thank you for your information.

Posted: Tue May 07, 2013 7:02 am
by esivaprasad
esivaprasad wrote:I have checked with the unix admin, As per policy its not possible to add any user under root group.
Is there any other way to to resolve this issue?
Present the files are like this
drwxrwsr-x 2 root root 512 Mar 19 2012 RT_CONFIG76
drwxrwsr-x 2 root root 512 Mar 19 2012 RT_STATUS76

if i change these files to
drwxrwxr-x 2 dsadm gdstage 512 Jan 10 06:28 RT_CONFIG76
drwxrwxr-x 2 dsadm gdstage 512 Jan 10 06:28 RT_STATUS76

Is it possible to this newly created user id give access to datastage to one particular project ?(user id should have access to design, compile,run access in datastage client tools).

Posted: Tue May 07, 2013 11:16 am
by priyadarshikunal
In that case you will have to create multiple groups, one per project add dsadm to all those groups and make owner as dsadm and groups as the group created for that project.

Whenever you are adding a new user add him to the group for which you want to provide access.

Be aware that there may be a limit on the number of groups a user can be in, and the number varies with the operating system.