Displaying 20 results from an estimated 200 matches similar to: "Permission denied ruby_sess?"
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
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
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)
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 27
4
Sessions Problems
Hi to group!
I am new to ROR!
I am facing problems on sessions.
First I created the one session variable.
after that I created the other one.
after moving to three pages the session was destroyed automatically.
What is the reason please help me!
Thnaks and Regards,
-Kumar Varma
--
Posted via http://www.ruby-forum.com/.
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
2007 Nov 16
2
strange Mongrel 500 error
Hi,
When I start mongrel as a non root user, I will get an 500.
In my log/production.log I see this:
file /home/paul/rails/Test/releases/20071115232111/tmp/sessions//
ruby_sess.9a975fe464a2f6ba not readable
...
when I start mongrel as root everything works fine.
Can anyone imagine whats up there?
Thanks in advance,
Paul
PS: is it a bad idea to run mongrel as root? (security etc.)
2006 Jun 20
3
Maintaining same session for a user across different PCs
Hi,
I''m trying to make a simple shopping cart, where I want to maintain
state when a use logs in from different location. Consider the
following :
1. ''foo'' logs in from home pc and add ''bar'' item to the cart.
2. ''foo'' goes to office and logs in from office PC.
3. Now I want only one session for ''foo'', so that when
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
2006 Aug 12
0
Permission denied [solved]
many thanks Michael
2006/8/10, Michael Siebert <info@siebert-wd.de>:
>
> chmod -r a+rwx tmp
> should work
>
>
> 2006/8/10, Roberto Felloni <roberto.felloni@gmail.com>:
> >
> 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
2006 Feb 23
2
lighttpd and blank page
Hi all:
I have been using lighttpd on os x with RoR. It normally works great,
however, when I use it for one project, kill the process, then switch
to another project and start up using ./script/server, all I get is a
blank page. No errors or html. The only solution I have found so far
is to restart my machine, but that seems terribly inneficient. How
does everybody else handle this, or do you
2005 Dec 15
4
CGI and FastCGI problems
I can''t my rails app to work with cgi or fastcgi.
My app works using webrick. I''ve even hard-coded development mode in
environment.rb in order to get most descriptive messages, but the best I
get is the following in the apache2 errorlog:
[Thu Dec 15 10:38:04 2005] [error] [client x.x.x.x] FastCGI: incomplete
headers (35 bytes) received from server
2006 May 15
1
Mysql-Ruby required?
I have installed Ruby on Rails on my Linux server
and I am trying to run an application that I created
and I keep getting error:
No database specified. Missing argument: database.
I am sure the configuration on database.yml is correct
and the database does exist. (or maybe I missed something)
My question is, do I need to have mysql-ruby installed?
-------------- next part --------------
An HTML
2006 Jun 22
4
Can I peek at all "active sessions"?
My users need to login to run the app I''m building. I''d like to give
them an "Other users currently active:" piece of information. I could
track it myself in the database based on login/logout, but that doesn''t
really count for people just leaving the computer logged in and never
coming back. Does Rails have an API for me to monitor sessions and take
a
2005 Dec 29
3
Blank pages, ''missing default helper path rails_info_helper''
Environment:
* OS X 10.4.3
* Ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
* Rails (1.0.0, 0.13.1)
* WEBrick 1.3.1
* Following the wiki directions, I did the OSX fixrbconfig thing,
installed Rails, MySQL, etc..
Please bear with me, I''m new to Rails.
I successfully followed the ''depot'' application from the Agile Web
Development with Rails book, building it piece by
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
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 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 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone!
I''m thinking of the right way to store tmp/ directory of Rails 1.1
project in Subversion. It has cache, session and sockets
subdirectories. To me, it looks good to have
svn delete tmp/*
svn propset svn:ignore "*" tmp
So it will ignore all directories and files in tmp/. Even if you
create sessions/ and put some files in it, tmp/ content is still
ignored.
But
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have
read forums, followed How-To''s all in vain. I am hoping someone can help
me out. I am getting the Rails Welcome screen, but when trying to go to
any other url, I get the 500.html message. Take a look for yourself at
http://66.139.78.237 and click on "about your application''s
environment".