Dear All,

I am getting this error, whenever I am trying to do amrecover for a particular drive.
Following is the complete amindexd.*.debug file details:

Wed Apr 11 22:12:48 2012: amindexd: pid 6568 ruid 505 euid 505 version 3.1.0: start at Wed Apr 11 22:12:48 2012
Wed Apr 11 22:12:48 2012: amindexd: version 3.1.0
Wed Apr 11 22:12:48 2012: amindexd: < 220 NHSYSTEMAPP AMANDA index server (3.1.0) ready.
Wed Apr 11 22:12:48 2012: amindexd: > FEATURES ffffffff9efefbffffffffff00
Wed Apr 11 22:12:48 2012: amindexd: < 200 FEATURES ffffffff9efefbffffffffff00
Wed Apr 11 22:12:48 2012: amindexd: > DATE 2012-04-11
Wed Apr 11 22:12:48 2012: amindexd: < 200 Working date set to 2012-04-11.
Wed Apr 11 22:12:48 2012: amindexd: > SCNF SYSTEMTAPE1
Wed Apr 11 22:12:48 2012: amindexd: pid 6568 ruid 505 euid 505 version 3.1.0: rename at Wed Apr 11 22:12:48 2012
Wed Apr 11 22:12:48 2012: amindexd: < 200 Config set to SYSTEMTAPE1.
Wed Apr 11 22:12:48 2012: amindexd: > HOST NHSYSTEMAPP
Wed Apr 11 22:12:48 2012: amindexd: < 200 Dump host set to NHSYSTEMAPP.
Wed Apr 11 22:12:59 2012: amindexd: > DISK /image03/2011/11
Wed Apr 11 22:12:59 2012: amindexd: append_to_tapelist(tapelist=(nil), label='SYSTEMTAPE-01', file=5, partnum=1, isafile=0)
Wed Apr 11 22:12:59 2012: amindexd: - 2012-02-26-15-28-11 0 SYSTEMTAPE-01 5 1 1
Wed Apr 11 22:12:59 2012: amindexd: < 200 Disk set to /image03/2011/11.
Wed Apr 11 22:12:59 2012: amindexd: > OISD /
Wed Apr 11 22:12:59 2012: amindexd: Spawning "/usr/bin/gzip /usr/bin/gzip -dc /etc/amanda/SYSTEMTAPE1/index/NHSYSTEMAPP/_image03_2011_11/20120226152811_0.gz" in pipeline
Wed Apr 11 22:12:59 2012: amindexd: Spawning "/bin/sort /bin/sort" in pipeline
Wed Apr 11 22:13:00 2012: amindexd: Sort: /bin/sort: cannot create temporary file: /tmp/sort3w0Qai: Permission denied
Wed Apr 11 22:13:00 2012: amindexd: /bin/sort exited with status 2
Wed Apr 11 22:13:00 2012: amindexd: < 599 /bin/sort: cannot create temporary file: /tmp/sort3w0Qai: Permission denied
Wed Apr 11 22:13:00 2012: amindexd: > DLE
Wed Apr 11 22:13:00 2012: amindexd: < 200 "<dle>\n <program>DUMP</program>\n <disk>/image03/2011/11</disk>\n <auth>bsdtcp</auth>\n <record>NO</record>\n <index>YES</index>\n <datapath>AMANDA</datapath>\n</dle>\n"
Wed Apr 11 22:13:05 2012: amindexd: > QUIT
Wed Apr 11 22:13:05 2012: amindexd: < 200 Good bye.
Wed Apr 11 22:13:05 2012: amindexd: pid 6568 finish time Wed Apr 11 22:13:05 2012

Kindly, anyone help me to fix this issue.

Thanks and Regards,
Alvin