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

Tue Mar 17 17:25:26 UTC 2020
Robert Heller <heller at deepsoft.com>

At Tue, 17 Mar 2020 09:37:24 -0600 CentOS mailing list <centos at centos.org> wrote:

> 
> Content-Language: en-US
> 
> Hi Robert -
> 
> I'm running it successfully on C7 using xinetd.  Do you have 
> documentation for running it directly from systemd?  Working xinetd 

I just install amanda-client and that created the systemd service files, which 
I presumed was how things were supposed to work now.

I guess I will install xinetd and go from there instead.

> 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
> 

-- 
Robert Heller             -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services