Booting the server redis no errors

Posted by Tylër on Server Fault See other posts from Server Fault or by Tylër
Published on 2011-12-01T13:38:11Z Indexed on 2012/09/23 9:40 UTC
Read the original article Hit count: 715

Filed under:

The redis but usually begins with the following errors:

tyler @ tyler-vortex: ~ / pens $. / src / redis-server
[3690] Dec 01 10:56:05 # Warning: the specified config file, using the default config. In order to Specify a config file use 'redis-server / path / to / redis.conf'
[3690] Dec 01 10:56:05 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max configuration to 992 clients.

Others errors founds:

tyler@tyler-vortex:~/redis$ sudo ./utils/install_server.sh 
Welcome to the redis service installer
This script will help you easily set up a running redis server


Please select the redis port for this instance: [6379] 
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf] 
Selected default - /etc/redis/6379.conf
Please select the redis log file name [/var/log/redis_6379.log] 
Selected default - /var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379] 
Selected default - /var/lib/redis/6379
Please select the redis executable path [/usr/local/bin/redis-server] 
cat: ./redis.conf.tpl: Arquivo ou diretório não encontrado
cat: ./redis_init_script.tpl: Arquivo ou diretório não encontrado
ERROR: Could not write init script to /tmp/6379.conf. Aborting!

Furthermore, I would like to know how to configure it not to consume so much RAM.

Follow the memory configuration of our website, but the settings of "vm-*" does not exist in the file redis.conf. http://redis.io/topics/virtual-memory You have to create them?

* Edit:

I installed.

After that, I believe that I no longer have access via. / Src / redis-server, because it happens:

tyler@tyler-vortex:~$ cd redis/
tyler@tyler-vortex:~/redis$ ./src/redis-server 
[2616] 01 Dec 22:29:30 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[2616] 01 Dec 22:29:30 # Opening port 6379: bind: Address already in use
tyler@tyler-vortex:~/redis$

But there's another detail, the redistribution starts with the system ..

redis 127.0.0.1:6379> exit
tyler@tyler-vortex:~/redis$ ./src/redis-cli 
redis 127.0.0.1:6379> exit

... but how can I now see that the communication had before you installed from. sh?

© Server Fault or respective owner

Related posts about redis