[CentOS] Running amanda on CentOS 7: "amanda-udp.service failed."

Tue Mar 17 15:37:24 UTC 2020
David G. Miller <dave at davenjudy.org>

Hi Robert -

I'm running it successfully on C7 using xinetd.  Do you have 
documentation for running it directly from systemd?  Working xinetd 
configuration:

cat /etc/xinetd.d/amanda
# default: off
# description:  The client for the Amanda backup system.\
#               This must be on for systems being backed up\
#               by Amanda.
service amanda
{
     disable         = no
     socket_type     = dgram
     protocol        = udp
     wait            = yes
     user            = amandabackup
     group           = disk
     server          = /usr/sbin/amandad
# Configure server_args for the authentication type you will be using,
# and the services you wish to allow the amanda server and/or recovery
# clients to use.
#
# Change the -auth= entry to reflect the authentication type you use.
# Add amindexd to allow recovery clients to access the index database.
# Add amidxtaped to allow recovery clients to access the tape device.
     server_args      = -auth=bsd amdump
     flags            = IPv4
}

Cheers,
Dave

On 3/17/20 7:03 AM, Robert Heller wrote:
> I am trying to get amanda backup going on a CentOS 7 system and things are not
> working:
>
> sharky4.deepsoft.com% sudo systemctl start amanda-udp
> [sudo] password for heller:
> Job for amanda-udp.service failed because a configured resource limit was exceeded. See "systemctl status amanda-udp.service" and "journalctl -xe" for details.
> sharky4.deepsoft.com% sudo systemctl status -l amanda-udp
> ● amanda-udp.service - Amanda Backup System
>     Loaded: loaded (/usr/lib/systemd/system/amanda-udp.service; static; vendor preset: disabled)
>     Active: failed (Result: resources)
>
> Mar 17 08:35:58 sharky4.deepsoft.com systemd[1]: Unit amanda-udp.service entered failed state.
> Mar 17 08:35:58 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed.
> Mar 17 08:43:00 sharky4.deepsoft.com systemd[1]: Got more than one socket.
> Mar 17 08:43:00 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed to run 'start' task: Invalid argument
> Mar 17 08:43:00 sharky4.deepsoft.com systemd[1]: Failed to start Amanda Backup System.
> Mar 17 08:43:00 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed.
> Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: Got more than one socket.
> Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed to run 'start' task: Invalid argument
> Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: Failed to start Amanda Backup System.
> Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed.
> sharky4.deepsoft.com% sudo journalctl -xe
> Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed to
> Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: Failed to start Amanda Backup
> -- Subject: Unit amanda-udp.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
"They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty."

-- Benjamin Franklin