okay, i have officially given up on:
apache with fastcgi
lighttpd with fastcgi
and now i am working on getting mongrel running…
not that i don’t think that the above two are viable options, i have
just spent more time trying to get this app live than i did actually
writing the app… and i need to have something working for beta
testing…
i installed mongrel according to:
and spent a little time reading this:
but found that i needed to take a look capistrano… which doesn’t look
terrible… but it means probably another few hours of goofing around
rather than getting something working for beta…
i have the app running on the remote server on webrick, and everything
seems to be running fine… so i don’t think that’s the problem…
when i try running it on mongrel, uising:
mongrel_rails start -d
i get the error tacked on to the end of this as a result…
i think i am just going to unroll this via webrick for test, so i can
have something to start with… but i would sure like to get on the road
with a production server…
any help would be greatly appreciated:
error is as follows:
Errno::ENOENT in LoggerController#index
No such file or directory - /tmp/mysql.sock
RAILS_ROOT: /home/sergio/railssites/chatlogger/config/…
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/vendor/mysql.rb:104:in
initialize' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/vendor/mysql.rb:104:in
real_connect’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:331:in
connect' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:88:in
initialize’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:37:in
mysql_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:251:in
connection_without_query_cache=’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/query_cache.rb:54:in
connection=' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:220:in
retrieve_connection’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in
connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:696:in
columns’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1969:in
attributes_from_column_definition' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1351:in
initialize_without_callbacks’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:236:in
initialize' #{RAILS_ROOT}/app/controllers/logger_controller.rb:4:in
index’
/usr/bin/mongrel_rails:18