ปัญหา Grid FTP : File is not owned by current user

ในการติดตั้งระบบกริด มีปัญหาหนึ่งที่พบ และอยากจะจดบันทึกเอาไว้เพิ่มเติม นั่นก็คือ ระหว่างที่เรารันคำสั่ง

globus-url-copy    -vb    gsiftp://myserver/myfile     file:///tmp/testfile

มีข้อความขึ้นมาดังนี้

530-globus_credential: Error reading host credential
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: Error with certificate filename
530-globus_sysconfig: File is not owned by current user: /etc/grid-security/hostcert.pem is not owned b y current user

ปัญหาเกิดจากเซอร์วิส ในไฟล์  /etc/xinetd.d/grid-ftp  ตรงบรรทัด  user เป็นผู้ใช้งานอื่นที่ไม่ใช่ root

….
user            = root

แต่ในไฟล์  /etc/grid-security/hostcert.pem  เป็นของผู้ใช้ root ครับ

วิธีการแก้ปัญหาก็ทำได้โดยการแก้ไขไฟล์  /etc/xinetd.d/grid-ftp  ตรง user ให้เป้น root ก็พอครับ แล้วรีสตาร์ทเซอร์วิส  xinetd  นะ

number of view: 473pixelstats trackingpixel

Leave a Reply

ค้นหา
ผู้เยี่ยมชมเว็บไซต์

เริ่มนับวันที่ 16 พ.ค. 2550