title: Foreman terminates immediately
body: <p>I recently installed OSX <strong>and</strong> Ubuntu on different computers. I then attempted to install redis and foreman for both OS's. Both errors threw no flags, and seemed to execute successfully. However, whenever I go to start foreman with <code>foreman start</code>, I run into the below issue on both computers:</p>
  
  <pre><code>23:48:35 web.1    | started with pid 1316
  23:48:35 redis.1  | started with pid 1317
  23:48:35 worker.1 | started with pid 1318
  23:48:35 redis.1  | [1317] 11 Jun 23:48:35.180 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
  23:48:35 redis.1  | [1317] 11 Jun 23:48:35.181 * Increased maximum number of open files to 10032 (it was originally set to 256).
  23:48:35 redis.1  | [1317] 11 Jun 23:48:35.181 # Creating Server TCP listening socket *:6379: bind: Address already in use
  23:48:35 redis.1  | exited with code 1
  23:48:35 system   | sending SIGTERM to all processes
  23:48:35 worker.1 | terminated by SIGTERM
  23:48:35 web.1    | terminated by SIGTERM
  </code></pre>
  
  <p>For some reason, it seems like a path issue to me because it seems like Redis or Foreman cannot find the files they need to use to successfully execute, but I'm not exactly sure. </p>
  
  <p>On OSX I used <code>gem install foreman</code> and <code>Brew install Redis</code> .</p>
  
  <p>On Ubuntu I used the following:</p>
  
  <p>Redis:</p>
  
  <pre><code>$ cd ~
  $ wget http://download.redis.io/redis-stable.tar.gz
  $ tar xvzf redis-stable.tar.gz
  $ cd redis-stable
  $ make
  $ make test 
  </code></pre>
  
  <p>Foreman: </p>
  
  <p><code>$ gem install foreman</code></p>
  
  <p>My PATH on OSX is as follows:</p>
  
  <blockquote>
    <p>/Users/c/.rvm/gems/ruby-2.1.0/bin:/Users/c/.rvm/gems/ruby-2.1.0@global/bin:/Users/c/.rvm/rubies/ruby-2.1.0/bin:/Users/c/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</p>
  </blockquote>
  
  <p>On Ubuntu, my PATH is:</p>
  
  <blockquote>
    <p>/usr/local/bin:/usr/lib/postgresql:/usr/lib/postgresql/9.3:/usr/lib/  postgresql/9.3/lib:/usr/lib/postgresql/9.3/bin:/usr/share/doc:/usr/share/doc/postgresql-9.3:/usr/share/postgresql:/usr/share/postgresql/9.3:/usr/share/postgresql/9.3/man:$PATH</p>
  </blockquote>
  
  <p>Redis-server does seem to execute successfully once, and then it fails with the message:</p>
  
  <pre><code>[1457] 12 Jun 00:02:48.481 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
  [1457] 12 Jun 00:02:48.482 * Increased maximum number of open files to 10032 (it was originally set to 256).
  [1457] 12 Jun 00:02:48.483 # Creating Server TCP listening socket *:6379: bind: Address already in use
  </code></pre>
  
  <p>Trying <code>$ redis-server stop</code> returns:</p>
  
  <p><code>[1504] 12 Jun 00:05:56.173 # Fatal error, can't open config file 'stop'</code></p>
  
  <p>I need help figuring out how to get Foreman and Redis working together so that I can view my local files in the browser at 127.0.0.1</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Redis does start, but nothing happens when I navigate to localhost:6379. I also tried the suggestion of finding processes. It found </p>
  
  <pre><code>c                751   0.0  0.0  2432768    596 s005  R+    2:03PM   0:00.00 grep redis
  c                616   0.0  0.0  2469952   1652 s004  S+    2:01PM   0:00.05 redis-server *:6379
  </code></pre>
  
  <p>Trying to <code>kill</code> the process results in </p>
  
  <blockquote>
    <p>kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec
    ... or kill -l [sigspec]</p>
  </blockquote>