"John R. Jackson" wrote:
> Which it would be because it's UDP and telnet is TCP.
> 
> >... (and it's the same with ports 10081 and 10082) ... which is the
> >reason why I guess selfcheck fails ... but I couldn't figure out why the
> >connection is refused given that there is no filter in the configuration
> >files!!
> 
> Maybe because xinetd isn't even listening?
> 

Hi,
in order to test you guess I modified the amanda file in the
/etc/xinetd.d directory as follows :

service amanda
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = operator
        group                   = disk
#        server                  = /usr/lib/amanda/amandad
                                server  = /tmp/tmpamanda
        disable                 = no
}

and /tmp/tmpamanda is :

#!/bin/sh
echo "$(date): GOTCHA!!!" > /tmp/amandalog
exit 0

with the following permissions :

-rwxr-xr-x    1 operator disk           81 Nov 28 10:57 tmpamanda

Then I ran "amcheck DailySet1" .... the result was that no
/tmp/amandalog was produced ... so I think your guess is right and
xinetd is not listening on the amandad port.
netstat -a | grep amanda gives the following result :

tcp        0      0 *:amandaidx             *:*                    
LISTEN
udp        0      0 *:amanda                *:*

... so your guess was apparently right!! The problem now is ... how can
I make xinetd listen on the amandad port????
Thanks in advance.
                                Bye, Antonino Casile

Reply via email to