jason lynes :: senyl.com
2005-May-12 04:29 UTC
AH! Rails on Textdrive suddenly not working
I updated one thing this evening on my textdrive rails app and every visit to the site now prompts me to download a blank "application/x-httpd-fastphp" file. I undid what i changed and it''s still like that. I''ve reverted back a few versions in SVN and it''s still messed. in my fastcgi error log i see this: [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access denied for user ''senyl''@''localhost'' to database ''mommycast_development'' (Mysql::Error) /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in `real_connect'' . // more stuff . /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 senyl is a username i use locally, but is NOWHERE online. i searched the whole directory and it''s clean of that name. what could this be?? _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
do you have your environment set to "production" or "development" in config/environment.db? sounds like you''re trying to connect to your development environment. On 5/12/05, jason lynes :: senyl.com <http://senyl.com> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org> wrote:> > I updated one thing this evening on my textdrive rails app and every visit > to the site now prompts me to download a blank "application/x-httpd-fastphp" > file. I undid what i changed and it''s still like that. I''ve reverted back a > few versions in SVN and it''s still messed. in my fastcgi error log i see > this: > > [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access denied > for user ''senyl''@''localhost'' to database ''mommycast_development'' > (Mysql::Error) > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in > `real_connect'' > . > // more stuff > . > /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' > /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 > > > > senyl is a username i use locally, but is NOWHERE online. i searched the > whole directory and it''s clean of that name. what could this be?? > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Jordan Brock Spin Technologies www.spintech.com.au <http://www.spintech.com.au> _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
I am also having issues with Rails on Textdrive. I can''t figure out the problem though :( Are you on pendrell? I submitted a ticket, but after a response literally 90 seconds later asking for clarification, I haven''t heard anything since. Its been a few hours. Maybe something is majorly fubar? Jordan Brock wrote:> do you have your environment set to "production" or "development" in > config/environment.db? sounds like you''re trying to connect to your > development environment. > > On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* > <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: > > I updated one thing this evening on my textdrive rails app and > every visit to the site now prompts me to download a blank > "application/x-httpd-fastphp" file. I undid what i changed and > it''s still like that. I''ve reverted back a few versions in SVN > and it''s still messed. in my fastcgi error log i see this: > > [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access > denied for user ''senyl''@''localhost'' to database > ''mommycast_development'' (Mysql::Error) > > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in > `real_connect'' > . > // more stuff > . > /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' > /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 > > > > senyl is a username i use locally, but is NOWHERE online. i > searched the whole directory and it''s clean of that name. what > could this be?? > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > -- > Jordan Brock > Spin Technologies > www.spintech.com.au <http://www.spintech.com.au> > >------------------------------------------------------------------------ > >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > >
Although the problems could be unrelated - seeing as how I don''t get any error logs that say anything difinitive like you do and I don''t get a strange download. The only simularity is that my Rails app stopped working when I didn''t even change anything (fastcgi dies), and no amount of reverts will seem to fix it :-P Brian Terlson wrote:> I am also having issues with Rails on Textdrive. I can''t figure out > the problem though :( Are you on pendrell? I submitted a ticket, but > after a response literally 90 seconds later asking for clarification, > I haven''t heard anything since. Its been a few hours. Maybe > something is majorly fubar? > > Jordan Brock wrote: > >> do you have your environment set to "production" or "development" in >> config/environment.db? sounds like you''re trying to connect to your >> development environment. >> >> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* >> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: >> >> I updated one thing this evening on my textdrive rails app and >> every visit to the site now prompts me to download a blank >> "application/x-httpd-fastphp" file. I undid what i changed and >> it''s still like that. I''ve reverted back a few versions in SVN >> and it''s still messed. in my fastcgi error log i see this: >> >> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access >> denied for user ''senyl''@''localhost'' to database >> ''mommycast_development'' (Mysql::Error) >> >> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in >> >> `real_connect'' >> . >> // more stuff >> . >> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' >> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 >> >> >> >> senyl is a username i use locally, but is NOWHERE online. i >> searched the whole directory and it''s clean of that name. what >> could this be?? >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >> >> >> -- >> Jordan Brock >> Spin Technologies >> www.spintech.com.au <http://www.spintech.com.au> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I''m on Pendrell too and I started getting the lovely ''Rails application failed to start properly'' out of nowhere after a user notified me about an hour ago (2:30am EDT). I haven''t updated the app today, and it was working earlier this afternoon. I''ve filed a ticket just now, but if anyone can shed more light on what might be happening, that would be great. Thanks, Matt Brian Terlson wrote:> Although the problems could be unrelated - seeing as how I don''t get any > error logs that say anything difinitive like you do and I don''t get a > strange download. The only simularity is that my Rails app stopped > working when I didn''t even change anything (fastcgi dies), and no amount > of reverts will seem to fix it :-P > > Brian Terlson wrote: > >> I am also having issues with Rails on Textdrive. I can''t figure out >> the problem though :( Are you on pendrell? I submitted a ticket, but >> after a response literally 90 seconds later asking for clarification, >> I haven''t heard anything since. Its been a few hours. Maybe >> something is majorly fubar? >> >> Jordan Brock wrote: >> >>> do you have your environment set to "production" or "development" in >>> config/environment.db? sounds like you''re trying to connect to your >>> development environment. >>> >>> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* >>> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: >>> >>> I updated one thing this evening on my textdrive rails app and >>> every visit to the site now prompts me to download a blank >>> "application/x-httpd-fastphp" file. I undid what i changed and >>> it''s still like that. I''ve reverted back a few versions in SVN >>> and it''s still messed. in my fastcgi error log i see this: >>> >>> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access >>> denied for user ''senyl''@''localhost'' to database >>> ''mommycast_development'' (Mysql::Error) >>> >>> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in >>> >>> `real_connect'' >>> . >>> // more stuff >>> . >>> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' >>> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 >>> >>> >>> >>> senyl is a username i use locally, but is NOWHERE online. i >>> searched the whole directory and it''s clean of that name. what >>> could this be?? >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >>> >>> >>> >>> -- >>> Jordan Brock >>> Spin Technologies >>> www.spintech.com.au <http://www.spintech.com.au> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >
Are you running fastcgi on Apache or on Lighttpd. I have had the same problem and the only reliable way around it is to move to lighttpd. Search the textdrive forums for an article on how to get this started. Support told me that fastcgi on apache is just flakey, and as such it occasionally takes a smoko. On 5/12/05, Matt Pelletier <pelletierm-A1PILTyJ15gXhy9q4Lf3Ug@public.gmane.org> wrote:> > I''m on Pendrell too and I started getting the lovely ''Rails application > failed to start properly'' out of nowhere after a user notified me about > an hour ago (2:30am EDT). I haven''t updated the app today, and it was > working earlier this afternoon. I''ve filed a ticket just now, but if > anyone can shed more light on what might be happening, that would be > great. > > Thanks, > Matt > > Brian Terlson wrote: > > Although the problems could be unrelated - seeing as how I don''t get any > > error logs that say anything difinitive like you do and I don''t get a > > strange download. The only simularity is that my Rails app stopped > > working when I didn''t even change anything (fastcgi dies), and no amount > > of reverts will seem to fix it :-P > > > > Brian Terlson wrote: > > > >> I am also having issues with Rails on Textdrive. I can''t figure out > >> the problem though :( Are you on pendrell? I submitted a ticket, but > >> after a response literally 90 seconds later asking for clarification, > >> I haven''t heard anything since. Its been a few hours. Maybe > >> something is majorly fubar? > >> > >> Jordan Brock wrote: > >> > >>> do you have your environment set to "production" or "development" in > >>> config/environment.db? sounds like you''re trying to connect to your > >>> development environment. > >>> > >>> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com> < > http://senyl.com>* > >>> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: > >>> > >>> I updated one thing this evening on my textdrive rails app and > >>> every visit to the site now prompts me to download a blank > >>> "application/x-httpd-fastphp" file. I undid what i changed and > >>> it''s still like that. I''ve reverted back a few versions in SVN > >>> and it''s still messed. in my fastcgi error log i see this: > >>> > >>> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access > >>> denied for user ''senyl''@''localhost'' to database > >>> ''mommycast_development'' (Mysql::Error) > >>> > >>> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1 > /lib/active_record/connection_adapters/mysql_adapter.rb:39:in > >>> > >>> `real_connect'' > >>> . > >>> // more stuff > >>> . > >>> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' > >>> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 > >>> > >>> > >>> > >>> senyl is a username i use locally, but is NOWHERE online. i > >>> searched the whole directory and it''s clean of that name. what > >>> could this be?? > >>> > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >>> > >>> > >>> > >>> > >>> > >>> -- > >>> Jordan Brock > >>> Spin Technologies > >>> www.spintech.com.au <http://www.spintech.com.au> < > http://www.spintech.com.au> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >>> > >>> > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Jordan Brock Spin Technologies www.spintech.com.au <http://www.spintech.com.au> _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Yeah, FCGI on Apache. That sucks. I''ve wanted to do lighttpd but haven''t taken the time. I guess this is one ''workaround''. Thanks. Jordan Brock wrote:> Are you running fastcgi on Apache or on Lighttpd. I have had the same > problem and the only reliable way around it is to move to lighttpd. > Search the textdrive forums for an article on how to get this started. > > Support told me that fastcgi on apache is just flakey, and as such it > occasionally takes a smoko. > > On 5/12/05, *Matt Pelletier* < pelletierm-A1PILTyJ15gXhy9q4Lf3Ug@public.gmane.org > <mailto:pelletierm-A1PILTyJ15gXhy9q4Lf3Ug@public.gmane.org>> wrote: > > I''m on Pendrell too and I started getting the lovely ''Rails application > failed to start properly'' out of nowhere after a user notified me about > an hour ago (2:30am EDT). I haven''t updated the app today, and it was > working earlier this afternoon. I''ve filed a ticket just now, but if > anyone can shed more light on what might be happening, that would be > great. > > Thanks, > Matt > > Brian Terlson wrote: > > Although the problems could be unrelated - seeing as how I don''t > get any > > error logs that say anything difinitive like you do and I don''t > get a > > strange download. The only simularity is that my Rails app stopped > > working when I didn''t even change anything (fastcgi dies), and no > amount > > of reverts will seem to fix it :-P > > > > Brian Terlson wrote: > > > >> I am also having issues with Rails on Textdrive. I can''t figure out > >> the problem though :( Are you on pendrell? I submitted a > ticket, but > >> after a response literally 90 seconds later asking for > clarification, > >> I haven''t heard anything since. Its been a few hours. Maybe > >> something is majorly fubar? > >> > >> Jordan Brock wrote: > >> > >>> do you have your environment set to "production" or > "development" in > >>> config/environment.db? sounds like you''re trying to connect to your > >>> development environment. > >>> > >>> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com> > <http://senyl.com>* > >>> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org> > <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>>> wrote: > >>> > >>> I updated one thing this evening on my textdrive rails app and > >>> every visit to the site now prompts me to download a blank > >>> "application/x-httpd-fastphp" file. I undid what i changed > and > >>> it''s still like that. I''ve reverted back a few versions in SVN > >>> and it''s still messed. in my fastcgi error log i see this: > >>> > >>> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: > Access > >>> denied for user ''senyl''@''localhost'' to database > >>> ''mommycast_development'' (Mysql::Error) > >>> > >>> > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in > > >>> > >>> `real_connect'' > >>> . > >>> // more stuff > >>> . > >>> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' > >>> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 > >>> > >>> > >>> > >>> senyl is a username i use locally, but is NOWHERE online. i > >>> searched the whole directory and it''s clean of that name. what > >>> could this be?? > >>> > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> <mailto: > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org>> > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >>> > >>> > >>> > >>> > >>> > >>> -- > >>> Jordan Brock > >>> Spin Technologies > >>> www.spintech.com.au <http://www.spintech.com.au> > <http://www.spintech.com.au> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > <http://lists.rubyonrails.org/mailman/listinfo/rails> > >>> > >>> > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > Jordan Brock > Spin Technologies > www.spintech.com.au <http://www.spintech.com.au> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
jason lynes :: senyl.com
2005-May-12 21:18 UTC
Re: AH! Rails on Textdrive suddenly not working
It seems something was up last night. I am on lighttpd, and after hours and hours of nothing, i restarted lighttpd and it worked again. what a hassle. i too got a prompt textdrive response at first and then nothing. nothing on their status blog about it. matt and brian, did you get yours working? if you''re not on lighttpd, I can help get you on it. Matt Pelletier wrote:> I''m on Pendrell too and I started getting the lovely ''Rails > application failed to start properly'' out of nowhere after a user > notified me about an hour ago (2:30am EDT). I haven''t updated the app > today, and it was working earlier this afternoon. I''ve filed a ticket > just now, but if anyone can shed more light on what might be > happening, that would be great. > > Thanks, > Matt > > Brian Terlson wrote: > >> Although the problems could be unrelated - seeing as how I don''t get >> any error logs that say anything difinitive like you do and I don''t >> get a strange download. The only simularity is that my Rails app >> stopped working when I didn''t even change anything (fastcgi dies), >> and no amount of reverts will seem to fix it :-P >> >> Brian Terlson wrote: >> >>> I am also having issues with Rails on Textdrive. I can''t figure out >>> the problem though :( Are you on pendrell? I submitted a ticket, >>> but after a response literally 90 seconds later asking for >>> clarification, I haven''t heard anything since. Its been a few >>> hours. Maybe something is majorly fubar? >>> >>> Jordan Brock wrote: >>> >>>> do you have your environment set to "production" or "development" >>>> in config/environment.db? sounds like you''re trying to connect to >>>> your development environment. >>>> >>>> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* >>>> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: >>>> >>>> I updated one thing this evening on my textdrive rails app and >>>> every visit to the site now prompts me to download a blank >>>> "application/x-httpd-fastphp" file. I undid what i changed and >>>> it''s still like that. I''ve reverted back a few versions in SVN >>>> and it''s still messed. in my fastcgi error log i see this: >>>> >>>> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access >>>> denied for user ''senyl''@''localhost'' to database >>>> ''mommycast_development'' (Mysql::Error) >>>> >>>> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in >>>> >>>> `real_connect'' >>>> . >>>> // more stuff >>>> . >>>> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' >>>> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 >>>> >>>> >>>> >>>> senyl is a username i use locally, but is NOWHERE online. i >>>> searched the whole directory and it''s clean of that name. what >>>> could this be?? >>>> >>>> _______________________________________________ >>>> Rails mailing list >>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> Jordan Brock >>>> Spin Technologies >>>> www.spintech.com.au <http://www.spintech.com.au> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> Rails mailing list >>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>> >>>> >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
jason lynes :: senyl.com wrote:> It seems something was up last night. I am on lighttpd, and after hours > and hours of nothing, i restarted lighttpd and it worked again. what a > hassle. i too got a prompt textdrive response at first and then > nothing. nothing on their status blog about it. > matt and brian, did you get yours working? if you''re not on lighttpd, I > can help get you on it.I read something on the forum about lighttpd not behaving well when it''s unattended and unvisited for long periods. Some folks were cobbling together something called "daedalus" to visit the site periodically to prevent that from happening. Cheers, Jim
> I read something on the forum about lighttpd not behaving well when it''s > unattended and unvisited for long periods. Some folks were cobbling > together something called "daedalus" to visit the site periodically to > prevent that from happening.That''s due to FCGI dying after a set period of time. I was having a problem today too. Lighttpd was lightning quick, but Apache was taking its sweet time doing the ProxyPass. I could enter the port and all was fine... -- rick http://techno-weenie.net
Apparently FCGI is not reliable anymore on TextDrive... something about running out of filehandles? They were unable to diagnose this in my ticket but I figured it out in the forums. I''ve geared back to plain CGI but my gosh... it''s slow! I submitted a ticket on Saturday to get lighttpd set up... still waiting. I''m having the strangest file/ftp problems too, from Rails. Under webrick (locally) I can refer to a file like public/1/newtest.xml and it works. But on the server, it fails. /public/... also fails too. Is there a correct way to refer to that location that will work in both cases? -ray On May 11, 2005, at 11:24 PM, Brian Terlson wrote:> I am also having issues with Rails on Textdrive. I can''t figure > out the problem though :( Are you on pendrell? I submitted a > ticket, but after a response literally 90 seconds later asking for > clarification, I haven''t heard anything since. Its been a few > hours. Maybe something is majorly fubar? > > Jordan Brock wrote: > > >> do you have your environment set to "production" or "development" >> in config/environment.db? sounds like you''re trying to connect to >> your development environment. >> >> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* >> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: >> >> I updated one thing this evening on my textdrive rails app and >> every visit to the site now prompts me to download a blank >> "application/x-httpd-fastphp" file. I undid what i changed and >> it''s still like that. I''ve reverted back a few versions in SVN >> and it''s still messed. in my fastcgi error log i see this: >> >> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access >> denied for user ''senyl''@''localhost'' to database >> ''mommycast_development'' (Mysql::Error) >> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ >> active_record/connection_adapters/mysql_adapter.rb:39:in >> `real_connect'' >> . >> // more stuff >> . >> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' >> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 >> >> >> >> senyl is a username i use locally, but is NOWHERE online. i >> searched the whole directory and it''s clean of that name. what >> could this be??
Jason, I got mine working under CGI, FCGI is still borked. I actually just submitted a ticket to get help setting up lighttpd - I got linked to a few places on the forums but they don''t tell me in enough detail. I suck at this server stuff. If you can give me more detail (step-by-step is most likely what I''d require since I''m in foreign territory) that''d be awesome, otherwise I can just wait for support to get back to me. It looks like it could be a somewhat long process :) Brian jason lynes :: senyl.com wrote:> It seems something was up last night. I am on lighttpd, and after > hours and hours of nothing, i restarted lighttpd and it worked again. > what a hassle. i too got a prompt textdrive response at first and > then nothing. nothing on their status blog about it. > matt and brian, did you get yours working? if you''re not on lighttpd, > I can help get you on it. > Matt Pelletier wrote: > >> I''m on Pendrell too and I started getting the lovely ''Rails >> application failed to start properly'' out of nowhere after a user >> notified me about an hour ago (2:30am EDT). I haven''t updated the app >> today, and it was working earlier this afternoon. I''ve filed a ticket >> just now, but if anyone can shed more light on what might be >> happening, that would be great. >> >> Thanks, >> Matt >> >> Brian Terlson wrote: >> >>> Although the problems could be unrelated - seeing as how I don''t get >>> any error logs that say anything difinitive like you do and I don''t >>> get a strange download. The only simularity is that my Rails app >>> stopped working when I didn''t even change anything (fastcgi dies), >>> and no amount of reverts will seem to fix it :-P >>> >>> Brian Terlson wrote: >>> >>>> I am also having issues with Rails on Textdrive. I can''t figure >>>> out the problem though :( Are you on pendrell? I submitted a >>>> ticket, but after a response literally 90 seconds later asking for >>>> clarification, I haven''t heard anything since. Its been a few >>>> hours. Maybe something is majorly fubar? >>>> >>>> Jordan Brock wrote: >>>> >>>>> do you have your environment set to "production" or "development" >>>>> in config/environment.db? sounds like you''re trying to connect to >>>>> your development environment. >>>>> >>>>> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* >>>>> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: >>>>> >>>>> I updated one thing this evening on my textdrive rails app and >>>>> every visit to the site now prompts me to download a blank >>>>> "application/x-httpd-fastphp" file. I undid what i changed and >>>>> it''s still like that. I''ve reverted back a few versions in SVN >>>>> and it''s still messed. in my fastcgi error log i see this: >>>>> >>>>> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access >>>>> denied for user ''senyl''@''localhost'' to database >>>>> ''mommycast_development'' (Mysql::Error) >>>>> >>>>> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/mysql_adapter.rb:39:in >>>>> >>>>> `real_connect'' >>>>> . >>>>> // more stuff >>>>> . >>>>> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' >>>>> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 >>>>> >>>>> >>>>> >>>>> senyl is a username i use locally, but is NOWHERE online. i >>>>> searched the whole directory and it''s clean of that name. what >>>>> could this be?? >>>>> >>>>> _______________________________________________ >>>>> Rails mailing list >>>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >>>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Jordan Brock >>>>> Spin Technologies >>>>> www.spintech.com.au <http://www.spintech.com.au> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Rails mailing list >>>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Rails mailing list >>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>> >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Yes fcgi on Apache is unreliable. Use Lighttpd + fcgi for your rails application needs. Here''s some detailed instructions on the wiki: http://wiki.rubyonrails.com/rails/show/DeployingApplicationOnTextdrive -- rick http://techno-weenie.net
Excellent, thank you :) Rick Olson wrote:>Yes fcgi on Apache is unreliable. Use Lighttpd + fcgi for your rails >application needs. > >Here''s some detailed instructions on the wiki: >http://wiki.rubyonrails.com/rails/show/DeployingApplicationOnTextdrive > > >
jason lynes :: senyl.com
2005-May-13 05:12 UTC
Re: AH! Rails on Textdrive suddenly not working
Ray, when you link to a static file, link to "/path/to/file", where you have /public/path/to/file. if the file exists, rails goes and grabs it. that''s how you can reference any image or javascript or stylesheet directly, for example "/stylesheets/index.css". but the file must exist.. Raymond Brigleb wrote:> Apparently FCGI is not reliable anymore on TextDrive... something > about running out of filehandles? They were unable to diagnose this > in my ticket but I figured it out in the forums. I''ve geared back to > plain CGI but my gosh... it''s slow! I submitted a ticket on Saturday > to get lighttpd set up... still waiting. > > I''m having the strangest file/ftp problems too, from Rails. Under > webrick (locally) I can refer to a file like public/1/newtest.xml and > it works. But on the server, it fails. /public/... also fails too. Is > there a correct way to refer to that location that will work in both > cases? > > -ray > > On May 11, 2005, at 11:24 PM, Brian Terlson wrote: > >> I am also having issues with Rails on Textdrive. I can''t figure out >> the problem though :( Are you on pendrell? I submitted a ticket, >> but after a response literally 90 seconds later asking for >> clarification, I haven''t heard anything since. Its been a few >> hours. Maybe something is majorly fubar? >> >> Jordan Brock wrote: >> >> >>> do you have your environment set to "production" or "development" >>> in config/environment.db? sounds like you''re trying to connect to >>> your development environment. >>> >>> On 5/12/05, *jason lynes :: senyl.com <http://senyl.com>* >>> <jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org <mailto:jason-9ZYj/DJVokUAvxtiuMwx3w@public.gmane.org>> wrote: >>> >>> I updated one thing this evening on my textdrive rails app and >>> every visit to the site now prompts me to download a blank >>> "application/x-httpd-fastphp" file. I undid what i changed and >>> it''s still like that. I''ve reverted back a few versions in SVN >>> and it''s still messed. in my fastcgi error log i see this: >>> >>> [Thu May 12 04:15:02 GMT 2005] Dispatcher failed to catch: Access >>> denied for user ''senyl''@''localhost'' to database >>> ''mommycast_development'' (Mysql::Error) >>> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/ >>> active_record/connection_adapters/mysql_adapter.rb:39:in >>> `real_connect'' >>> . >>> // more stuff >>> . >>> /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' >>> /home/jason.lynes/sites/mommycast/public/dispatch.fcgi:18 >>> >>> >>> >>> senyl is a username i use locally, but is NOWHERE online. i >>> searched the whole directory and it''s clean of that name. what >>> could this be?? >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
jason lynes :: senyl.com
2005-May-13 05:18 UTC
Re: AH! Rails on Textdrive suddenly not working
hey rick, i''ve been slaving over this lighttpd stuff for a while, and have 2 sites online now on td that are working. some weird shit still happens, but let me know if you need help getting it initially set up. one thing you can do is submit a ticket and request a port number so it''ll always be assigned to you. you can set it up using a random number, but i had that random number stop working randomly, so you''ll have to grab one. but basically, set up the lighttpd file structure, get the lighttpd conf right, upload your stuff, and make sure your dispatch.* and database.yml are set up right. if you change database.yml, you should restart your lighttpd to apply the changes... let me know if you need help. Rick Olson wrote:>Yes fcgi on Apache is unreliable. Use Lighttpd + fcgi for your rails >application needs. > >Here''s some detailed instructions on the wiki: >http://wiki.rubyonrails.com/rails/show/DeployingApplicationOnTextdrive > > >
On 13.5.2005, at 00:51, Jim Van Fleet wrote:> > I read something on the forum about lighttpd not behaving well when > it''s unattended and unvisited for long periods. Some folks were > cobbling together something called "daedalus" to visit the site > periodically to prevent that from happening.http://jlaine.net/blog/48/running-your-own-lighttpd-on-textdrive-and- keeping-it-alive-too-part-i http://jlaine.net/blog/57/keeping-your-lighttpd-up-on-textdrive-part-ii I''m about to add the tutorials to http://manuals.textdrive.com soon, too. //jarkko> > Cheers, > > Jim > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Jarkko Laine http://jlaine.net http://odesign.fi _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails