Problem Starting god: The server is not available (or you do not have permissions to access it)

1,615 views
Skip to first unread message

J M

unread,
May 17, 2009, 3:56:41 PM5/17/09
to god.rb
Hi, I am not able to start god as root user, I get the error: The
server is not available (or you do not have permissions to access it).

My permissions are:

/var/run/god drwxr-xr-x 2 root root

/usr/bin/god -rwxr-xr-x 1 root root

and for my configuration file located in the config directory of my
rails app:
/rails_app/config/god_config.rb -rwxrwxr-x 1 root root


As root user I run the following to start god: god -c config/
god_config.rb
Then to check on god startup I run: god status
And the server is not available error message is returned.

I am able to run god successfully on my development machine, this
problem is on a server.

Thank you for your help!,
John

lardawge

unread,
May 17, 2009, 5:51:55 PM5/17/09
to god.rb
Try 'sudo god status'.

J M

unread,
May 17, 2009, 8:04:37 PM5/17/09
to god.rb
Thanks for the reply, I tried sudo god status and it returns the same
error message. I'm not sure whether capistrano may be part of the
problem, but I am using it.

J M

unread,
May 17, 2009, 8:48:03 PM5/17/09
to god.rb
I found the error. I am watching ultrasphinx with god, and it looks
for a pid file in c:Sphinxdblog folder, which is not created until the
first time the search daemon in started. This folder was not tracked
with git, and I had not started the search daemon before trying to
start god.

Thank you for your help!,
John

Reply all
Reply to author
Forward
0 new messages