Menu

NetDB - File oui.txt cannot be found

Help
2018-10-02
2022-01-25
  • Earl Ramirez

    Earl Ramirez - 2018-10-02

    Dear All,

    I have recenly install NetDB on CentOS 7 and in the control logs I am seeing the following error. "netdbctl(25842): Net::Mac::Vendor cache source [file://opt/netdb/data/oui.txt] does not exist at /usr/lib64/perl5/NetDB.pm line 2291." I've confirmed that the file exist and netdb has access to the file.
    ls -la /opt/netdb/data/oui.txt
    -rw-r--r--. 1 netdb netdb 3248879 Oct 22 2014 /opt/netdb/data/oui.txt

    As a result of this I am not able to see the vendor, I checked the VMWARE version and I am also seeing the same behaviour. I temporarily modified NetDB.pm so that I can get the following results (hoping).
    file /opt/netdb/data/oui.txt
    /opt/netdb/data/oui.txt: UTF-8 Unicode text
    But that did not resolve the issue, can anyone shed some light on resolving this?

    Thanks in advance
    Earl Ramirez

     
  • Francois TAMONE

    Francois TAMONE - 2022-01-25

    Hello,
    I only recently hit this problem with vanilla version 1.13 on Linux Mint Debian Edition (LMDE) 3 Cindy. For the record, to resolve this, I changed NetDB.pm parseConfig subroutine to remove the prefix "file:/" from the definition of variable $ouidb on line 3512, which reads now:
    $ouidb = $config->ouifile();
    Regards
    François Tamone

     

Log in to post a comment.