Robert Heller
2020-Mar-17 13:03 UTC
[CentOS] Running amanda on CentOS 7: "amanda-udp.service failed."
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 -- -- Unit amanda-udp.service has failed. -- -- The result is failed. Mar 17 08:52:24 sharky4.deepsoft.com systemd[1]: amanda-udp.service failed. sharky4.deepsoft.com% cat /usr/lib/systemd/system/amanda-udp.service [Unit] Description=Amanda Backup System After=local-fs.target [Service] User=amandabackup Group=disk ExecStart=/usr/sbin/amandad -auth=bsd amdump StandardInput=socket What is missing? I have installed (stock CentOS 7 from standard repos): sharky4.deepsoft.com% rpm -qa amanda\* amanda-server-3.3.3-21.el7.x86_64 amanda-client-3.3.3-21.el7.x86_64 amanda-libs-3.3.3-21.el7.x86_64 amanda-3.3.3-21.el7.x86_64 -- 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
David G. Miller
2020-Mar-17 15:37 UTC
[CentOS] Running amanda on CentOS 7: "amanda-udp.service failed."
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
Robert Heller
2020-Mar-17 17:25 UTC
[CentOS] Running amanda on CentOS 7: "amanda-udp.service failed."
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 xinetdI 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
Orion Poplawski
2020-Mar-18 01:47 UTC
[CentOS] Running amanda on CentOS 7: "amanda-udp.service failed."
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) >You don't start the service directly. Start and enable the socket and then it will start the service when a connection is made. systemctl enable amanda-udp.socket systemctl start amanda-udp.socket -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion at nwra.com Boulder, CO 80301 https://www.nwra.com/