FW: Failed to start frr.service: Unit frr.service not found
Apologies, forgot to CC FROG in this. From: Oakley,I,Ian,TUS2 R Sent: 10 December 2019 16:31 To: Travis Garrison <tgarrison@netviscom.com> Subject: RE: [FROG] Failed to start frr.service: Unit frr.service not found Hi Travis, Right. Well, it’s slightly immaterial, as when I go “0 to upgrade, 3 to newly install, 9 to remove and 12 not to upgrade. Need to get 2,748 kB of archives. After this operation, 4,562 kB of additional disk space will be used. Do you want to continue? [Y/n] Y” The process aborts. Which I’m again fairly certain isn’t supposed to happen. Deleting frr.list before the attempt didn’t seem to make a difference. What should I do? Best regards, Ian From: Travis Garrison <tgarrison@netviscom.com<mailto:tgarrison@netviscom.com>> Sent: 10 December 2019 16:26 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> Subject: RE: [FROG] Failed to start frr.service: Unit frr.service not found FRR is a replacement for quagga Thanks Travis From: frog <frog-bounces@lists.frrouting.org<mailto:frog-bounces@lists.frrouting.org>> On Behalf Of ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com> Sent: Tuesday, December 10, 2019 10:22 AM To: qlyoung@cumulusnetworks.com<mailto:qlyoung@cumulusnetworks.com> Cc: frog@lists.frrouting.org<mailto:frog@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@cumulusnetworks.com<mailto:qlyoung@cumulusnetworks.com>> Sent: 10 December 2019 15:58 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: frog <frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@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@cumulusnetworks.com<mailto:qlyoung@cumulusnetworks.com>> Sent: 09 December 2019 18:59 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: abauvin@scaleway.com<mailto:abauvin@scaleway.com>; frog <frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@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@scaleway.com<mailto:abauvin@scaleway.com>> Sent: 09 December 2019 16:30 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: sharpd@cumulusnetworks.com<mailto:sharpd@cumulusnetworks.com>; frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@bt.com>> <ian.2.oakley@bt.com<mailto:ian.2.oakley@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@cumulusnetworks.com<mailto:sharpd@cumulusnetworks.com>> Sent: 09 December 2019 13:10 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@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@bt.com<mailto:ian.2.oakley@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@cumulusnetworks.com<mailto:sharpd@cumulusnetworks.com>> Sent: 09 December 2019 12:55 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: frog <frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@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@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog
I don’t want to have the quagga packages uninstalled. Is there an option to install FRR without uninstalling Quagga?
No, they intentionally conflict with each other in the packaging system, you cannot have both installed.
eleting frr.list before the attempt didn’t seem to make a difference. What should I do?
If you're seeing that prompt when you `apt-get install frr` then your sources are configured properly.
The process aborts.
I don't know what this means, needs more detail. On Tue, Dec 10, 2019 at 11:37 AM <ian.2.oakley@bt.com> wrote:
Apologies, forgot to CC FROG in this.
*From:* Oakley,I,Ian,TUS2 R *Sent:* 10 December 2019 16:31 *To:* Travis Garrison <tgarrison@netviscom.com> *Subject:* RE: [FROG] Failed to start frr.service: Unit frr.service not found
Hi Travis,
Right. Well, it’s slightly immaterial, as when I go “0 to upgrade, 3 to newly install, 9 to remove and 12 not to upgrade.
Need to get 2,748 kB of archives.
After this operation, 4,562 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y”
The process aborts. Which I’m again fairly certain isn’t supposed to happen. Deleting frr.list before the attempt didn’t seem to make a difference. What should I do?
Best regards,
Ian
*From:* Travis Garrison <tgarrison@netviscom.com> *Sent:* 10 December 2019 16:26 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* frog@lists.frrouting.org *Subject:* RE: [FROG] Failed to start frr.service: Unit frr.service not found
FRR is a replacement for quagga
Thanks
Travis
*From:* frog <frog-bounces@lists.frrouting.org> *On Behalf Of * ian.2.oakley@bt.com *Sent:* Tuesday, December 10, 2019 10:22 AM *To:* qlyoung@cumulusnetworks.com *Cc:* frog@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@cumulusnetworks.com> *Sent:* 10 December 2019 15:58 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* frog <frog@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` directly into bash
though you should make sure to delet*e *
/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@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@cumulusnetworks.com> *Sent:* 09 December 2019 18:59 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* abauvin@scaleway.com; frog <frog@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@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@scaleway.com> Sent: 09 December 2019 16:30 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> Cc: sharpd@cumulusnetworks.com; frog@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@bt.com> <ian.2.oakley@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) where I should install FRR. Where should I install it?
Best regards, Ian
-----Original Message----- From: Donald Sharp <sharpd@cumulusnetworks.com> Sent: 09 December 2019 13:10 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@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@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@cumulusnetworks.com> Sent: 09 December 2019 12:55 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> Cc: frog <frog@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@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@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
Hi Quentin, I’m not sure what was happening yesterday but the process behaves now and I’ve successfully installed FRR. From: Quentin Young <qlyoung@cumulusnetworks.com> Sent: 10 December 2019 18:30 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> Cc: frog <frog@lists.frrouting.org> Subject: Re: [FROG] FW: Failed to start frr.service: Unit frr.service not found
I don’t want to have the quagga packages uninstalled. Is there an option to install FRR without uninstalling Quagga?
No, they intentionally conflict with each other in the packaging system, you cannot have both installed.
eleting frr.list before the attempt didn’t seem to make a difference. What should I do?
If you're seeing that prompt when you `apt-get install frr` then your sources are configured properly.
The process aborts.
I don't know what this means, needs more detail. On Tue, Dec 10, 2019 at 11:37 AM <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> wrote: Apologies, forgot to CC FROG in this. From: Oakley,I,Ian,TUS2 R Sent: 10 December 2019 16:31 To: Travis Garrison <tgarrison@netviscom.com<mailto:tgarrison@netviscom.com>> Subject: RE: [FROG] Failed to start frr.service: Unit frr.service not found Hi Travis, Right. Well, it’s slightly immaterial, as when I go “0 to upgrade, 3 to newly install, 9 to remove and 12 not to upgrade. Need to get 2,748 kB of archives. After this operation, 4,562 kB of additional disk space will be used. Do you want to continue? [Y/n] Y” The process aborts. Which I’m again fairly certain isn’t supposed to happen. Deleting frr.list before the attempt didn’t seem to make a difference. What should I do? Best regards, Ian From: Travis Garrison <tgarrison@netviscom.com<mailto:tgarrison@netviscom.com>> Sent: 10 December 2019 16:26 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> Subject: RE: [FROG] Failed to start frr.service: Unit frr.service not found FRR is a replacement for quagga Thanks Travis From: frog <frog-bounces@lists.frrouting.org<mailto:frog-bounces@lists.frrouting.org>> On Behalf Of ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com> Sent: Tuesday, December 10, 2019 10:22 AM To: qlyoung@cumulusnetworks.com<mailto:qlyoung@cumulusnetworks.com> Cc: frog@lists.frrouting.org<mailto:frog@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@cumulusnetworks.com<mailto:qlyoung@cumulusnetworks.com>> Sent: 10 December 2019 15:58 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: frog <frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@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@cumulusnetworks.com<mailto:qlyoung@cumulusnetworks.com>> Sent: 09 December 2019 18:59 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: abauvin@scaleway.com<mailto:abauvin@scaleway.com>; frog <frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@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@scaleway.com<mailto:abauvin@scaleway.com>> Sent: 09 December 2019 16:30 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: sharpd@cumulusnetworks.com<mailto:sharpd@cumulusnetworks.com>; frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@bt.com>> <ian.2.oakley@bt.com<mailto:ian.2.oakley@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@cumulusnetworks.com<mailto:sharpd@cumulusnetworks.com>> Sent: 09 December 2019 13:10 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@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@bt.com<mailto:ian.2.oakley@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@cumulusnetworks.com<mailto:sharpd@cumulusnetworks.com>> Sent: 09 December 2019 12:55 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com<mailto:ian.2.oakley@bt.com>> Cc: frog <frog@lists.frrouting.org<mailto:frog@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@bt.com<mailto:ian.2.oakley@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@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog _______________________________________________ frog mailing list frog@lists.frrouting.org<mailto:frog@lists.frrouting.org> https://lists.frrouting.org/listinfo/frog
Excellent! On Wed, Dec 11, 2019, 4:11 AM <ian.2.oakley@bt.com> wrote:
Hi Quentin,
I’m not sure what was happening yesterday but the process behaves now and I’ve successfully installed FRR.
*From:* Quentin Young <qlyoung@cumulusnetworks.com> *Sent:* 10 December 2019 18:30 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* frog <frog@lists.frrouting.org> *Subject:* Re: [FROG] FW: Failed to start frr.service: Unit frr.service not found
I don’t want to have the quagga packages uninstalled. Is there an option to install FRR without uninstalling Quagga?
No, they intentionally conflict with each other in the packaging system, you cannot have both installed.
eleting frr.list before the attempt didn’t seem to make a difference. What should I do?
If you're seeing that prompt when you `apt-get install frr` then your sources are configured properly.
The process aborts.
I don't know what this means, needs more detail.
On Tue, Dec 10, 2019 at 11:37 AM <ian.2.oakley@bt.com> wrote:
Apologies, forgot to CC FROG in this.
*From:* Oakley,I,Ian,TUS2 R *Sent:* 10 December 2019 16:31 *To:* Travis Garrison <tgarrison@netviscom.com> *Subject:* RE: [FROG] Failed to start frr.service: Unit frr.service not found
Hi Travis,
Right. Well, it’s slightly immaterial, as when I go “0 to upgrade, 3 to newly install, 9 to remove and 12 not to upgrade.
Need to get 2,748 kB of archives.
After this operation, 4,562 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y”
The process aborts. Which I’m again fairly certain isn’t supposed to happen. Deleting frr.list before the attempt didn’t seem to make a difference. What should I do?
Best regards,
Ian
*From:* Travis Garrison <tgarrison@netviscom.com> *Sent:* 10 December 2019 16:26 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* frog@lists.frrouting.org *Subject:* RE: [FROG] Failed to start frr.service: Unit frr.service not found
FRR is a replacement for quagga
Thanks
Travis
*From:* frog <frog-bounces@lists.frrouting.org> *On Behalf Of * ian.2.oakley@bt.com *Sent:* Tuesday, December 10, 2019 10:22 AM *To:* qlyoung@cumulusnetworks.com *Cc:* frog@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@cumulusnetworks.com> *Sent:* 10 December 2019 15:58 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* frog <frog@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` directly into bash
though you should make sure to delet*e *
/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@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@cumulusnetworks.com> *Sent:* 09 December 2019 18:59 *To:* Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> *Cc:* abauvin@scaleway.com; frog <frog@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@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@scaleway.com> Sent: 09 December 2019 16:30 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> Cc: sharpd@cumulusnetworks.com; frog@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@bt.com> <ian.2.oakley@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) where I should install FRR. Where should I install it?
Best regards, Ian
-----Original Message----- From: Donald Sharp <sharpd@cumulusnetworks.com> Sent: 09 December 2019 13:10 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@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@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@cumulusnetworks.com> Sent: 09 December 2019 12:55 To: Oakley,I,Ian,TUS2 R <ian.2.oakley@bt.com> Cc: frog <frog@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@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@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
participants (2)
-
ian.2.oakley@bt.com -
Quentin Young