Hi.

I've found another couple of problems that prevent the amserverconfig script 
from running.
After manually fixing the $localstatedir error I wrote about above I now get 
the following error:

        $ amserverconfig DailySet1 --template tape-changer --tapetype LTO3-400 
--changerdev /dev/sg6
        Logging to /var/log/amanda/amserverconfig.20091019112549.debug
        /etc/amanda/template.d directory created
        ERROR: copy dumptypes failed: No such file or directory

After researching, also in the /usr/lib/amanda/perl/Amanda/Paths.pm file the 
$amdatadir is incorrectly defined.
It is set to the /usr/share/amanda directory which doesn't exist.
Instead $amdatadir should be set to the /var/lib/amanda directory.

Also, I needed to copy the /usr/share/doc/amanda-common/examples/template.d 
directory to /var/lib/amanda/template.d and also ungzip all the .gz files in 
there.

Once done, then the script works:

        $ amserverconfig DailySet1 --template tape-changer --tapetype LTO3-400 
--changerdev /dev/sg6
        Logging to /var/log/amanda/amserverconfig.20091019114735.debug
        /etc/amanda/template.d directory created
        /var/lib/amanda/gnutar-lists directory exists
        /etc/amanda/DailySet1/advanced.conf created and updated
        curinfo and index directory created
        tapelist file created
        disklist file created
        Creating custom configuration using templates
        custom amanda.conf created
        /var/lib/amanda/example/xinetd.amandaserver contains the latest Amanda 
server daemon configuration.
        Please merge it to /etc/xinetd.d/amandaserver.
        DONE.

However the last message about the xinetd.amandaserver is wrong, but doesn't 
really apply to the Debian install anyway from what I can tell.

Regards,

--
----------
Jim Barber
DDI Health



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to