PDA

View Full Version : Windows Client



vpatton
June 9th, 2010, 01:38 PM
First post and New Amanda user
I've installed the latest Amanda Server software and client
I have a backup job for a Debian server up and running just fine, but I'm running into a problem with the windows client.
Here is part of the LogFile for the Windows Client

-------------------------------Log file debug info----------------------------
4416:3504:9/6/2010:16:01:171::Catalog:GetStatementHandle: sql specific error
4416:3504:9/6/2010:16:01:171::Catalog: IsConnected: Reconnecting
4416:3504:9/6/2010:16:01:171::Catalog: IsConnected: Freeing connection handles
4416:3504:9/6/2010:16:01:171::Catalog:ConnectToDb: Preprocessing before connecting to driver
4416:3504:9/6/2010:16:01:171::Reading connection string from registry
4416:3504:9/6/2010:16:01:171::Connection string from registry is read successfully
4416:3504:9/6/2010:16:01:171::Catalog:ConnectToDb: Connecting to driver
4416:3504:9/6/2010:16:01:171::Catalog:ConnectToDb: Driver Connection is Successful
4416:3504:9/6/2010:16:01:171::Catalog: IsSchemaExists: Checking if schema exists
4416:3504:9/6/2010:16:01:171::Catalog: IsSchemaExists: Schema exists
4416:3504:9/6/2010:16:01:171::Catalog: IsConnected: Reconnecting to database
4416:3504:9/6/2010:16:01:171::Catalog: IsConnected: Connected to database
4416:3504:9/6/2010:16:01:171::Catalog: IsSchemaExists: Checking if schema exists
4416:3504:9/6/2010:16:01:171::Catalog: IsSchemaExists: Schema exists
4416:3504:9/6/2010:16:01:171::Catalog:DisconnectDb: Disconnecting DB
4416:3504:9/6/2010:16:01:171::Catalog:DisconnectDb: Connection to DB is disconnected successfully
4416:3504:9/6/2010:16:01:187::Catalog:GetStatementHandle: sql specific error
4416:3504:9/6/2010:16:01:187::Catalog: IsConnected: Reconnecting
4416:3504:9/6/2010:16:01:187::Catalog: IsConnected: Freeing connection handles
4416:3504:9/6/2010:16:01:187::Catalog:ConnectToDb: Preprocessing before connecting to driver
4416:3504:9/6/2010:16:01:187::Reading connection string from registry
4416:3504:9/6/2010:16:01:187::Connection string from registry is read successfully
4416:3504:9/6/2010:16:01:187::Catalog:ConnectToDb: Connecting to driver
4416:3504:9/6/2010:16:01:187::Catalog:ConnectToDb: Driver Connection is Successful
4416:3504:9/6/2010:16:01:187::Catalog: IsSchemaExists: Checking if schema exists
4416:3504:9/6/2010:16:01:187::Catalog: IsSchemaExists: Schema exists
4416:3504:9/6/2010:16:01:187::Catalog: IsConnected: Reconnecting to database
4416:3504:9/6/2010:16:01:187::Catalog: IsConnected: Connected to database
4416:3504:9/6/2010:16:01:187::Catalog:DisconnectDb: Disconnecting DB
4416:3504:9/6/2010:16:01:187::Catalog:DisconnectDb: Connection to DB is disconnected successfully
4416:4232:9/6/2010:16:03:571::CZWCJobHandler::ExecuteJob : Job Type = 3
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 5
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 21
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 1
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 3
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 6
4416:4232:9/6/2010:16:03:789::CZWCJobHandler : IsApplicationSupported: Application not supported
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 7
4416:4232:9/6/2010:16:03:789::CZWCJobHandler::ExecuteJob : Job Type = 8
4416:1720:9/6/2010:16:03:805::RemoveStaleClient : Last error code is 0
4416:1720:9/6/2010:16:03:805::The operation completed successfully.

And here is the debug file from the server for when I run amcheck

Wed Jun 9 16:05:41 2010: amcheck: pid 26470 ruid 0 euid 0 version 3.1.0: start at Wed Jun 9 16:05:41 2010
Wed Jun 9 16:05:41 2010: amcheck: pid 26470 ruid 0 euid 0 version 3.1.0: rename at Wed Jun 9 16:05:41 2010
Wed Jun 9 16:05:41 2010: amcheck-clients: security_getdriver(name=BSD) returns 0xb7e827c0
Wed Jun 9 16:05:41 2010: amcheck-clients: security_handleinit(handle=0x8068268, driver=0xb7e827c0 (BSD))
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_bind: setting up a socket with family 2
Wed Jun 9 16:05:41 2010: amcheck-clients: bind_portrange2: Try port 729: Available - Success
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_bind: socket 3 bound to 0.0.0.0.729
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr(addr=0x8068288, dgram=0xb7e8ac24)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0x8068288 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr: 0xb7e8ac24->socket = 3
Wed Jun 9 16:05:41 2010: amcheck-clients: security_getdriver(name=BSD) returns 0xb7e827c0
Wed Jun 9 16:05:41 2010: amcheck-clients: security_handleinit(handle=0x8069a80, driver=0xb7e827c0 (BSD))
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr(addr=0x8069aa0, dgram=0xb7e8ac24)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0x8069aa0 = { 2, 10080, 172.16.8.240 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr: 0xb7e8ac24->socket = 3
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_recv(dgram=0xb7e8ac24, timeout=0, fromaddr=0xb7e9ac10)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0xb7e9ac10 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_recv(dgram=0xb7e8ac24, timeout=0, fromaddr=0xb7e9ac10)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0xb7e9ac10 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr(addr=0x8068288, dgram=0xb7e8ac24)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0x8068288 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr: 0xb7e8ac24->socket = 3
Wed Jun 9 16:05:41 2010: amcheck-clients: security_getdriver(name=BSD) returns 0xb7e827c0
Wed Jun 9 16:05:41 2010: amcheck-clients: security_handleinit(handle=0x806ad28, driver=0xb7e827c0 (BSD))
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr(addr=0x806ad48, dgram=0xb7e8ac24)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0x806ad48 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr: 0xb7e8ac24->socket = 3
Wed Jun 9 16:05:41 2010: amcheck-clients: security_close(handle=0x8068268, driver=0xb7e827c0 (BSD))
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_recv(dgram=0xb7e8ac24, timeout=0, fromaddr=0xb7e9ac10)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0xb7e9ac10 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_recv(dgram=0xb7e8ac24, timeout=0, fromaddr=0xb7e9ac10)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0xb7e9ac10 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr(addr=0x806ad48, dgram=0xb7e8ac24)
Wed Jun 9 16:05:41 2010: amcheck-clients: (sockaddr_in *)0x806ad48 = { 2, 10080, 172.16.1.1 }
Wed Jun 9 16:05:41 2010: amcheck-clients: dgram_send_addr: 0xb7e8ac24->socket = 3
Wed Jun 9 16:05:41 2010: amcheck-clients: security_close(handle=0x806ad28, driver=0xb7e827c0 (BSD))

When I run amcheck I get
Amanda Backup Client Hosts Check
--------------------------------
ERROR: USER-PC: Unauthenticated user
Client check: 2 hosts checked in 0.619 seconds. 1 problem found.

pyeatman
June 9th, 2010, 03:39 PM
What user are you running amcheck as (what is your dumpuser in amanda.conf)?

vpatton
June 10th, 2010, 07:24 AM
That answered the question for me, thank you. The DumpUser was incorrect.

Thanks