title: Redis installed on FreeBSD via pkg or ports can not run
body: <p>I had installed redis on FreeBSD via pkg yesterday.And also add <code>redis_enable="YES"</code>in my <code>/etc/rc.conf</code>.</p>
  
  <p>When I run <code>service redis start</code>,It displays <code>Starting redis</code>,but when run <code>service redis status</code>,displays <code>redis is not running</code>.</p>
  
  <p>After run <code>redis-server</code>,It runs,but use <code>redis-cli</code> cannot connect the server.</p>
  
  <p>When run <code>redis-cli</code> or <code>redis-cli ping</code>,it will jammed with no error.</p>
  
  <p>The redis log file also has no error.</p>
  
  <p>I cannot find the solution with google or others。How should I do to use redis?</p>
  
  <p>The same with installed redis via <code>ports</code></p>
  
  <p><a href="https://i.stack.imgur.com/LBWgh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LBWgh.png" alt="enter image description here"></a>
  The followings are the base information about my company:</p>
  
  <ul>
  <li>FreeBSD version: 10.3-RELEASE-p18</li>
  <li>Pkg version: 1.10.1</li>
  <li>Redis version: 3.29</li>
  </ul>