Hi all ruby script/server => Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3000 Rails Error: Unable to access log file. Please ensure that /home/imedsoft/shyam/trunk/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. => Call with -d to detach => Ctrl-C to shutdown server http://pastie.org/843862 what is this is chmod 0666. ? in my logs ....development.log is present... Regards, Shyam +91-9716-18-9650 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
This is all bout Unix file permissions. Who and read, write or run a file. Permissions are set with the chmod command. When a file is initially created the permissions look something like this: $ ls -l development.log -rw-r--r-- 1 peterhickman staff 0 26 Feb 09:54 development.log This means that the user can read and write the file (the ''rw'' at the left) but people in the same group and the user or strangers can only read it(the ''r-'' parts). By issuing the following command: $ chmod 666 development.log The permissions on the file are changed. $ ls -l -rw-rw-rw- 1 peterhickman staff 0 26 Feb 09:54 development.log Now anyone can read and write to the file. That is what this error is complaining about. As the file does not have the correct permissions it is a good as it not existing. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.