Seems pretty obvious to me from the journalctl output you showed:
- There should be a new unix account and group being used by the
$BIRD_RUN_USER -g $BIRD_RUN_GROUP . You need to know what those are
- Those unix accounts and groups need to be given access to the Bird
config and log files ( /var/log/bird.log ) for example:
sudo chmod 664 /var/log/bird.log
--David
KI6ZHD
On 11/22/2020 11:12 AM, pete M via 44Net wrote:
I know it is not 44 net fully related, but I've
been searching for some time.
I have a vultr vps and I am trying to bgp announce my /24.
When I look at the status I have this.
systemctl status bird.service
● bird.service - BIRD Internet Routing Daemon (IPv4)
Loaded: loaded (/lib/systemd/system/bird.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-11-22 18:50:13 UTC; 16min ago
Process: 25329 ExecStartPre=/usr/lib/bird/prepare-environment (code=exited,
status=0/SUCCESS)
Process: 25335 ExecStartPre=/usr/sbin/bird -p (code=exited, status=0/SUCCESS)
Process: 25336 ExecStart=/usr/sbin/bird -f -u $BIRD_RUN_USER -g $BIRD_RUN_GROUP
$BIRD_ARGS (code=exited, status=1/FAILURE)
Main PID: 25336 (code=exited, status=1/FAILURE)
Nov 22 18:50:13 hamrad.ca systemd[1]: Starting BIRD Internet Routing Daemon (IPv4)...
Nov 22 18:50:13 hamrad.ca systemd[1]: Started BIRD Internet Routing Daemon (IPv4).
Nov 22 18:50:13 hamrad.ca bird[25336]: /etc/bird/bird.conf:1:5 Unable to open log file
`/var/log/bird.log': Permission denied
Nov 22 18:50:13 hamrad.ca bird[25336]: bird: /etc/bird/bird.conf:1:5 Unable to open log
file `/var/log/bird.log': Permission denied
Nov 22 18:50:13 hamrad.ca systemd[1]: bird.service: Main process exited, code=exited,
status=1/FAILURE
Nov 22 18:50:13 hamrad.ca systemd[1]: bird.service: Failed with result
'exit-code'.
I understand that my log file is the problem. But I did set the rights of the log file
properly.
If I list the log file i have
ls -l bir**
-rw-r--r-- 1 root bird 0 Nov 20 18:55 bird.log
Anyone can help?
Pierre
VE2PF
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net