title: Redis server port already in use
body: <p>I'm using Redis version 2.2.13</p>
  <pre><code>jack@ubuntu:~/redis$ src/redis-server
  [23900] 14 Sep 14:28:52 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
  [23900] 14 Sep 14:28:52 # Opening port: bind: Address already in use
  </code></pre>
  <p>So I follow the above instructions and try</p>
  <pre><code>redis-server $HOME/redis/redis.conf
  </code></pre>
  <p>Which gives me the following error:</p>
  <pre><code>*** FATAL CONFIG FILE ERROR ***
  Reading the configuration file, at line 135
  &gt;&gt;&gt; 'slave-serve-stale-data yes'
  Bad directive or wrong number of arguments
  </code></pre>
  <p>The file has the following comments:</p>
  <pre><code># When a slave lost the connection with the master, or when the replication
  # is still in progress, the slave can act in two different ways:
  #
  # 1) if slave-serve-stale-data is set to 'yes' (the default) the slave will
  #    still reply to client requests, possibly with out of data data, or the
  #    data set may just be empty if this is the first synchronization.
  #
  # 2) if slave-serve-stale data is set to 'no' the slave will reply with
  #    an error &quot;SYNC with master in progress&quot; to all the kind of commands
  #    but to INFO and SLAVEOF.
  </code></pre>
  <p>How can I resolve this issue?</p>