"master failed to start, check stderr log for details"

Hi guys,

I’m trying to start unicorn and I keep getting this error constantly.

My unicorn.rb (unicorn.rb · GitHub)

Command that I’m using to start unicorn:

/home/app/adsgold/# unicorn_rails master -c config/unicorn.rb -D -E
production

Commands that I’ve already tried:

/home/app/adsgold/# unicorn_rails -c config/unicorn.rb -D -E production

/home/app/adsgold/# unicorn_rails master -c config/unicorn.rb -D -E
production -p 3000

/home/app/adsgold/# bundle exec master unicorn -c unicorn.cnf -E
production
-D

Complete error beeing shown:

I checked permissions between the older server and the new server and
both
are exactly the same. Here is the last 200 lines of “unicorn.stderr.log”

I moved a dedicated server to a node, I did a complete mirror so both
should be working but they are not. The older one is still running fine,
so
I can compare and check anything, but I just cannot make the new one
runs
as it should.

Anyone? Just little help? :frowning:

There you go ! uninitialized constant User (NameError) Check if user.rb
exists in /app/models/

it must have been renamed or removed

On Wed, Dec 10, 2014 at 5:52 PM, Ezequias Farias
[email protected]

Older server should have user.rb if its running unicorn and the same
code
base ( or someone has deleted it after the server was up ? ) . you will
need someone to fix it for you if its missing because it might be
related
to authrorization ( devise gem ) . Is the code base hosted on github ?

On Wed, Dec 10, 2014 at 6:19 PM, Ezequias Farias
[email protected]

There is not user.rb file. How can I fix it? Do I have to create one
from
scratch?
If so, is there a link you could point me to how can I make it right? I
know almost 0 of Ruby on rails. I thought that moving everything from
the
older server to the new one would work, but the user.rb file is also
missing in the older server.

2014-12-10 9:32 GMT-03:00 Vivek S. [email protected]:

On Tuesday, December 9, 2014 11:32:07 AM UTC-3, Ezequias Farias wrote:

production

as it should.

https://groups.google.com/d/msgid/rubyonrails-talk/469e7b2b-980d-4fb8-9b73-544ecf12e57b%40googlegroups.com?utm_medium=email&utm_source=footer

To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj-7skW%2BChPHN7n2MNkFKuzd9p6%2BNmdSR0RsSiA8v6FzfA%40mail.gmail.com

https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj-7skW%2BChPHN7n2MNkFKuzd9p6%2BNmdSR0RsSiA8v6FzfA%40mail.gmail.com?utm_medium=email&utm_source=footer

.

For more options, visit https://groups.google.com/d/optout.


I saw a ‘history -cw’ on the sever when I first logged in, it was from
programmer who was fired from the project. So I assume he deleted this
file. Thanks for the help man, It’s been long 37 hours investigating
this
issue to get narrowed to this. I will check someone to fix it. Thanks
again.

2014-12-10 10:06 GMT-03:00 Vivek S. [email protected]:

If so, is there a link you could point me to how can I make it right? I

both are exactly the same. Here is the last 200 lines of
Groups “Ruby on Rails: Talk” group.

https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj-7skW%2BChPHN7n2MNkFKuzd9p6%2BNmdSR0RsSiA8v6FzfA%40mail.gmail.com?utm_medium=email&utm_source=footer

Ezequias Farias de Sousa - Araranguá, Brazil | about.me
.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj9Sak-rk1zkfTwNsVS%3DH5gniRYRPggfecNurYwLKTjhbg%40mail.gmail.com

https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj9Sak-rk1zkfTwNsVS%3DH5gniRYRPggfecNurYwLKTjhbg%40mail.gmail.com?utm_medium=email&utm_source=footer

.

For more options, visit https://groups.google.com/d/optout.