[Fwd: Problems with amanda and Red-Hat 7.0]
Hi, > > So I'll repeat one of my questions: have you gone through all of the tests > in the FAQ? This problem is very common on new installations and the FAQ > has at least two items specifically dealing with debugging what's wrong. > Yes I did!!! The problem here is xinetd ... I looked at the /var/log messages and I got the following lines just after having run "amcheck DailySet1": > Nov 28 18:42:06 raffaello xinetd: xinetd startup succeeded > Nov 28 18:42:22 raffaello xinetd[14793]: refused connect from 128.197.61.90 >From here you can see that xinetd is refusing to connect from 128.197.61.90 (which is the PC I am trying to make the amanda server run on!!) ... the problem is that all the configuration files are ok ... at least I think ... My hosts.allow file is as follow : imapd: localhost 128.197.61.90 in.telnetd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 128.197.61.184 128.197.61.187 193.205.82.52 in.talkd: ALL in.tftpd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 in.fingerd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 in.rlogind: localhost 128.197.61.90 128.197.61.91 128.197.61.92 in.rshd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 in.ftpd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 128.197.61.184 128.197.61.187 in.rexecd: localhost 128.197.61.90 rpc.cmsd: localhost 128.197.61.90 # httpd: localhost 128.197.61.91 128.197.61.92 portmap: localhost 128.197.61.90 128.197.61.91 128.197.61.92 128.197.61.95 128.197.61.96 128.197.61.97 128.197.61.184 128.197.61.187 xinetd.conf is : defaults { instances = 60 log_type= SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST RECORD } includedir /etc/xinetd.d and finally /etc/xinetd.d/amandad is : service amanda { socket_type = dgram protocol= udp wait= yes user= operator group = disk server = /usr/lib/amanda/amandad disable = no } At this point I see no particular reason for xinetd to refuse connections on port 10080 for the same host!!! Do you seee any?? Bye, Antonino Casile
Re: [Fwd: Problems with amanda and Red-Hat 7.0]
Hi, i assume in your hosts.deny you have something like ALL:ALL to block every connect to ports not explicitly allowed in hosts.allow. But in your hosts.allow i can't find a line allowing access from 128.197.61.90 to the amanda-ports. probably it would be a good idea to include something like ALL: 128.197.61.90 into hosts.allow to make shure all acesses from the local host are allowed, because you shurely trust your own machine, don't you? Christoph Casile Antonino schrieb: > > Hi, > > > > So I'll repeat one of my questions: have you gone through all of the tests > > in the FAQ? This problem is very common on new installations and the FAQ > > has at least two items specifically dealing with debugging what's wrong. > > > > Yes I did!!! > The problem here is xinetd ... I looked at the /var/log messages and I > got the following lines just after having run "amcheck DailySet1": > > > Nov 28 18:42:06 raffaello xinetd: xinetd startup succeeded > > Nov 28 18:42:22 raffaello xinetd[14793]: refused connect from 128.197.61.90 > > >From here you can see that xinetd is refusing to connect from > 128.197.61.90 (which is the PC I am trying to make the amanda server run > on!!) ... the problem is that all the configuration files are ok ... at > least I think ... > > My hosts.allow file is as follow : > > imapd: localhost 128.197.61.90 > in.telnetd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > 128.197.61.184 128.197.61.187 193.205.82.52 > in.talkd: ALL > in.tftpd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > in.fingerd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > in.rlogind: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > in.rshd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > in.ftpd: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > 128.197.61.184 128.197.61.187 > in.rexecd: localhost 128.197.61.90 > rpc.cmsd: localhost 128.197.61.90 > # httpd: localhost 128.197.61.91 128.197.61.92 > portmap: localhost 128.197.61.90 128.197.61.91 128.197.61.92 > 128.197.61.95 128.197.61.96 128.197.61.97 128.197.61.184 128.197.61.187 > > xinetd.conf is : > > defaults > { > instances = 60 > log_type= SYSLOG authpriv > log_on_success = HOST PID > log_on_failure = HOST RECORD > } > > includedir /etc/xinetd.d > > and finally /etc/xinetd.d/amandad is : > > service amanda > { > socket_type = dgram > protocol= udp > wait= yes > user= operator > group = disk > server = /usr/lib/amanda/amandad > disable = no > } > > At this point I see no particular reason for xinetd to refuse > connections on port 10080 for the same host!!! Do you seee any?? > Bye, Antonino Casile
Re: [Fwd: Problems with amanda and Red-Hat 7.0]
Hi, your suggestion partially worked. I added a line like : ALL : localhost 127.0.0.1 128.197.61.90 in hosts.allow (the fact is that, with the release of xinetd, you can filter packets based on the service that is being requested either with the hosts.allow file or with the xinetd configuration files in /etc/xinetd.d ... which I think is quite confusing!!!) here is the output I get running "amcheck -c DailySet1" : Amanda Backup Client Hosts Check protocol packet receive: Connection refused protocol packet receive: Connection refused WARNING: raffaello: selfcheck request timed out. Host down? Client check: 1 host checked in 29.997 seconds, 1 problem found. (brought to you by Amanda 2.4.1p1) Going through the /var/log/messages file I have found the following record : Nov 29 11:41:56 raffaello xinetd[16241]: xinetd Version 2.1.8.9pre11 started with Nov 29 11:41:56 raffaello xinetd[16241]: libwrap Nov 29 11:41:56 raffaello xinetd[16241]: options compiled in. Nov 29 11:41:56 raffaello xinetd[16241]: Started working: 8 available services Nov 29 11:41:59 raffaello xinetd: xinetd startup succeeded Nov 29 11:42:04 raffaello xinetd[16241]: amanda service was deactivated because of looping Nov 29 11:42:04 raffaello xinetd[16241]: recv: Bad file descriptor (errno = 9) Anybody knows what's a "looping" in this context??? Thank you Bye, Antonino Casile