What is the problem? My installation is not completed? I have already removed amanda configuration from /etc/inetd.conf, but I still have the same problem with amcheck
Thanks for your time! 2013/1/31 Jean-Louis Martineau <[email protected]>: > On 01/31/2013 08:54 AM, Raffaele Chiocchetti wrote: >> >> Hi, these are the results in the log when I restart xinetd >> >> /var/log/syslog: >> >> Jan 31 14:33:25 DebianServer kernel: [86442.901098] IPv6 addrconf: >> prefix with wrong length 56 >> Jan 31 14:34:00 DebianServer xinetd[29410]: Starting reconfiguration >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] >> [line=14] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Server >> /usr/lib/amanda/amandad is not executable [file=/etc/xinetd.d/amanda] > > It tell you what the problem is. > >> [line=17] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Error parsing attribute >> server - DISABLING SERVICE [file=/etc/xinetd.d/amanda] [line=17] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.d/chargen] >> [line=19] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] >> [line=28] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] >> [line=26] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] >> [line=25] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] >> [line=26] >> Jan 31 14:34:00 DebianServer xinetd[29410]: inetd.conf - Unknown user: >> amanda [file=/etc/inetd.conf] [line=38] > > Remove amanda configuration from /etc/inetd.conf, you do not needs both. > >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing duplicate service >> amanda [file=/etc/inetd.conf] [line=39] >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing amanda >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing chargen >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing chargen >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing daytime >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing daytime >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing discard >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing discard >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing echo >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing echo >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing time >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing time >> Jan 31 14:34:00 DebianServer xinetd[29410]: Swapping defaults >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reconfigured: new=0 old=0 >> dropped=0 (services) >> Jan 31 14:36:45 DebianServer kernel: [86643.298894] IPv6 addrconf: >> prefix with wrong length 56 >> Jan 31 14:40:06 DebianServer kernel: [86843.784715] IPv6 addrconf: >> prefix with wrong length 56 >> >> >> /var/log/daemon.log >> >> Jan 31 14:34:00 DebianServer xinetd[29410]: Starting reconfiguration >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] >> [line=14] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Server >> /usr/lib/amanda/amandad is not executable [file=/etc/xinetd.d/amanda] >> [line=17] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Error parsing attribute >> server - DISABLING SERVICE [file=/etc/xinetd.d/amanda] [line=17] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.d/chargen] >> [line=19] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] >> [line=28] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] >> [line=26] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] >> [line=25] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] >> [line=26] >> Jan 31 14:34:00 DebianServer xinetd[29410]: inetd.conf - Unknown user: >> amanda [file=/etc/inetd.conf] [line=38] >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing duplicate service >> amanda [file=/etc/inetd.conf] [line=39] >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing amanda >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing chargen >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing chargen >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing daytime >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing daytime >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing discard >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing discard >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing echo >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing echo >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing time >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing time >> Jan 31 14:34:00 DebianServer xinetd[29410]: Swapping defaults >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reconfigured: new=0 old=0 >> dropped=0 (services) >> >> /var/log/debug >> >> Jan 31 14:33:25 DebianServer kernel: [86442.901098] IPv6 addrconf: >> prefix with wrong length 56 >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] >> [line=14] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.d/chargen] >> [line=19] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] >> [line=28] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] >> [line=26] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] >> [line=25] >> Jan 31 14:34:00 DebianServer xinetd[29410]: Reading included >> configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] >> [line=26] >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing duplicate service >> amanda [file=/etc/inetd.conf] [line=39] >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing amanda >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing chargen >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing chargen >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing daytime >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing daytime >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing discard >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing discard >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing echo >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing echo >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing time >> Jan 31 14:34:00 DebianServer xinetd[29410]: removing time >> Jan 31 14:36:45 DebianServer kernel: [86643.298894] IPv6 addrconf: >> prefix with wrong length 56 >> Jan 31 14:40:06 DebianServer kernel: [86843.784715] IPv6 addrconf: >> prefix with wrong length 56 >> Jan 31 14:43:26 DebianServer kernel: [87044.182634] IPv6 addrconf: >> prefix with wrong length 56 >> >> >> >> 2013/1/31 Raffaele Chiocchetti <[email protected]>: >>> >>> Yes, >>> >>> this is the file merged: >>> # default: on >>> # >>> # description: Amanda services for Amanda server and client. >>> # >>> >>> service amanda >>> { >>> only_from = UbuntuServer >>> disable = no >>> flags = IPv4 >>> socket_type = stream >>> protocol = tcp >>> wait = no >>> user = amandabackup >>> group = disk >>> groups = yes >>> server = /usr/lib/amanda/amandad >>> server_args = -auth=bsdtcp amdump amindexd amidxtaped >>> } >>> >>> This is xinetd restart >>> >>> amandabackup@DebianServer:~$ /etc/init.d/xinetd restart >>> Stopping internet superserver: xinetd/etc/init.d/xinetd: 72: >>> start-stop-daemon: not found >>> failed! >>> Starting internet superserver: xinetd/etc/init.d/xinetd: 72: >>> start-stop-daemon: not found >>> failed! >>> amandabackup@DebianServer:~$ exit >>> logout >>> root@DebianServer:~# /etc/init.d/xinetd reload >>> Reloading internet superserver configuration: xinetd. >>> root@DebianServer:~# /etc/init.d/xinetd restart >>> Stopping internet superserver: xinetd. >>> Starting internet superserver: xinetd. >>> >>> This is to verify if Server are able to connect the Client >>> amandabackup@UbuntuServer:~$ amservice DebianServer bsdtcp noop >>> </dev/null >>> Request failed: Connection timed out >>> >>> 2013/1/31 Jean-Louis Martineau <[email protected]>: >>>> >>>> On 01/31/2013 06:12 AM, Raffaele Chiocchetti wrote: >>>>> >>>>> HI all, I am beginner with Amanda, last week I had setted without >>>>> problem a simple system with 2 server (Ubuntu and Windows). >>>>> >>>>> Now, I am setting a system with 3 servers. >>>>> >>>>> I) Amanda Server on ubuntu 12.04 (ubuntu.server.com) >>>>> II)Amanda Client on Windows 2008 Server >>>>> III)Amanda Client on Debian 6.0 (DebianServer) >>>>> >>>>> For Windows I don't have problem. I can terminate with success both >>>>> amcheck that amdump. >>>>> >>>>> I have some problem during the installation on Debian server, in-fact >>>>> I never find a guide to install and configure debian. >>>>> >>>>> This are the instructions that i have used to install Amanda on debian >>>>> 6 >>>>> >>>>> root@debian:~$ apt-get update >>>>> root@debian:~$ apt-get install build-essential >>>>> root@debian:~$ dpkg -i amanda-backup-server_XXX_i386.deb >>>>> root@debian:~$ passwd amandabackup >>>>> root@debian:~$ mkdir -p /data/amanda/vtape/DailySet1 >>>>> root@debian:~$ chown amandabackup:disk /data/amanda/vtape/DailySet1 >>>>> root@debian:~$ chmod -R 750 /data/amanda/vtape/DailySet1 >>>>> >>>>> After, I have added a debian client in Amanda server >>>>> >>>>> amandabackup@ubuntu:~$ amaddclient --config DailySet2 --client >>>>> DebianServer --diskdev /home/Folder --dumptype comp-user-tar >>>>> Logging to /var/log/amanda/amaddclient.20130131115218.debug >>>>> /etc/amanda/DailySet2/disklist has 'DebianServer/home/Folder ...' >>>>> entry, file not updated >>>>> updating /var/lib/amanda/.amandahosts on ubuntu.server.com >>>>> /var/lib/amanda/.amandahosts contains DebianServer root, file not >>>>> updated >>>>> Attempting to update /var/lib/amanda/.amandahosts on DebianServer >>>>> amandabackup@DebianServer's password: >>>>> .amandahosts 100% 340 0.3KB/s >>>>> 00:00 >>>>> /var/lib/amanda/.amandahosts contains ubuntu.server.com amandabackup, >>>>> file not updated >>>>> debianServer:/var/lib/amanda/.amandahosts updated successfully >>>>> Creating amanda-client.conf for DebianServer >>>>> Creating /etc/amanda/DailySet2 on DebianServer >>>>> amandabackup@DebianServer's password: >>>>> amandabackup@DebianServer's password: >>>>> amanda-client.conf-DebianServer 100% 392 0.4KB/s >>>>> 00:00 >>>>> Copy /var/lib/amanda/amanda-client.conf-DebianServer to DebianServer >>>>> successfully >>>> >>>> >>>>> File /var/lib/amanda/example/xinetd.amandaclient contains the latest >>>>> Amanda client daemon configuration. >>>>> Please merge it to /etc/xinetd.d/amandaclient. >>>> >>>> Have you merged it? Have you restarted xinetd? >>>> >>>> Jean-Louis >>>> >>>>> But now I receive a selfcheck request failed >>>>> >>>>> amandabackup@ubuntu:~$ amcheck DailySet2 -c >>>>> >>>>> Amanda Backup Client Hosts Check >>>>> -------------------------------- >>>>> WARNING: xx.yyy.xx.yy: selfcheck request failed: Connection timed out >>>>> Client check: 1 host checked in 199.542 seconds. 1 problem found. >>>>> >>>>> (brought to you by Amanda 3.3.3) >>>>> >>>>> I use bsdtcp for the authentication. >>>>> >>>>> Someone can help me? >>>>> >>>>> Thanks in advance >>>>> >>>>> Raffaele >>>> >>>> >
