Amanda-Users

Selfcheck not running

2006-11-06 18:38:12
Subject: Selfcheck not running
From: James Wilson <jwilson AT transolutions DOT net>
To: Paddy Sreenivasan <paddy AT zmanda DOT com>
Date: Mon, 06 Nov 2006 17:31:04 -0600
The file selfcheck is there and it is owned by amandabackup and group disk. However I have no log files from selfcheck. I installed the RPM for rhel4 version 2.5.0p2-1

Paddy Sreenivasan wrote:
Check if selfcheck is installed in the machine. It must be in
/usr/lib/amanda/ directory. It should be owned by amanda user.

How did you install amanda client?

Paddy

On 11/6/06, James Wilson <jwilson AT transolutions DOT net> wrote:
I have not selfcheck debug files in the /tmp/amanda directory. How ever
I do have this files on my other servers that are running amanda client.

Paddy Sreenivasan wrote:
> It should be in <client>: /tmp/amanda directory in 2.5.0 and in
> /tmp/amanda/client/<config name/ directory in 2.5.1 It will called
> selfcheck.<datestamp>.debug
>
> Paddy
>
> On 11/6/06, James Wilson <jwilson AT transolutions DOT net> wrote:
>> Sorry for my ignorance but where are the selfcheck logs located?
>>
>> Paddy Sreenivasan wrote:
>> > This could be a problem. Is there information on selfcheck logs? It
>> > appears selfcheck is not starting
>> >
>> > Paddy
>> >
>> > On 11/6/06, James Wilson <jwilson AT transolutions DOT net> wrote:
>> >> Here is the file I do see the requests and replies but then I see
>> an one
>> >> line that says received unexpected REQ packet. Could this be the
>> >> problem?
>> >>
>> >> Paddy Sreenivasan wrote:
>> >> > Usually the problem is with the DNS on the client. Is there any
>> >> > information on
>> >> > amandad, selfcheck logs in /tmp/amanda directory?
>> >> >
>> >> > Thanks,
>> >> > Paddy
>> >> >
>> >> > On 11/6/06, James Wilson <jwilson AT transolutions DOT net> wrote:
>> >> >> I have done the pings and trace route and everything is resolving.
>> >> >>
>> >> >> Paddy Sreenivasan wrote:
>> >> >> > Presence of virtual IPs should not matter.
>> >> >> >
>> >> >> > Check if it is a name resolution issue.
>> >> >> >
>> >> >> > Paddy
>> >> >> >
>> >> >> > On 11/6/06, James Wilson <jwilson AT transolutions DOT net> wrote:
>> >> >> >> I have tried the trouble shooting. The config files look right,
>> >> >> does it
>> >> >> >> matter if their are virtual ip addresses on the client? I'm not
>> >> >> trying
>> >> >> >> to connect to one of the virtual IP's but just wondering if
>> this
>> >> >> would
>> >> >> >> confuse amanda at all.
>> >> >> >>
>> >> >> >> Paddy Sreenivasan wrote:
>> >> >> >> > If you are running 2.5.1 or 2.5.1p1, these xinetd and
>> >> .amandahosts
>> >> >> >> > entries
>> >> >> >> > require changes. See
>> >> >> >> >
>> >> >> >>
>> >> >>
>> >>
>> http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication
>>
>> >>
>> >> >>
>> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > For troubleshooting this problem, you can also see
>> >> troubleshooting
>> >> >> >> > wiki page:
>> >> >> >> >
>> >> http://wiki.zmanda.com/index.php/Amcheck:_selfcheck_request_failed
>> >> >> >> >
>> >> >> >> > Paddy
>> >> >> >> >
>> >> >> >> > On 11/6/06, James Wilson <jwilson AT transolutions DOT net> wrote:
>> >> >> >> >> Hey All,
>> >> >> >> >>
>> >> >> >> >>   I keep getting this error for one of my hosts.
>> >> >> >> >>
>> >> >> >> >> selfcheck request failed: timeout waiting for ACK
>> >> >> >> >> Client check: 4 hosts checked in 30.153 seconds, 1 problem
>> >> found
>> >> >> >> >>
>> >> >> >> >> I have added this in my amandaclient file in the xinetd.d
>> >> >> directory.
>> >> >> >> >>
>> >> >> >> >> service amanda
>> >> >> >> >> {
>> >> >> >> >>        disable         = no
>> >> >> >> >>        socket_type     = dgram
>> >> >> >> >>        protocol        = udp
>> >> >> >> >>        wait            = yes
>> >> >> >> >>        user            = amandabackup
>> >> >> >> >>        group           = disk
>> >> >> >> >>        groups          = yes
>> >> >> >> >>        server          = /usr/lib/amanda/amandad
>> >> >> >> >> }
>> >> >> >> >>
>> >> >> >> >> And I have this added to the .amandahosts file.
>> >> >> >> >>
>> >> >> >> >> localhost   amandabackup
>> >> >> >> >> localhost.localdomain   amandabackup
>> >> >> >> >> amanda.transolutions.net amandabackup
>> >> >> >> >> amanda.transolutions.net root
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> Am I missing something? I have restarted the xinetd.d
>> service.
>> >> >> It is
>> >> >> >> >> hard to restart the service because this is a heavily used
>> >> >> production
>> >> >> >> >> server. The server is running RHE4.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >> amandad: debug 1 pid 27487 ruid 6002 euid 6002: start at Mon Nov 6
>> >> 13:22:10 2006
>> >> amandad: version 2.5.0p2
>> >> amandad: build: VERSION="Amanda-2.5.0p2"
>> >> amandad:        BUILT_DATE="Fri May 12 11:52:52 PDT 2006"
>> >> amandad: BUILT_MACH="Linux rocky.zmanda.com 2.6.9-22.0.2.ELsmp
>> >> #1 SMP Thu Jan 5 17:13:01 EST 2006 i686 i686 i386 GNU/Linux"
>> >> amandad:        CC="gcc"
>> >> amandad:        CONFIGURE_COMMAND="'./configure'
>> >> '--build=i386-redhat-linux' '--prefix=/usr' '--bindir=/usr/bin'
>> >> '--sbindir=/usr/sbin' '--libexecdir=/usr/lib/amanda'
>> >> '--datadir=/usr/share' '--sysconfdir=/etc'
>> >> '--sharedstatedir=/var/lib/amanda' '--localstatedir=/var/lib/amanda' >> >> '--libdir=/usr/lib' '--includedir=/usr/include' '--infodir=/usr/info'
>> >> '--mandir=/usr/share/man'
>> >> '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists'
>> >> '--with-dumperdir=/usr/lib/amanda' '--with-index-server=localhost'
>> >> '--with-tape-server=localhost' '--with-user=amandabackup'
>> >> '--with-group=disk' '--with-owner=paddy' '--with-fqdn'"
>> >> amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
>> >> amandad: libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
>> >> amandad:        AMANDA_TMPDIR="/tmp/amanda"
>> AMANDA_DBGDIR="/tmp/amanda"
>> >> amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
>> >> amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
>> >> amandad:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
>> >> amandad:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
>> >> VXRESTORE=UNDEF
>> >> amandad: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/gtar" >> >> amandad: COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
>> >> amandad:        LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/Mail"
>> >> amandad:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
>> >> amandad: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
>> >> amandad:        DEFAULT_TAPE_SERVER="localhost"
>> >> amandad:        DEFAULT_TAPE_DEVICE="null:" HAVE_MMAP HAVE_SYSVSHM
>> >> amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
>> >> amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY
>> >> USE_AMANDAHOSTS
>> >> amandad:        CLIENT_LOGIN="amandabackup" FORCE_USERID HAVE_GZIP
>> >> amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
>> >> amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
>> >> amandad: time 0.001: accept recv REQ pkt:
>> >> <<<<<
>> >> SERVICE noop
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >> >>>>>
>> >> amandad: time 0.001: creating new service: /usr/lib/amanda/noop
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >>
>> >> amandad: time 0.003: sending ACK pkt:
>> >> <<<<<
>> >> >>>>>
>> >> amandad: time 0.003: sending REP pkt:
>> >> <<<<<
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >> >>>>>
>> >> amandad: time 9.998: timeout
>> >> amandad: time 9.998: sending REP pkt:
>> >> <<<<<
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >> >>>>>
>> >> amandad: time 9.999: received REQ pkt:
>> >> <<<<<
>> >> SERVICE noop
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >> >>>>>
>> >> amandad: time 9.999: received unexpected REQ packet
>> >> <<<<<
>> >> SERVICE noop
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >> ----
>> >>
>> >> amandad: time 9.999: sending NAK pkt:
>> >> <<<<<
>> >> ERROR unexpected packet type REQ
>> >> >>>>>
>> >> amandad: time 20.000: accept recv REQ pkt:
>> >> <<<<<
>> >> SERVICE noop
>> >> OPTIONS features=fffffeff9ffeffff07;
>> >> >>>>>
>> >> amandad: time 20.000: /usr/lib/amanda/noop OPTIONS
>> >> features=fffffeff9ffeffff07;
>> >> : already running, acking req
>> >> amandad: time 20.000: sending ACK pkt:
>> >> <<<<<
>> >> >>>>>
>> >> amandad: time 29.998: pid 27487 finish time Mon Nov 6 13:22:40 2006
>> >>
>> >>
>> >>
>> >
>> >
>>
>
>




<Prev in Thread] Current Thread [Next in Thread>
  • Timeout, James Wilson
    • Re: Timeout, Paddy Sreenivasan
    • Message not available
      • Message not available
        • Message not available
        • Message not available
        • Message not available
        • Message not available
        • Message not available
        • Message not available
        • Message not available
        • Message not available
        • Selfcheck not running, James Wilson <=