Страница 1 из 1

mrtg rstats: No such file or directory

Добавлено: Пн окт 12, 2015 11:49 pm
maestro0728
Здравствуйте. Подскажите пожалуйста в чём проблема.
Система FreeBSD 9.2 AMD64

Код: Выделить всё

# uname -a
FreeBSD adm.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Mon Oct 12 18:16:01 EEST 2015     users@adm.local:/usr/obj/usr/src/sys/GENERIC amd64
файл присутствует:

Код: Выделить всё

# ls /usr/local/sbin/rstats
/usr/local/sbin/rstats
но выдаёт ошибку:

Код: Выделить всё

Can't exec "/usr/local/sbin/rstats": No such file or directory at /usr/local/bin/mrtg line 2163.
2015-10-13 02:42:21: WARNING: Running '/usr/local/sbin/rstats iface ste0': No such file or directory
2015-10-13 02:42:21: WARNING: Could not get any data from external command '/usr/local/sbin/rstats iface ste0'
Maybe the external command did not even start. (No such file or directory)

2015-10-13 02:42:21: WARNING: Problem with External get '/usr/local/sbin/rstats iface ste0':
   Expected a Number for 'in' but nothing'

2015-10-13 02:42:21: WARNING: Problem with External get '/usr/local/sbin/rstats iface ste0':
   Expected a Number for 'out' but nothing'

MRTG не рисует графики.

Re: mrtg rstats: No such file or directory

Добавлено: Вт окт 13, 2015 6:33 am
~AsmodeuS~
rm /usr/bin/perl
ln -s /usr/local/bin/perl /usr/bin/perl