>amanda 2.4.1p1
>...
>driver: result time 963.054 from dumper0: FAILED 01-00006 [taper port
>open: No such file or directory]
>
>i'm rather confused:( . .sorry . .any help?

That message is caused by the Amanda routine stream_client failing.
Unfortunately, at 2.4.1p1, errno was not properly protected so the "No
such file or directory" may or may not really mean anything.

This is much improved with 2.4.2p2 and the amdump.1 file would have
shown exactly what happened.

Any chance you can upgrade the tape server side?

If not, there are three potential system calls that could be causing
the error:

  * gethostbyname("localhost")

  * socket(AF_INET, SOCK_STREAM, 0) -- this would be reporting the
    proper error message, but my system (Solaris) doesn't indicate
    ENOENT is a valid error return

  * connect()

My bet would be on gethostbyname().  Are you sure localhost is properly
registered on your tape server?

Here's a little test program that does exactly what Amanda does (you
cannot trust nslookup or grep'ing /etc/hosts because they may not use
the same system configuration gethostbyname does):

  ftp://gandalf.cc.purdue.edu/pub/amanda/gethostby*.c

>Anthony

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to