-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation of redis-2.6.7 as a service results in errors #816
Comments
I also have these problem: *** FATAL CONFIG FILE ERROR ***
Who can help me? |
I have the same problem when I upgrade 2.4.x to 2.6.x. |
Same problem with 2.6.8 .... |
if you use Ubuntu you can try reinstall default package configs by doing this.. apt-get -o DPkg::options::=--force-confmiss --reinstall install redis-server It works for me :) |
My version is 2.6.7 The content between 176 and 183 in install_server.sh: if [ !`which chkconfig` ] ; then
#if we're not a chkconfig box assume we're able to use update-rc.d
update-rc.d redis_$REDIS_PORT defaults && echo "Success!"
else
# we're chkconfig, so lets add to chkconfig and put in runlevel 345
chkconfig --add redis_$REDIS_PORT && echo "Successfully added to chkconfig!"
chkconfig --level 345 redis_$REDIS_PORT on && echo "Successfully added to runlevels 345!"
fi There should be a space after the character '!' in line 176. if [ ! `which chkconfig` ] ; then
#if we're not a chkconfig box assume we're able to use update-rc.d
update-rc.d redis_$REDIS_PORT defaults && echo "Success!"
else
# we're chkconfig, so lets add to chkconfig and put in runlevel 345
chkconfig --add redis_$REDIS_PORT && echo "Successfully added to chkconfig!"
chkconfig --level 345 redis_$REDIS_PORT on && echo "Successfully added to runlevels 345!"
fi Please add a space and try again. |
Doesn't help for me .... |
@vizo |
Yes i did .. it worked but it installs default config names as port number ... it doesn't accept my values what i enter ... but i run just one instance on one port .. so i prefer to have confg file like redis.conf and service name like redis-server, not |
So on ubuntu i did... and it works...
i tried to copy default redis.conf from tar file but it doesn't work so i did ...
|
@caoxudong: I submitted a pull request for the missing space: #909. |
Seems to be there are minor configuration errors. I just did a fresh download and install as a service. I get the following error
The text was updated successfully, but these errors were encountered: