Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#32951 closed defect (invalid)

redis server fails to start

Reported by: conradwt (Conrad Taylor) Owned by: brianjlandau@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: redis

Description

I recently download the redis port.

$ redis-server -v
Redis server version 2.4.4 (00000000:0)

However, when I attempt to start the server using, I seeing the following message:

$ redis-server /opt/local/etc/redis.conf
[40046] 19 Jan 17:59:00 # Deprecated configuration directive: "glueoutputbuf"

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 188
>>> 'shareobjects no'
Bad directive or wrong number of arguments

Change History (7)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: brianjlandau@… openmaintainer@… removed
Owner: changed from macports-tickets@… to brianjlandau@…

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

It sounds like your config file /opt/local/etc/redis.conf has some problems. Did you write this file, or did it come installed with the redis port?

comment:3 Changed 13 years ago by conradwt (Conrad Taylor)

It came with the red is port.

comment:4 Changed 13 years ago by conradwt (Conrad Taylor)

Also, I took a look the one from the Redis Git repository and it's different from the MacPort version of the same file.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

The port won't touch an existing redis.conf, only redis.conf.sample is changed by upgrades. So if you have a redis.conf from an older version, you will need to diff it against redis.conf.sample and merge in any changes that you don't want to override.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

comment:7 in reply to:  4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to conradwt@…:

Also, I took a look the one from the Redis Git repository and it's different from the MacPort version of the same file.

I modified the redis port in r98577 to install a patched copy of the redis.conf included with the source, rather than an out of date copy in our files directory.

Note: See TracTickets for help on using tickets.