<div dir="ltr">Did you add the user/group for frr, and create the configuration files and daemon file before starting the service?<div><br></div><div>You may also try to start the zebra daemon manually to see if it works.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 30, 2022 at 4:46 AM <<a href="mailto:hieunt562@viettel.com.vn">hieunt562@viettel.com.vn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_5743296760917080472WordSection1"><p class="MsoNormal">Hi all.<u></u><u></u></p><p class="MsoNormal">I want to install FRR 8.2.2 release from source code for ospfd running on CenOS 7. So, I followed the guide line from <a href="http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-centos7.html" target="_blank">http://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-centos7.html</a>. <u></u><u></u></p><p class="gmail-m_5743296760917080472MsoListParagraph" style="margin-left:0.25in"><u></u><span>-<span style="font:7pt "Times New Roman"">          </span></span><u></u>First, when I run:<u></u><u></u></p><p class="MsoNormal">          <span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51);background:rgb(235,235,235)">./configure --bindir=/usr/bin --sbindir=/usr/lib/frr --sysconfdir=/etc/frr --libdir=/usr/lib/frr --libexecdir=/usr/lib/frr --localstatedir=/var/run/frr --with-moduledir=/usr/lib/frr/modules --enable-snmp=agentx --enable-multipath=64 --enable-user=frr --enable-group=frr --enable-vty-group=frrvty --disable-ldpd --enable-fpm --with-pkg-git-version --with-pkg-extra-version=-MyOwnFRRVersion SPHINXBUILD=/usr/bin/sphinx-build<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I got two warnings:<u></u><u></u></p><p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51);background:rgb(235,235,235)">configure: WARNING: sphinx is missing but required to build documentation</span><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51)"><br><span style="background:rgb(235,235,235)">configure: WARNING: pytest is missing, unit tests cannot be performed<u></u><u></u></span></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="gmail-m_5743296760917080472MsoListParagraph" style="margin-left:0.25in"><u></u><span>-<span style="font:7pt "Times New Roman"">          </span></span><u></u>After compile source and install I run <span style="font-size:9pt;font-family:Consolas;color:rgb(64,64,64)">sudo systemctl start frr </span>I got error message like below:<u></u><u></u></p><p style="margin-left:0.5in;background:rgb(235,235,235)"><b><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51)">[root@localhost frr]# sudo systemctl start frr<br></span></b><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51)">Job for frr.service failed. See "systemctl status frr.service" and "journalctl -xe" for details.<br><b>[root@localhost frr]# systemctl status frr.service<br></b>● frr.service - FRRouting<br>Loaded: loaded (/etc/systemd/system/frr.service; enabled; vendor preset: disabled)<br>Active: activating (start) since Wed 2022-06-22 23:10:24 EDT; 16s ago<br>Docs: <a href="https://frrouting.readthedocs.io/en/latest/setup.html" target="_blank"><span style="text-decoration:none">https://frrouting.readthedocs.io/en/latest/setup.html</span></a><br>Control: 10242 (frrinit.sh)<br>Status: "restarting all"<br>Tasks: 3<br>CGroup: /system.slice/frr.service<br>├─10242 /bin/bash /usr/lib/frr/frrinit.sh start<br>├─10246 /usr/lib/frr/watchfrr -d -F traditional zebra ospfd staticd<br>└─10247 /usr/lib/frr/watchfrr -d -F traditional zebra ospfd staticd<u></u><u></u></span></p><p style="margin-left:0.5in;background:rgb(235,235,235);font-variant-ligatures:normal;font-variant-caps:normal;text-align:start;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px"><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51)">Jun 22 23:10:24 localhost.localdomain systemd[1]: Starting FRRouting...<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [T83RR-8SM5G] watchfrr 8.2.2-MyOwnFRRVersion starting: vty@0<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [ZCJ3S-SPH5S] zebra state -> down : initial connection attempt failed<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [ZCJ3S-SPH5S] ospfd state -> down : initial connection attempt failed<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [ZCJ3S-SPH5S] staticd state -> down : initial connection attempt failed<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [YFT0P-5Q5YX] Forked background command [pid 10248]: /usr/lib/frr/watchfrr.sh restart all<br><b>[root@localhost frr]# journalctl -xe<br></b>-- Subject: Unit frr.service has finished shutting down<br>-- Defined-By: systemd<u></u><u></u></span></p><h2 style="margin-right:0in;margin-bottom:7.5pt;margin-left:0in;text-indent:0.5in;background:rgb(235,235,235);font-variant-ligatures:normal;font-variant-caps:normal;text-align:start;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px"><span style="font-size:12pt;font-family:Arial,"sans-serif";color:rgb(85,85,85)">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank"><span style="text-decoration:none">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</span></a><u></u><u></u></span></h2><p style="margin-left:0.5in;background:rgb(235,235,235);font-variant-ligatures:normal;font-variant-caps:normal;text-align:start;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px"><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51)">-- Unit frr.service has finished shutting down.<br>Jun 22 23:10:24 localhost.localdomain systemd[1]: Starting FRRouting...<br>-- Subject: Unit frr.service has begun start-up<br>-- Defined-By: systemd<u></u><u></u></span></p><h2 style="margin-right:0in;margin-bottom:7.5pt;margin-left:0in;text-indent:0.5in;background:rgb(235,235,235);font-variant-ligatures:normal;font-variant-caps:normal;text-align:start;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px"><a name="m_5743296760917080472_---Support-httplistsfreedesktoporgmailma"></a><span style="font-size:12pt;font-family:Arial,"sans-serif";color:rgb(85,85,85)">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank"><span style="text-decoration:none">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</span></a><u></u><u></u></span></h2><p style="margin-left:0.5in;background:rgb(235,235,235);font-variant-ligatures:normal;font-variant-caps:normal;text-align:start;text-decoration-style:initial;text-decoration-color:initial;word-spacing:0px"><span style="font-size:10pt;font-family:Arial,"sans-serif";color:rgb(51,51,51)">-- Unit frr.service has begun starting up.<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [T83RR-8SM5G] watchfrr 8.2.2-MyOwnFRRVersion starting: vty@0<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [ZCJ3S-SPH5S] zebra state -> down : initial connection attempt failed<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [ZCJ3S-SPH5S] ospfd state -> down : initial connection attempt failed<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [ZCJ3S-SPH5S] staticd state -> down : initial connection attempt failed<br>Jun 22 23:10:24 localhost.localdomain watchfrr[10247]: [YFT0P-5Q5YX] Forked background command [pid 10248]: /usr/lib/frr/watchfrr.sh restart all<br>Jun 22 23:10:24 localhost.localdomain watchfrr.sh[10260]: Cannot stop zebra: pid file not found<br>Jun 22 23:10:24 localhost.localdomain watchfrr.sh[10256]: Cannot stop staticd: pid file not found<br>Jun 22 23:10:24 localhost.localdomain watchfrr.sh[10259]: Cannot stop ospfd: pid file not found<br>Jun 22 23:10:24 localhost.localdomain watchfrr.sh[10263]: Failed to start zebra!<br>Jun 22 23:10:24 localhost.localdomain watchfrr.sh[10266]: Failed to start ospfd!<br>Jun 22 23:10:24 localhost.localdomain watchfrr.sh[10269]: Failed to start staticd!<u></u><u></u></span></p><p class="MsoNormal">      Do you know why I got these errors, please help me to fix them.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks and best regards!<u></u><u></u></p><p class="MsoNormal">HieuNT<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.frrouting.org" target="_blank">dev@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/dev</a><br>
</blockquote></div>