similar to: Rails cannot start until session files are deleted

Displaying 20 results from an estimated 90000 matches similar to: "Rails cannot start until session files are deleted"

2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
Please, someone can tell me where session data are stored on Windows, using Webrick in its default configuration? After storing an object into @session, I initially can access only the controller that has stored the object. Otherwise, the html page displays "Not found" and the Webrick console displays: #<ActionController::SessionRestoreError: Session contained objects where the
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably get less than 100 hits per hour. I just looked in /tmp on the server and there are over 10,000 ruby_sess.* temp files containing: " hash{" flashIC:''ActionController::Flash::FlashHash{: @used{ They''ve piled up so much that I can''t even rm -f ruby*. Bash complains
2006 Apr 04
1
sessions failing on debian apache2 fast_cgi
Hi All, So I just pushed our rails app to our production server, but I''ve encountered a number of problems. Firstly the fast_cgi processes seem to be eating up a hell of a lot of memory, at times max out our 1gig of RAM. I''ve switched back to cgi for the moment, but independently of that sessions seem to be failing intermitently. The session will hold itself stable for a
2005 Dec 20
0
Debugging "failed to start"
This app is frequently "failing to start". I''ve looked in the developement log and the fastcgi.crash.log and both have no help for the problem. Shouldn''t there be messages in the development log to help me diagnose the problem? Also I get this in the fastcgi.crash.log: [25/Nov/2005:15:36:12 :: 6662] starting [25/Nov/2005:15:36:24 :: 6663] starting
2006 Aug 02
4
Disc quota exceeded when attempting to write session
Hi All, When trying to write sessions file, I''m getting disc quota errors. Looking into the sessions folder, I see: -rw------- 1 www www 188 Aug 2 21:03 ruby_sess.d39a2c77b4750b72 -rw-r--r-- 1 www www 0 Aug 2 21:03 ruby_sess.d39a2c77b4750b72.tmp I''m guessing the the tmp should not be there, as it does not show on my dev setup. I''m using rails (1.1.1)
2008 Feb 09
1
how to check the config.action_controller.session options ?
when setting it in my environment.rb config.action_controller.session = { :session_key => ''_myapp_session'', :secret => ''3a64394bb895f1f05e0c07f71127d93d'' } I cannot get it back in the script/console .. :session_key=>"_session_id" !!! why ? >> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS =>
2006 Jun 22
1
Problem integrating rails into apache
Hi all, I''ve read the guide on integrating rails into apache on the wiki.rubyonrails.com wiki, but I run into a problem. I am trying to get the cookbook application as treated in the onlamp tutorial about ruby on rails to work form apache. I can view the index.html, but visiting cookbook/recipe/list gives me Application error Change this error message for exceptions thrown outside
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these: No space left on device - ../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3 So i figured that i had too many sessions. I went through and deleted the sessions and then in a few minutes, the site was back up again. Can anyone explain this? Did I do the right thing? Is there a way I can tell my app to accept more
2005 Dec 17
9
How to clear sessions with cron?
Anyone got a quick code snippet I can add to my crontab? Since Rails doesn''t do any housekeeping, my /tmp directory just keeps getting fatter and fatter. I found this useless snippet in the Agile book: find /tmp/ -name ''ruby_sess*'' -ctime +12h -delete Fedora Linux complains about the ''h'' in 12h, then if you remove the ''h'' he
2006 Apr 01
3
permission denied creating ruby sessions
My code was working, and I upgraded to Rails 1.1, and it seemed to be working after that, but then I suddenly started seeing the following error: Permission denied - /home/will/office/public/../config/../tmp/sessions//ruby_sess.c7da2e7df8df77df /usr/lib/ruby/1.8/pstore.rb:289:in `initialize'' /usr/lib/ruby/1.8/pstore.rb:289:in `transaction''
2006 Aug 10
2
Permission denied
Hi to all. I''m a newbye, and this is my first contact with list. I have installed ruby and rails. My ruby local home page works, but development.log tell me "Permission denied - /var/www/html/rubyapp/../config/../tmp/sessions//ruby_sess.e2677250ed380e4c " what''s happen? I think permission rights are ok (simlink towards public are root|root with 777). Someone can help
2006 Aug 03
0
changing umask on project/tmp files?
Is there anyway inside of rails to change the umask on the files created in the "tmp" directory? I tried adding "File.umask 0000" to config/enviroment.rb and no go. I''m afraid I''m a complete noob when it comes to ruby and rails. Here''s the situation. We''re trying to set up a RoR development enviroment, but the files for most of our
2003 Nov 18
1
iax vs iax2 question
I've asked this before but I don't recall seeing anyone respond. Maybe the answer is so simple that it should jump right out, but its not. I've got three iax connections defined, two working fine (including one to iaxtel), and one that is somewhat intermitant. If I do a cli 'iax show registry' and 'iax2 show registry' I see "both" iax and iax2
2004 Jan 06
0
Extremely frustrating intermitant printing problem.
We are running Suse Linux 8.2 with Samba 3.0.0.1 and Cups as our print server on a network with windows 98 and 2000 clients and HP1300, 2100, 2200 and 4050 printers. We are experiencing an intermitant error whereby the printer on the client machine will set itself to work off line and sometimes freeze up the pc when an attempt is made to print from it. This error does not happen in any consistant
2006 May 12
3
Permission denied ruby_sess?
I am really new to RonR. Anyone can give me a hand with this? I get the Application Error page and if I look at development log, this is what I see: Permission denied - /home/john/public_html/rails/myapp/public/../config/../tmp/sessions//ruby_sess.5b90dd63b9d25d2e Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 14
1
send_file, RRDtool, require or session problem
Hi all, I am new to RoR and ruby, but am a very experience PHP developer. Let me give an overview of the problem. I have a model Latency, which contains username, graph_name so the logged in user can see his/her latency graphs. In my ViewController I have a fuction view_latency which pulls the correct latency object and runs latency.overview. latency.overview creates a .png file in /tmp, and
2005 Jul 14
1
No locks available... help wanted!
In a last attempt to solve this rails issue, i keep hitting this error in whatever i do on the server. It seems to be a locking issue. The server was working like a charm before ... server specs are: debian (almost virgin) + ruby on rails 0.13 + lighttpd + fastcgi. After searching google, I can''t find anything helpful that relates to the errors I am getting. I can''t find any
2012 Dec 03
2
Rails 3.2 session id nil until next request
Posted this on stack overflow earlier today here<http://stackoverflow.com/questions/13673969/rails-3-2-session-id-nil-until-next-request>, I really either don''t know what I''m doing, or I don''t understand how sessions are supposed to work! I''m connecting to rails from an Air app and communicating with JSON only. When the client sends a login request,
2006 Feb 01
1
Unwanted sessions after routing error
I''m building a session-less application and have set "session :off" in the base controller (ApplicationController in application.rb). Unfortunately, I still see session files appearing in /tmp/ruby_sess.* -- and the cause of these files is when a routing error occurs. Whenever a bad URL comes in, for example <http://localhost:3000/not/a/chance/in/hell>, the
2003 Jun 17
1
Cannot add Domain Groups to Local Groups (D Users OK)
I have searched the globe but alas I can't come up with a solution. I am running Debian 3.0r0 with samba 2.2.3a12-3 (or something around there) and Kernel 2.4.18. Basically I am trying to add a Domain Group to a Local Group, but when I do I get an error (From Windows 2000): "A member could not be added to or removed from the local group because the member does not exist"