Forum: Ruby on Rails Locomotive 500 - Internal Server Error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Df44ac1bea41900d68fb4c63f6ff4bab?d=identicon&s=25 Doug Hall (Guest)
on 2005-12-20 00:04
(Received via mailing list)
I'm getting this in my Lighttp.error.log file when trying to run typo
in Locomotive. What does this mean?


2005-12-19 16:56:57: (mod_fastcgi.c.1532) connect failed: 9
Connection refused 61 0 /tmp/ruby-fastcgi.A5364CB4-70E2-11DA-
AC3C-000A95BA28D0-5471-00000DCDBD6C54E6.socket-1
2005-12-19 16:57:01: (mod_fastcgi.c.2196) unexpected end-of-file
(perhaps the fastcgi process died): pid: 6361 fcgi-fd: 9 remote-fd: 8
2005-12-19 16:57:01: (mod_fastcgi.c.2958) child exited, pid: 6361
status: 1
2005-12-19 16:57:01: (mod_fastcgi.c.3005) response not sent, request
sent: 888 connection-fd: 8 fcgi-fd: 9

Thanks,
Doug
F9646277392b8d8d718ef457696a0423?d=identicon&s=25 Ryan Raaum (Guest)
on 2005-12-20 00:16
(Received via mailing list)
Hi Doug,

Not sure this is the issue ... but ... try cleaning out all existing
session and socket files in /tmp

-r

On 12/19/05, Doug Hall <doughalldev@gmail.com> wrote:
> status: 1
> 2005-12-19 16:57:01: (mod_fastcgi.c.3005) response not sent, request
> sent: 888 connection-fd: 8 fcgi-fd: 9
>
> Thanks,
> Doug
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Ryan Raaum
http://www.rockefeller.edu -- Bacterial Pathogenesis and Immunology
http://www.worldmartial.com -- Black Belt Instructor
http://locomotive.sourceforge.net -- Self contained one-click Rails for
Mac OS X
D5ed8e0a7843874dea90219264566b6b?d=identicon&s=25 Timo Hoepfner (thoepfner)
on 2005-12-20 00:53
(Received via mailing list)
Hi,

Open a Terminal window and run "ruby script/console" and see if that
gives more meaningful output.

I had something similar recently. Couldn't find any useful info in
any log file... The reason for me was that I changed the Locomotive
Rails Bundle and some gem was missing in the new bundle...

Timo

Am 20.12.2005 um 00:03 schrieb Doug Hall:
Df44ac1bea41900d68fb4c63f6ff4bab?d=identicon&s=25 Doug Hall (Guest)
on 2005-12-20 21:24
(Received via mailing list)
On 12/19/05, Timo Hoepfner <th-dev@onlinehome.de> wrote:
>
> Hi,
>
> Open a Terminal window and run "ruby script/console" and see if that
> gives more meaningful output.


Loading development environment.
>> articles = Article.find(:all)
=> []
>>

Is this what I should expect? It recognizes the Article class, so I
assume
it loaded the development environment properly. Is this proof that it
was
able to access the database though?

I had something similar recently. Couldn't find any useful info in
> any log file... The reason for me was that I changed the Locomotive
> Rails Bundle and some gem was missing in the new bundle...



I'm using the new Locomotive  Rails 1.0 Max bundle. (Min is also
installed.)
I'm a newbie, so it must be something simple.

Here's my database.yml:

login: &login
  adapter: postgresql
  host: localhost
  username: postgres
  password: @@@@@

development:
  database: typo_dev
  <<: *login

test:
  database: typo_tests
  <<: *login

production:
  database: typo
  <<: *login

Thanks,
Doug
2dd904ec5981c31e7bb7a5743a53caf8?d=identicon&s=25 Bruce Balmer (brucebalmer)
on 2005-12-20 22:21
(Received via mailing list)
Hi:

I just had the same problem. The error message is most uninformative.
I had an error in my code (a missing 'end' tag) and that was the
cause. Once I fixed that, Locomotive ran perfectly.

bruce
This topic is locked and can not be replied to.