ปัญหาคือ ไม่สามารถใช้ dsoper login ผ่าน DataStage Director ได้ และขึ้น error box ดังนี้
Error Code: 39202สิ่งที่ได้ทำไปแล้วคือ
Fail to open project
1. สร้าง user ชื่อ dsoper โดยให้อยู่ในกรุ๊ป dstage
$ id2. Add dsoper ใน IBM Information Server ผ่าน Web Console โดยให้ Suite Component = DataStage and QualityStage User
uid=210(dsoper) gid=999(dstage) groups=1(staff),205(dba)
3. กำหนด Project Role = DataStage and QualityStage Operator ผ่าน DataStage Administrator
4. ตรวจสอบ ds.rc ในโฟลเดอร์ $DSEngine/sample พบว่า umask 002 แล้ว
5. ทำการ chmod -R g+w projpath แล้ว
วิธีแก้ไข
เปลี่ยน permission ของ path $UVTEMP ให้คนใน group มีสิทธิ์ write ได้ สามารถหา path $UVTEMP ได้ จาก
$ grep UVTEMP /Dstage/IBM/InformationServer/Server/DSEngine/uvconfig
# UVTEMP - is the name of the directory
#UVTEMP /tmp
UVTEMP /Dstage/IBM/InformationServer/Server/Scratch
จากตัวอย่างแสดงว่าต้องไป grant ที่ path /Dstage/IBM/InformationServer/Server/Scratch ให้เป็น 775
No comments:
Post a Comment