Frr package

Started by volga629, October 05, 2022, 12:51:24 AM

Previous topic - Next topic
Hello Everyone,
On latest update FRR package BGP section unable write any change to disk.
Getting errors


2022-10-04T13:56:18-04:00 Notice frr_carp FRR received carp configuration event.
2022-10-04T13:56:18-04:00 Error bgpd [EC 100663299] buffer_flush_available: write error on fd 2: Bad file descriptor


Any help thank you.
volga629

October 05, 2022, 01:59:43 AM #1 Last Edit: October 05, 2022, 02:03:04 AM by volga629
I log in to cli and be able reproduce the issue





fw01.networklab.prod(config-router)# no ip prefix-list DMZ-1 seq 14 permit 10.41.100.0/24 le 32
fw01.networklab.prod(config)# end
fw01.networklab.prod# wr
Note: this version of vtysh never writes vtysh.conf
Building Configuration...
Can't open configuration file /usr/local/etc/frr/zebra.conf.1cTIyM.
Can't open configuration file /usr/local/etc/frr/bgpd.conf.YknQcF.
fw01.networklab.prod#



Permissions


ls -la /usr/local/etc/frr/
total 94
drwxr-xr-x   2 root  wheel    28 Oct  4 19:35 .
drwxr-xr-x  42 root  wheel   127 Oct  3 23:25 ..
-rw-r--r--   1 root  wheel   665 Sep  4 21:59 babeld.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 19:39 bfdd.conf
-rw-r--r--   1 root  wheel    39 Sep  4 21:59 bfdd.conf.sample
-rw-r--r--   1 root  wheel  1937 Oct  4 19:55 bgpd.conf
-rw-r--r--   1 root  wheel   600 Sep  4 21:59 bgpd.conf.sample
-rw-r--r--   1 root  wheel  2801 Sep  4 21:59 bgpd.conf.sample2
-rw-r--r--   1 root  wheel  1889 Sep  4 21:59 bgpd.conf.vnc.sample
-rw-r--r--   1 root  wheel   186 Sep  4 21:59 eigrpd.conf.sample
-rw-r--r--   1 root  wheel   501 Sep  4 21:59 fabricd.conf.sample
-rw-r--r--   1 root  wheel   789 Sep  4 21:59 isisd.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 ospf6d.conf
-rw-r--r--   1 root  wheel  1110 Sep  4 21:59 ospf6d.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 ospf6d_carp.conf
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 ospfd.conf
-rw-r--r--   1 root  wheel   182 Sep  4 21:59 ospfd.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 ospfd_carp.conf
-rw-r--r--   1 root  wheel   325 Sep  4 21:59 pbrd.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 ripd.conf
-rw-r--r--   1 root  wheel   343 Sep  4 21:59 ripd.conf.sample
-rw-r--r--   1 root  wheel   325 Sep  4 21:59 ripngd.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 sa_policies.conf
-rw-r--r--   1 root  wheel    88 Sep  4 21:59 staticd.conf.sample
-rw-r--r--   1 root  wheel     0 Oct  4 10:57 vtysh.conf
-rw-r--r--   1 root  wheel   128 Sep  4 21:59 vtysh.conf.sample
-rw-r--r--   1 root  wheel   174 Oct  4 10:57 zebra.conf
-rw-r--r--   1 root  wheel   305 Sep  4 21:59 zebra.conf.sample
root@fw01:/etc/rc.d # ps uax | grep frr
frr     78555   0.0  0.1 97080 10536  -  Is   19:39      0:00.01 /usr/local/sbin/zebra -d
frr     81041   0.0  0.1 66916 12140  -  Ss   19:39      0:00.03 /usr/local/sbin/bgpd -d
root    73183   0.0  0.0 12748  2348  0  S+   20:02      0:00.00 grep frr

I updated to the latest version and cannot reproduce, my .conf files are owned by frr:frr.
Can you try to reinstall the package and remove the /usr/local/etc/frr folder after removing?