On Sat, Nov 28, 2009 at 4:06 PM, Andre Keller <a...@ak.cx> wrote:
> Am 28.11.2009 09:45, schrieb ~Lst:
>>
>> -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
>>
>
> Does it work too when you run it with the apache user (I guess www) from
> console ?
>

No it doesn't, I don't know exactly what it means with `account is
currently not available'.

-bash-4.0# su www -c '/var/www/bin/bgpctl -s /var/www/logs/bgpd.rsock
show ip bgp memory'
This account is currently not available.

-bash-4.0# id www
uid=67(www) gid=67(www) groups=67(www)


Rgds,
--
~Lst

Reply via email to