title: Can't start redis server on Centos 7
body: <p>I'm trying to install OpenVas but having trouble starting Redis server on CentOS. What should I do to troubleshoot?</p>
  
  <p>I install openvas by running (this installs redis and all other dependencies):</p>
  
  <pre><code># yum install openvas
  </code></pre>
  
  <p>I try to start it by running:</p>
  
  <pre><code># systemctl enable redis &amp;&amp; systemctl restart redis
  </code></pre>
  
  <p>I check the systemctl status log for redis by running: </p>
  
  <pre><code># systemctl status redis -l
  </code></pre>
  
  <p>It shows connection refused and failed to start:</p>
  
  <pre><code>Mar 19 12:37:13 hostname.local systemd[1]: Started Redis persistent key-value database.
  Mar 19 12:37:13 hostname.local systemd[1]: Starting Redis persistent key-value database...
  Mar 19 12:37:14 hostname.local systemd[1]: redis.service: main process exited, code=exited, status=1/FAILURE
  Mar 19 12:37:14 hostname.local redis-shutdown[19127]: Could not connect to Redis at 127.0.0.1:6379: Connection refused
  Mar 19 12:37:14 hostname.local systemd[1]: redis.service: control process exited, code=exited status=1
  Mar 19 12:37:14 hostname.local systemd[1]: Unit redis.service entered failed state.
  Mar 19 12:37:14 hostname.local systemd[1]: redis.service failed.
  </code></pre>