Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: selfcheck request failed: recv error: Connection reset by peer

  1. #1
    Join Date
    Feb 2010
    Posts
    29

    Default selfcheck request failed: recv error: Connection reset by peer

    Hi

    When I do an amcheck, I get this

    Amanda Backup Client Hosts Check
    --------------------------------
    WARNING: 192.168.2.2: selfcheck request failed: recv error: Connection reset by peer
    Client check: 1 host checked in 0.022 seconds. 1 problem found.

    I am using bsdtcp. I get an ack error if I switch the client to bsd authentication.
    What should I do, how do I fix it?
    I read that I should enter servers adress to hosts file in /etc/ directory?

    Cheers

  2. #2
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    306

    Default

    Hello!

    Is the amanda network service running on 192.168.2.2. If Linux, running 'netstat -tl" is a good way to see what services are listening for TCP packets on which ports. Do you find the amanda service listening on port 10080?

    Paul

  3. #3
    Join Date
    Feb 2010
    Posts
    29

    Default

    When I type netstat -tl:

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 *:amanda *:* LISTEN
    tcp 0 0 *:db2c_db2inst1 *:* LISTEN
    tcp 0 0 localhost.localdomain:ipp *:* LISTEN
    tcp 0 0 localhost.localdomain:smtp *:* LISTEN
    tcp 0 0 localhost.localdomain:6500 *:* LISTEN
    tcp 0 0 localhost.localdomain:6501 *:* LISTEN
    tcp 0 0 localhost.localdomain:6502 *:* LISTEN
    tcp 0 0 *:1415 *:* LISTEN
    tcp 0 0 *:7080 *:* LISTEN
    tcp 0 0 *:ssh *:* LISTEN
    tcp 0 0 *:1883 *:* LISTEN

  4. #4
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    306

    Default

    Looks good. Can you telnet from the Amanda server to 192.168.2.2 on port 10080 and get a connection?

  5. #5
    Join Date
    Feb 2010
    Posts
    29

    Default

    It didnt work.

    I get:

    telnet: connect to address 192.168.2.2: Connection timed out
    telnet: Unable to connect to remote host: Connection timed out

    When I type netstat -tulpn, I get this list:

    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN 25981/db2tcpcm 0
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 6713/cupsd
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2103/sendmail: acce
    tcp 0 0 :::10080 :::* LISTEN 23930/xinetd
    tcp 0 0 ::ffff:127.0.0.1:6500 :::* LISTEN 6817/DataFlowEngine
    tcp 0 0 ::ffff:127.0.0.1:6501 :::* LISTEN 6899/DataFlowEngine
    tcp 0 0 ::ffff:127.0.0.1:6502 :::* LISTEN 6903/DataFlowEngine
    tcp 0 0 :::1415 :::* LISTEN 25728/runmqlsr
    tcp 0 0 :::7080 :::* LISTEN 6813/biphttplistene
    tcp 0 0 :::22 :::* LISTEN 16929/sshd
    tcp 0 0 :::1883 :::* LISTEN 6899/DataFlowEngine
    udp 0 0 0.0.0.0:631 0.0.0.0:* 6713/cupsd

  6. #6
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    306

    Default

    If connection timed out, it sounds like a firewall is blocking the connection attempt from the server.

  7. #7
    Join Date
    Feb 2010
    Posts
    29

    Default

    I tried to telnet to 192.168.2.2 port 10080. But I get:

    telnet: connect to address 192.168.3.2: Connection timed out
    telnet: Unable to connect to remote host: Connection timed out

    I checked the client log file in /var/log/messages:

    execv( /usr/libexec/amanda/amandad ) failed: Exec format error (errno = 8)

    Why is this happening?

  8. #8
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    306

    Default

    Is the binary the correct binary for the system? What does "uname -a" say about the system and "file" say about the binary? Is ldd able to link all the required libraries for the binary?

    What do you get if you run this binary as the amanda user on the client?

  9. #9
    Join Date
    Feb 2010
    Posts
    29

    Default

    [root@pcs-broker etc]# uname -a
    Linux pcs-broker 2.6.9-55.EL #1 SMP Fri Apr 20 16:33:09 EDT 2007 ppc64 ppc64 ppc64 GNU/Linux


    [root@pcs-broker etc]# uname file
    Linux

  10. #10
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    306

    Default

    Please run "file /usr/libexec/amanda/amandad" and "ldd /usr/libexec/amanda/amandad"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •