[FROG] Failed to start frr.service: Unit frr.service not found

Travis Garrison tgarrison at netviscom.com
Tue Dec 10 11:26:18 EST 2019


FRR is a replacement for quagga

Thanks
Travis

From: frog <frog-bounces at lists.frrouting.org> On Behalf Of ian.2.oakley at bt.com
Sent: Tuesday, December 10, 2019 10:22 AM
To: qlyoung at cumulusnetworks.com
Cc: frog at lists.frrouting.org
Subject: Re: [FROG] Failed to start frr.service: Unit frr.service not found

Hi Quentin,

I did as you suggested and it got to this prompt:

The following additional packages will be installed:
  libyang0.16
Suggested packages:
  frr-doc
The following packages will be REMOVED
  quagga quagga-bgpd quagga-core quagga-isisd quagga-ospf6d quagga-ospfd quagga-pimd quagga-ripd quagga-ripngd
The following NEW packages will be installed
  frr frr-pythontools libyang0.16

I don’t want to have the quagga packages uninstalled. Is there an option to install FRR without uninstalling Quagga?

Best regards,
Ian

From: Quentin Young <qlyoung at cumulusnetworks.com<mailto:qlyoung at cumulusnetworks.com>>
Sent: 10 December 2019 15:58
To: Oakley,I,Ian,TUS2 R <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>>
Cc: frog <frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>>
Subject: Re: [FROG] Failed to start frr.service: Unit frr.service not found

looking at the line again looks like you missed at least some of the instructions.
you should be able to just copy paste this whole block from `deb.frrouting.org<http://deb.frrouting.org>` directly into bash
though you should make sure to delete

/etc/apt/sources.list.d/frr.list

before trying the following again
-------

# add GPG key

curl -s https://deb.frrouting.org/frr/keys.asc | sudo apt-key add -



# possible values for FRRVER: frr-6 frr-7 frr-stable

# frr-stable will be the latest official stable release

FRRVER="frr-stable"

echo deb https://deb.frrouting.org/frr $(lsb_release -s -c) $FRRVER | sudo tee -a /etc/apt/sources.list.d/frr.list



# update and install FRR

sudo apt update && sudo apt install frr frr-pythontools
------

On Tue, Dec 10, 2019, 4:13 AM <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>> wrote:
Hi Quentin,

I did as you suggested and got this:
sudo apt update
[sudo] password for user:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/frr.list (Component)
E: The list of sources could not be read.

I take that to mean it didn’t work.  How should I resolve it?

Best regards,
Ian

From: Quentin Young <qlyoung at cumulusnetworks.com<mailto:qlyoung at cumulusnetworks.com>>
Sent: 09 December 2019 18:59
To: Oakley,I,Ian,TUS2 R <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>>
Cc: abauvin at scaleway.com<mailto:abauvin at scaleway.com>; frog <frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>>
Subject: Re: [FROG] Failed to start frr.service: Unit frr.service not found

That means it worked, and you can now perform an `apt update` followed by `apt install frr`.

On Mon, Dec 9, 2019 at 12:16 PM <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>> wrote:
Hi Alexis,

Ignore the previous message I sent, I managed to get past that step. However, I'm now stuck on a different step.
When I enter the command "echo deb https://deb.frrouting.org/frr $(lsb_release -s -c) $FRRVER | sudo tee -a /etc/apt/sources.list.d/frr.list"
I get "deb https://deb.frrouting.org/frr bionic"
What does that mean?

Best regards,
Ian

-----Original Message-----
From: Alexis Bauvin <abauvin at scaleway.com<mailto:abauvin at scaleway.com>>
Sent: 09 December 2019 16:30
To: Oakley,I,Ian,TUS2 R <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>>
Cc: sharpd at cumulusnetworks.com<mailto:sharpd at cumulusnetworks.com>; frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>
Subject: Re: [FROG] Failed to start frr.service: Unit frr.service not found

Hi Ian,

Since you’re running Ubuntu, the simplest way to get FRR installed the right way for production (not development) is through the official APT repository holding prepackaged DEB files: https://deb.frrouting.org

Regards,
Alexis

(re-send due to using wrong email address)

> Le 9 déc. 2019 à 14:14, <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>> <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>> a écrit :
>
> Hi Donald,
>
> I don't have Slack unfortunately. I assume uninstalling and then reinstalling FRR, but this time in the correct location, would help; however, I can't find in the Installation guide (docs.frrouting.org/en/latest/installation.html<http://docs.frrouting.org/en/latest/installation.html>) where I should install FRR. Where should I install it?
>
> Best regards,
> Ian
>
> -----Original Message-----
> From: Donald Sharp <sharpd at cumulusnetworks.com<mailto:sharpd at cumulusnetworks.com>>
> Sent: 09 December 2019 13:10
> To: Oakley,I,Ian,TUS2 R <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>>
> Subject: Re: [FROG] Failed to start frr.service: Unit frr.service not
> found
>
> Ian -
>
> Can you join us in our slack?  Goto https://frrouting.org and click on the slack link for a self-invite.  I suspect there are more than a few things wrong and it might be a faster way to communicate and work through the issues.
>
> donald
>
> On Mon, Dec 9, 2019 at 8:07 AM <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>> wrote:
>>
>> Hi Donald,
>>
>> The output of journalctl -f, after I copied frr.service into /etc/system/system, is:
>> Dec 09 13:00:29 IanRed systemd[16172]: frr.service: Failed at step
>> EXEC spawning /usr/lib/frr/frrinit.sh: No such file or directory Dec
>> 09 13:00:29 IanRed systemd[1]: frr.service: Control process exited, code=exited status=203 Dec 09 13:00:29 IanRed systemd[1]: frr.service: Failed with result 'exit-code'.
>> Dec 09 13:00:29 IanRed systemd[1]: Failed to start FRRouting.
>> Dec 09 13:00:29 IanRed systemd[1]: frr.service: Triggering OnFailure= dependencies.
>> Dec 09 13:00:29 IanRed systemd[1]: frr.service: Failed to enqueue
>> OnFailure= job: No such file or directory Dec 09 13:00:29 IanRed
>> sudo[16143]: pam_unix(sudo:session): session closed for user root Dec 09 13:01:30 IanRed systemd[1]: Started Run anacron jobs.
>> Dec 09 13:01:30 IanRed anacron[16187]: Anacron 2.3 started on
>> 2019-12-09 Dec 09 13:01:30 IanRed anacron[16187]: Normal exit (0 jobs
>> run)
>>
>> I don't have a /etc/frr directory; this I presume is because I installed such that the home directory is located in /home/user/.
>>
>> Hope that helps.
>>
>> Best regards,
>> Ian
>>
>> -----Original Message-----
>> From: Donald Sharp <sharpd at cumulusnetworks.com<mailto:sharpd at cumulusnetworks.com>>
>> Sent: 09 December 2019 12:55
>> To: Oakley,I,Ian,TUS2 R <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>>
>> Cc: frog <frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>>
>> Subject: Re: [FROG] Failed to start frr.service: Unit frr.service not
>> found
>>
>> Ian -
>>
>> What's the contents of your `/etc/frr/daemons` file as well as the output of `journalctl -f` from when you do a systemctl start frr?
>>
>> donald
>>
>> On Mon, Dec 9, 2019 at 7:27 AM <ian.2.oakley at bt.com<mailto:ian.2.oakley at bt.com>> wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> I installed FRR on my Ubuntu virtual machine from source, hoping to use it with CORE for multicast routing with PIM.
>>> However, I haven’t been able to manage even that; when I attempt to
>>> start the FRR service (sudo service frr start) I am given the error
>>> message in the subject (Failed to start frr.service: Unit
>>> frr.service not found.)
>>>
>>> This is despite me running the command in my /frr/tools directory where frr.service is located.
>>>
>>> Am I missing something here?
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Ian Oakley
>>>
>>>
>>>
>>> _______________________________________________
>>> frog mailing list
>>> frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>
>>> https://lists.frrouting.org/listinfo/frog
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>
> https://lists.frrouting.org/listinfo/frog

_______________________________________________
frog mailing list
frog at lists.frrouting.org<mailto:frog at lists.frrouting.org>
https://lists.frrouting.org/listinfo/frog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20191210/c33aada5/attachment-0001.html>


More information about the frog mailing list