'locate' doesn't work

Discussion in 'Installation/Configuration' started by dealspiggy, Apr 10, 2008.

  1. dealspiggy

    dealspiggy New Member

    I got a new box built in centos 5.1. I think I have installed almost everything necessary to make a server. However, when I use 'locate' to find something through SSH as root, I got this error:

     
  2. o.meyer

    o.meyer HowtoForge Supporter

    Hi dealspiggy,

    before you can use the "locate" command for the first time you have to execute

    Code:
    updatedb
    Afterwards "locate" is ready for use.

    Best regards,

    Olli
     

Share This Page