Back to Beats

open /compat/linux/proc: no such file or directory error on FreeBSD [freebsd-no-such-file]

docs/reference/metricbeat/freebsd-no-such-file.md

9.4.0482 B
Original Source

open /compat/linux/proc: no such file or directory error on FreeBSD [freebsd-no-such-file]

The system metricsets rely on a Linux compatibility layer to retrieve metrics on FreeBSD. You need to mount the Linux procfs filesystem using the following commands. You may want to add these filesystems to your /etc/fstab so they are mounted automatically.

sh
sudo mount -t procfs proc /proc
sudo mkdir -p /compat/linux/proc
sudo mount -t linprocfs /dev/null /compat/linux/proc