bvecc
bvecc

Reputation: 197

Redis Default Config Not Found

I'm following this tutorial to setup a Redis server: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis

and getting this error message:

Mmmmm... the default config is missing. Did you switch to the utils directory?

I'm in the /utils directory, but there doesn't appear to be a default config. From the documentation I've read online, it seems like the config should have been created upon setup. Is this something I have to make manually or is this an installation error? My 'make test' command ran successfully, so I don't know why the config file wouldn't have been set up automatically.

Upvotes: 1

Views: 4283

Answers (2)

Ian
Ian

Reputation: 25

If you're on WSL (Windows Subsystem for Linux), you can get this error if you put your Redis folder somewhere that has a path name containing whitespace.

So, like if you put it in the "Program Files" folder. I migrated mine out to just the C:\ drive (or /mnt/c/ for WSL), and it worked just fine.

Upvotes: 1

bvecc
bvecc

Reputation: 197

Had to manually copy default config from the dir above into the correct dir.

Upvotes: 0

Related Questions