Skip to main content
Question

Unable to bind to 514 for syslog input on Cribl with non-sudo user

  • March 11, 2025
  • 14 replies
  • 110 views

Hi Team,[Urgent]As per the best practices, we created a non-sudo user called Cribl and enable the boot-start. In our environment, we can't use other than 514 ports for syslog receiving but we are getting the Error: "bind EACCES 0.0.0.0:514". as per the Cribl documentation we did the below.systemctl edit cribl[Service]AmbientCapabilities=CAP_NET_BIND_SERVICEBut we are getting the attached error and we are still not able to add the 514 ports in syslog source.

14 replies

David Maislin

David Maislin

Are you sure you are not already running a syslog instance or something else that is bound to port 514?


David Maislin

Stop Cribl and run this: `netstat -tuln | grep 514`


David Maislin

`sudo systemctl status | grep 514`


David Maislin

`sudo lsof -i :514`


  • Author
  • Employee
  • March 11, 2025

<@U01C35EMQ01&gt; I have checked, 514 port is not taken by any services.


  • Author
  • Employee
  • March 11, 2025

we have installed cribl on RHEL 9


David Maislin

Have you run a `systemctl daemon-reload` command?



  • Author
  • Employee
  • March 11, 2025

Hi <@U01C35EMQ01&gt; The below command (From the link you shared earlier) resolved the issue in my dev environment. Now, I will try the same in my production environment. fingers crossed.setcap cap_net_bind_service=+ep $CRIBL_HOME/bin/cribl


  • Author
  • Employee
  • March 11, 2025

Thanks for the quick response <@U012ZP93EER&gt;


David Maislin

Keep us posted!


  • Author
  • Employee
  • March 11, 2025

Good news.........My prod server is now receiving the data from 514 port.Thanks a lot <@U01C35EMQ01&gt;


David Maislin

Fantastic!!!!