On Fri, Nov 27, 2009 at 4:55 AM, Andre Keller <a...@ak.cx> wrote: > Hi > > Seems that you cannot connect to bgpd > > Are you sure > > bgpd_flags="-r /var/www/logs/bgpd.rsock" > > is present in your rc.conf.local? > > is the socket working? > > (bgpctl -s /var/www/logs/bgpd.rsock show rib ....) > > > hth andre
Yes, pretty sure... -bash-4.0# cat /etc/rc.conf.local bgpd_flags="-r /var/www/logs/bgpd.rsock" The socket is working... -bash-4.0# bgpctl -s /var/www/logs/bgpd.rsock show ip bgp memory RDE memory statistics 299643 IPv4 network entries using 6.9M of memory 599286 rib entries using 18.3M of memory 599286 prefix entries using 18.3M of memory 107070 BGP path attribute entries using 7.8M of memory 46167 BGP AS-PATH attribute entries using 2.1M of memory, and holding 107070 references 8196 BGP attributes entries using 192K of memory and holding 126660 references 8195 BGP attributes using 151K of memory RIB using 53.6M of memory > > > Am 26.11.2009 21:06, schrieb ~Lst: >> Hi, >> >> I've already setup bgplg on my test machine, but only show version, >> ping and traceroute that is work (suggested from >> http://marc.info/?l=openbsd-misc&m=122670411001369&w=2). >> Everything else is not work, such as show ip bgp memory, etc... >> I followed man pages and checked everything but still its only failed, >> the strange is everytime I tested from CLI it works fine but not if I >> tested from the web. >> Is there anything that I don't know ? >> >> -bash-4.0# /var/www/bin/bgpctl show ip bgp memory >> RDE memory statistics >> 299625 IPv4 network entries using 6.9M of memory >> 599250 rib entries using 18.3M of memory >> 599250 prefix entries using 18.3M of memory >> 106974 BGP path attribute entries using 7.8M of memory >> 46163 BGP AS-PATH attribute entries using 2.1M of memory, >> and holding 106974 references >> 8164 BGP attributes entries using 191K of memory >> and holding 126530 references >> 8163 BGP attributes using 149K of memory >> RIB using 53.6M of memory >> Rgds, -- ~Lst