Might your files have passed through a windows system?
I'm thinking that each line ends with the M$ style of CR/LF
but your OS is expecting only LF.


On Tue, Jan 08, 2013 at 02:59:11PM -0800, bulut wrote:
> hi everyone,
> 
> I installed Amanda-3.3.2 on debian (32 bit) from source code. 
> 
> ./configure --with-user=amanda --with-group=backup --with-rsh-security 
> --with-ssh-security --with-smbclient --with-bsdtcp-security --disable-nls
> 
> Everytihnks goes fine but I can't run amlabel, amdump or amcheck with "-t" 
> parameter. 
> 
> amanda@bulut:/usr/local/etc/amanda/SERVERS$ amcheck  -t SERVERS
> Amanda Tape Server Host Check
> -----------------------------
>  Current slot not loaded
> Taper scan algorithm did not find an acceptable volume.
>     (expecting a new volume)
> ERROR: No acceptable volumes found
> Server check took 2.141 seconds
> 
> (brought to you by Amanda 3.3.2)
> 
> 
> amanda@bulut:/usr/local/etc/amanda/SERVERS$ amlabel -f SERVERS Tape-02
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 2: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 2: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 6: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 6: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 9: FIRST, FIRSTFIT, 
> LARGEST, LARGESTFIT, SMALLEST or LAST expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 11: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 11: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 21: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 21: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 22: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 27: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 27: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 29: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 29: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 31: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 31: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 35: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 35: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 36: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 38: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 38: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 52: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 52: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 60: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 60: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 61: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 62: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 63: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 63: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 65: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 66: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 66: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 67: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 68: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 70: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 70: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 72: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 72: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 74: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 74: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 77: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 77: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 78: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 78: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 80: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 81: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 82: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 82: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 83: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 84: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 85: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 87: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 87: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 88: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 88: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 90: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 91: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 92: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 93: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 93: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 95: duplicate parameter; 
> previous definition /usr/local/etc/amanda/SERVERS/amanda.conf:16
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 96: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 97: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 100: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 100: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 101: error: not a keyword.
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 101: end of line is expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 103: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 104: configuration keyword 
> expected
> "/usr/local/etc/amanda/SERVERS/amanda.conf", line 105: error: not a keyword.
> parse error: tapetype HP-DAT is not defined
> 
> I have a tape unit with no tape changer: /dev/nst0
> I notice my amanda.conf file but I can't find anything strange
> My amanda.conf file is here;
> 
> org    "etc"  # your organization name for reports
> mailto         "ce...@mail.etc"       # space separated list of operators at 
> your site
> dumpuser "amanda"     # the user to run dumps under
> 
> inparallel 1
> dumporder "sssS"      # specify the priority order of each dumper
> taperalgo first               # The algorithm used to choose which dump image 
> to send
> 
> displayunit "k"               # Possible values: "k|m|g|t"
>                       
> netusage  8000 Kbps   # maximum net bandwidth for Amanda, in KB per sec
> 
> dumpcycle 4 weeks     # the number of days in the normal dump cycle
> runspercycle 20         # the number of amdump runs in dumpcycle days
>                       # (4 weeks * 5 amdump runs per week -- just weekdays)
> tapecycle 25 tapes    # the number of tapes in rotation
> 
> bumpsize 20 Mb                # minimum savings (threshold) to bump level 1 
> -> 2
> bumppercent 20                # minimum savings (threshold) to bump level 1 
> -> 2
> bumpdays 1            # minimum days at each level
> bumpmult 4            # threshold = bumpsize * bumpmult^(level-1)
> 
> etimeout 300          # number of seconds per filesystem for estimates.
> dtimeout 1800         # number of idle seconds before a dump is aborted.
> ctimeout 30           # maximum number of seconds that amcheck waits
>                       # for each client host
>  
> device_output_buffer_size 1280k
> 
> usetimestamps yes
> 
> flush-threshold-dumped 0
> flush-threshold-scheduled 0
> taperflush 0
> autoflush no
> 
> runtapes 1                    # number of tapes to be used in a single run of 
> amdump
> 
> tpchanger "chg-manual"
> changerdev "/dev/null"
> tapedev "/dev/nst0"
> 
> maxdumpsize -1                # Maximum number of bytes the planner will 
> schedule
>                       # for a run (default: runtapes * tape_length).
> tapetype HP-DAT               # what kind of tape it is (see tapetypes below)
> labelstr "^Tape-[0-9][0-9]*$" # label constraint regex: all tapes must match
> 
> amrecover_changer "changer"   # amrecover will use the changer if you restore
> 
> holdingdisk hd1 {
>     comment "main holding disk"
>     directory "/tmp/holdingdisk"
>     use -100 Mb       
>     chunksize 1Gb     
>     }
> 
> infofile "/usr/local/etc/amanda/SERVERS/curinfo"      # database DIRECTORY
> logdir   "/usr/local/etc/amanda/SERVERS"              # log directory
> indexdir "/usr/local/etc/amanda/SERVERS/index"                # index 
> directory
> 
> define tapetype HP-DAT {
>     comment "DAT tape drives"
>     length 1930 mbytes
>     filemark 111 kbytes
>     speed 468 kbytes
> }
> 
> define dumptype dump-local {
>     comment "Full dump of this filesystem always"
>     compress none
>     program "GNUTAR"
>     priority high
>     dumpcycle 0
>     auth "local"
> }
> 
> 
> define interface local {
>     comment "a local disk"
>     use 8000 kbps
> }
> 
> Note: I installed amanda-server and amanda-client with apt but same errors 
> happenned.
> 
> +----------------------------------------------------------------------
> |This was sent by bu...@kebikec.net via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +----------------------------------------------------------------------
> 
> 
> 
>>> End of included message <<<

-- 
Jon H. LaBadie                 j...@jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (609) 477-8330 (C)

Reply via email to