LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   amanda-server, selfcheck request failed: recv error: Connection reset by peer (https://www.linuxquestions.org/questions/linux-server-73/amanda-server-selfcheck-request-failed-recv-error-connection-reset-by-peer-864311/)

malayo 02-22-2011 10:29 AM

amanda-server, selfcheck request failed: recv error: Connection reset by peer
 
when i ran amcheck DailySet1 as backup user and got these messages:

Code:

Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps/: 75841272 kB disk space available, using 75841272 kB
slot 1: read label `DailySet1-01', date `X'
NOTE: skipping tape-writable test
Tape DailySet1-01 label ok
NOTE: host info dir /etc/amanda/DailySet1/curinfo/ns1.malayo.local does not exist
NOTE: it will be created on the next run.
NOTE: index dir /etc/amanda/DailySet1/index/ns1.malayo.local does not exist
NOTE: it will be created on the next run.
Server check took 0.174 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: ns1.malayo.local: selfcheck request failed: recv error: Connection reset by peer
Client check: 1 host checked in 0.528 seconds, 1 problem found

os is debian lenny
amanda-server version is 2.5.2p1
amanda-client version on backup client is 2.5.2p1-4

/etc/amandahosts on server
Code:

localhost        backup        amdump
localhost        root        amindexd amidxtaped
ns1.malayo.local        root        amindexd amidxtaped

server can ping ns1.malayo.local

/etc/amandahosts on client
Code:

amanda.malayo.local        backup amdump
client can ping amanda.malayo.local

there's nothing in /tmp/amanda

this is what i found in debug file
Code:

amcheck-clients: time 0.554: security_stream_seterr(0x88199a0, recv error: Connection reset by peer)
amcheck-clients: time 0.554: security_seterror(handle=0x88197d8, driver=0xb7748520 (BSDTCP) error=recv error: Connection reset by peer)
amcheck-clients: time 0.554: security_close(handle=0x88197d8, driver=0xb7748520 (BSDTCP))
amcheck-clients: time 0.554: security_stream_close(0x88199a0)
amcheck: time 0.555: pid 5209 finish time Wed Feb 23 00:26:16 2011

any idea?

choogendyk 02-24-2011 06:43 AM

Is this your initial setup? There is nothing in /tmp/amanda on the client, but you found the debug files in /tmp/amanda on the server? What auth method are you using?

There is reference detail here http://wiki.zmanda.com/man/amanda-auth.7.html as well as here http://wiki.zmanda.com/index.php/Sel...request_failed.

malayo 02-24-2011 08:38 AM

yes, my initial setup based on this article -> http://www.howtoforge.com/disk-backu...n-debian-lenny

auth: bsdtcp

choogendyk 02-25-2011 05:30 AM

I presume you are using Amanda 2.5.2p1 just because that is the package available for your version of Debian? That's actually quite old. Should work, but you'll find many of the Amanda guides talking about newer versions.

Do look at the links I posted above. They directly address the issue you are having. A more extensive installation and setup guide pertinent to your version of Amanda can be found here http://wiki.zmanda.com/index.php/Quick_start_%28old%29 . Various links within that will get you to other parts of the Amanda wiki.


All times are GMT -5. The time now is 06:39 PM.