Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jul 2002
    Location
    Québec, Montréal
    Posts
    175

    Help: Problem with my new server

    i got a new server from a good provider with Cpanel.

    Do you know how to run the updatedb?

    Dom,


    > $ locate Template.pm
    > warning: locate: could not open database: /var/lib/slocate/slocate.db:
    > Permission denied
    > warning: You need to run the 'updatedb' command (as root) to create the
    > database.

  2. #2
    Join Date
    Feb 2002
    Location
    UK
    Posts
    3,098
    "Permission denied"

    You logged in as root?

  3. #3
    Join Date
    Jul 2002
    Location
    Québec, Montréal
    Posts
    175
    now, i can see it but i don't know how to create this database
    Emeric Olenga
    - Founder and CEO -
    IrdHost.Com/
    In Hosting Since 7 Years! (1999)! Click here to see our Uptime

  4. #4
    su -

    updatedb
    *AlphaOmegaHosting.Com* - Hosting since 1998
    Managed Dedicated Servers and VPS
    Hosted Exchange 2010 Email Service

  5. #5
    Join Date
    Jun 2002
    Posts
    1,378
    Yup, you just type (as root) "updatedb" at the console/in a telnet/ssh session (I hope you're not running telnet, though) -- be prepared to wait for quite a while when running updatedb, particularly if you have a lot of stuff on the server.

  6. #6
    Join Date
    Dec 2001
    Location
    Darmstadt, Germany
    Posts
    1,096
    Originally posted by fog
    [...] (I hope you're not running telnet, though) [...]
    why not? i love telnet! and it works fine! ... no lag, no nothing ... just good, plain ol' telnet
    anyway ... if the updatedb command doesn't work (as on my OpenBSD box), just execute a find / | grep updatedb copy the path and then cd to /usr/sbin.
    make a symbolic link: ln -s /path/to/updatedb symboliclinkname (e.g. updatedb)
    and whoops. we're done

    greets,
    Last edited by BiGWill; 08-25-2002 at 01:03 PM.
    In just two days, tomorrow will be yesterday.

  7. #7
    Join Date
    Mar 2002
    Location
    Westbury, LI NY
    Posts
    1,705
    telnet is not secure though

    read here for more info:

    http://lists.calteg.org/pipermail/vo...er/000052.html

    SSH > telnet

    (unless you were being sarcastic, in which case excuse me, I havent had any coffee yet so I am still not awake)

  8. #8
    Join Date
    Dec 2001
    Location
    Darmstadt, Germany
    Posts
    1,096
    lol
    well it was meant sarcastic. anyone who still uses telnet is, imho, a big idiot!
    In just two days, tomorrow will be yesterday.

  9. #9
    Join Date
    Jun 2002
    Posts
    1,378
    Hehe, I wasn't sure if you were kidding or not. (But yeah, telnet sends your username/password in cleartext, so anyone with a packet sniffer could read 'em.)

    I was just thinking... I have a gazillion accounts on random computers, and not a single one is running telnet anymore. I wonder how many people still run telnet...

  10. #10
    Join Date
    Dec 2001
    Location
    Darmstadt, Germany
    Posts
    1,096
    well ... no one's running telnet anymore, but everyone's still running ftp! (shame on me ... as i do too) quite the same as telnet.
    In just two days, tomorrow will be yesterday.

  11. #11
    sftp works well.......
    *AlphaOmegaHosting.Com* - Hosting since 1998
    Managed Dedicated Servers and VPS
    Hosted Exchange 2010 Email Service

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •