PDA

View Full Version : amrecover timeout problem



Ksloan
June 18th, 2012, 10:02 AM
Hey everyone,

I'm using amanda-backup_server-3.3.1-1 on Fedora 16 and I'm trying to recover off of a Windows client (ZWC-Community-3.3-64bit.)

Both amcheck and amdump run fine with 0 problems found, but I can't seem to get amrecover working - I receive a [request failed: timeout waiting for ACK]

I have looked everywhere for a solution to no avail.

Amanda.conf is set to have bsdtcp authentication for both global parameters and in dumptype.
Amanda-client has the index and tape server set to the client's FQDNs
.amandahosts has:

localhost root amindexd amidxtaped
localhost amandabackup amdump
client_FQDN amandabackup
client_FQDN root amindexd amidxtaped

I have tried disabling the firewall on both the client and server but I still continue to receive the [request failed: timeout waiting for ACK]. If anyone has some incite, I would greatly appreciate it.

Ksloan
June 18th, 2012, 11:53 AM
Here's A Level 5 Log from the Windows Client:


3288:3324:18/6/2012:14:49:9:991::CSocketChannel::OnClientReading : Context = 0000000000CE8460, SocketID = 0000000000000218, DataSize = 103
3288:3324:18/6/2012:14:49:9:991::. . . . . . . . 00 00 00 5f 00 00 00 01
3288:3324:18/6/2012:14:49:9:991::. S E C U R I T 00 53 45 43 55 52 49 54
3288:3324:18/6/2012:14:49:9:991::Y . U S E R . r 59 20 55 53 45 52 20 72
3288:3324:18/6/2012:14:49:9:991::o o t . S E R V 6f 6f 74 0a 53 45 52 56
3288:3324:18/6/2012:14:49:9:991::I C E . a m i n 49 43 45 20 61 6d 69 6e
3288:3324:18/6/2012:14:49:9:991::d e x d . O P T 64 65 78 64 0a 4f 50 54
3288:3324:18/6/2012:14:49:9:991::I O N S . f e a 49 4f 4e 53 20 66 65 61
3288:3324:18/6/2012:14:49:9:991::t u r e s = f f 74 75 72 65 73 3d 66 66
3288:3324:18/6/2012:14:49:9:991::f f f f f f 9 e 66 66 66 66 66 66 39 65
3288:3324:18/6/2012:14:49:9:991::f e f b f f f f 66 65 66 62 66 66 66 66
3288:3324:18/6/2012:14:49:9:991::f f f f f f 0 f 66 66 66 66 66 66 30 66
3288:3324:18/6/2012:14:49:9:991::. a u t h = b s 3b 61 75 74 68 3d 62 73
3288:3324:18/6/2012:14:49:9:991::d t c p . . . 64 74 63 70 3b 0a 00
3288:3324:18/6/2012:14:49:9:991::ReadRegistryValue: Entering ReadRegistryValue.
3288:3324:18/6/2012:14:49:9:991::CAmandaPktHandler::ParsePacket : Buffer length = 103
3288:3324:18/6/2012:14:49:9:991::CAmandaPktHandler : Parser : Packet type = 0
3288:3324:18/6/2012:14:49:9:991::CAmandaParser : Error : Unknown Service name
3288:3324:18/6/2012:14:49:9:991::CAmandaPktHandler : Parser : Error while parsing the amanda packet
3288:3324:18/6/2012:14:49:9:991::CSocketChannel::OnClientReading : Leaving true
3288:3324:18/6/2012:14:49:15:501::CSocketChannel::OnClientReading : Context = 0000000000CE8460, SocketID = 0000000000000218, DataSize = 103
3288:3324:18/6/2012:14:49:15:501::. . . . . . . . 00 00 00 5f 00 00 00 01
3288:3324:18/6/2012:14:49:15:501::. S E C U R I T 00 53 45 43 55 52 49 54
3288:3324:18/6/2012:14:49:15:501::Y . U S E R . r 59 20 55 53 45 52 20 72
3288:3324:18/6/2012:14:49:15:501::o o t . S E R V 6f 6f 74 0a 53 45 52 56
3288:3324:18/6/2012:14:49:15:501::I C E . a m i n 49 43 45 20 61 6d 69 6e
3288:3324:18/6/2012:14:49:15:501::d e x d . O P T 64 65 78 64 0a 4f 50 54
3288:3324:18/6/2012:14:49:15:501::I O N S . f e a 49 4f 4e 53 20 66 65 61
3288:3324:18/6/2012:14:49:15:501::t u r e s = f f 74 75 72 65 73 3d 66 66
3288:3324:18/6/2012:14:49:15:501::f f f f f f 9 e 66 66 66 66 66 66 39 65
3288:3324:18/6/2012:14:49:15:501::f e f b f f f f 66 65 66 62 66 66 66 66
3288:3324:18/6/2012:14:49:15:501::f f f f f f 0 f 66 66 66 66 66 66 30 66
3288:3324:18/6/2012:14:49:15:501::. a u t h = b s 3b 61 75 74 68 3d 62 73
3288:3324:18/6/2012:14:49:15:501::d t c p . . . 64 74 63 70 3b 0a 00
3288:3324:18/6/2012:14:49:15:501::ReadRegistryValue: Entering ReadRegistryValue.
3288:3324:18/6/2012:14:49:15:501::CAmandaPktHandler::ParsePacket : Buffer length = 103
3288:3324:18/6/2012:14:49:15:501::CAmandaPktHandler : Parser : Packet type = 0
3288:3324:18/6/2012:14:49:15:501::CAmandaParser : Error : Unknown Service name
3288:3324:18/6/2012:14:49:15:501::CAmandaPktHandler : Parser : Error while parsing the amanda packet
3288:3324:18/6/2012:14:49:15:501::CSocketChannel::OnClientReading : Leaving true
3288:3324:18/6/2012:14:49:25:537::CSocketChannel::OnClientReading : Context = 0000000000CE8460, SocketID = 0000000000000218, DataSize = 103
3288:3324:18/6/2012:14:49:25:537::. . . . . . . . 00 00 00 5f 00 00 00 01
3288:3324:18/6/2012:14:49:25:537::. S E C U R I T 00 53 45 43 55 52 49 54
3288:3324:18/6/2012:14:49:25:537::Y . U S E R . r 59 20 55 53 45 52 20 72
3288:3324:18/6/2012:14:49:25:537::o o t . S E R V 6f 6f 74 0a 53 45 52 56
3288:3324:18/6/2012:14:49:25:537::I C E . a m i n 49 43 45 20 61 6d 69 6e
3288:3324:18/6/2012:14:49:25:537::d e x d . O P T 64 65 78 64 0a 4f 50 54
3288:3324:18/6/2012:14:49:25:537::I O N S . f e a 49 4f 4e 53 20 66 65 61
3288:3324:18/6/2012:14:49:25:537::t u r e s = f f 74 75 72 65 73 3d 66 66
3288:3324:18/6/2012:14:49:25:537::f f f f f f 9 e 66 66 66 66 66 66 39 65
3288:3324:18/6/2012:14:49:25:537::f e f b f f f f 66 65 66 62 66 66 66 66
3288:3324:18/6/2012:14:49:25:537::f f f f f f 0 f 66 66 66 66 66 66 30 66
3288:3324:18/6/2012:14:49:25:537::. a u t h = b s 3b 61 75 74 68 3d 62 73
3288:3324:18/6/2012:14:49:25:537::d t c p . . . 64 74 63 70 3b 0a 00
3288:3324:18/6/2012:14:49:25:537::ReadRegistryValue: Entering ReadRegistryValue.
3288:3324:18/6/2012:14:49:25:537::CAmandaPktHandler::ParsePacket : Buffer length = 103
3288:3324:18/6/2012:14:49:25:537::CAmandaPktHandler : Parser : Packet type = 0
3288:3324:18/6/2012:14:49:25:537::CAmandaParser : Error : Unknown Service name
3288:3324:18/6/2012:14:49:25:537::CAmandaPktHandler : Parser : Error while parsing the amanda packet
3288:3324:18/6/2012:14:49:25:537::CSocketChannel::OnClientReading : Leaving true
3288:3324:18/6/2012:14:49:35:538::CSocketChannel::OnClientReading : Context = 0000000000CE8460, SocketID = 0000000000000218, DataSize = 8
3288:3324:18/6/2012:14:49:35:538::. . . . . . . . 00 00 00 00 00 00 00 01
3288:3324:18/6/2012:14:49:35:538::ReadRegistryValue: Entering ReadRegistryValue.
3288:3324:18/6/2012:14:49:35:538::CAmandaPktHandler::ParsePacket : Buffer length = 8
3288:3324:18/6/2012:14:49:35:538::CAmandaPktHandler : Parser : Packet type = 5
3288:3324:18/6/2012:14:49:35:538::CSocketChannel::OnClientReading : Leaving true
3288:3324:18/6/2012:14:49:35:538::CSocketChannel::OnClientReading : Context = 0000000000CE8460, SocketID = 0000000000000218, DataSize = 0
3288:3324:18/6/2012:14:49:35:568::RemoveStaleClient : Last error code is 0
3288:3324:18/6/2012:14:49:35:568::The operation completed successfully.

3288:3324:18/6/2012:14:49:35:568::Entering CSessionMgr::OnClientDisconnect
3288:3324:18/6/2012:14:49:35:568::Communication Layer : Connection closed by server.
3288:3324:18/6/2012:14:49:35:568::Network Connection is closed without receiving data
3288:3324:18/6/2012:14:49:35:568::DCM_STREAM_DISCONNECT_INFO = 000000000035EFB0
3288:3324:18/6/2012:14:49:35:568::Leaving CSessionMgr::OnClientDisconnect
3288:3324:18/6/2012:14:49:35:568::Entering MoveToFreePool
3288:3324:18/6/2012:14:49:35:568::Leaving MoveToFreePool

Ksloan
June 18th, 2012, 01:16 PM
I was able to get it working. I was typing in "amrecover DailySet1" so I tried "amrecover -C DailySet1 -s localhost -t localhost -h 'client_pc_name' " and it worked!

I tried extracting files/folders but I keep geting "Virtual-tape directory is not writable" even when I change permissions (chmod 777). Ill continue to try and get this working but if anyone has any idea, I'd appreciate it.\


UPDATE : - I had to disable SELinux in order to bypass this, but then I was able to successfully restore.