I apparently possess a redis-server instance running because after i attempt to begin a new server simply by entering redis-server, I am welcomed using the following:

Opening port: bind: Address already in use

I can not learn how to stop this server and begin a replacement.

Can there be any command I'm able to append to redis-server when I am typing within the CLI?

My os is ubuntu 10.04.

A cleaner, more reliable strategy is to enter redis-cli after which type shutdown

In redis-cli, type help @server and you'll check this out near the foot of their email list:

SHUTDOWN - summary: Synchronously save the dataset to disk after which shut lower the server since: .07

And when you've got a redis-server instance running inside a terminal, you will see this:

User requested shutdown...
[6716] 02 Aug 15:48:44 * Saving the final RDB snapshot before exiting.
[6716] 02 Aug 15:48:44 * DB saved on disk
[6716] 02 Aug 15:48:44 # Redis is now ready to exit, bye bye...

You can test to restart redis server through init.d:

/etc/init.d/redis-server restart

or stop/start it:

/etc/init.d/redis-server stop
/etc/init.d/redis-server start

I'm not sure particularly for redis, however for servers generally:

What OS or distribution? Frequently you will see an end or /etc/init.d/... command which will have the ability to lookup the present pid inside a pid file.

You are able to lookup what process has already been certain to the main harbour with sudo netstat -nlpt (linux options other netstat tastes will be different) and signal it to prevent. I'd not use kill -9 on the running server unless of course there actually is no other signal or approach to shut it lower.

Try killall redis-server. You may even use ps aux to obtain the title and pid of the server, after which kill it with kill -9 here_pid_number.