IrdHost
08-24-2002, 08:07 PM
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.
Darth
08-24-2002, 08:09 PM
"Permission denied"
You logged in as root?
IrdHost
08-24-2002, 08:13 PM
now, i can see it but i don't know how to create this database
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.
BiGWill
08-25-2002, 12:57 PM
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 :D ;)
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,
Acronym BOY
08-25-2002, 01:09 PM
telnet is not secure though
read here for more info:
http://lists.calteg.org/pipermail/volunteers/2001-November/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)
BiGWill
08-25-2002, 03:12 PM
lol :D
well it was meant sarcastic. anyone who still uses telnet is, imho, a big idiot! ;)
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...
BiGWill
08-25-2002, 08:38 PM
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.