Forum: Radiant CMS Error Log Permissions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E141d56a20e64d95b1e48f0b4703f94c?d=identicon&s=25 Benjamin Minton (Guest)
on 2007-04-06 04:14
(Received via mailing list)
Thanks John for your reply re Radiant Issue Served by Litespeed: *Tue
Apr 3
15:48:22 GMT 2007

*Trawling though system logs:

/opt/lsws/logs  <= where Litespeed is installed
cat stderr.log | less

Can't determine the Home of LiteSpeed Web Server, exit!
Rails Error: Unable to access log file. Please ensure that
/srv/www/radiant/config/../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.
Rails Error: Unable to access log file. Please ensure that
/srv/www/radiant/config/../log/development.log exists and is chmod 0666.
The
log level has been raised to WARN and the o
utput directed to STDERR until the problem is fixed.
Permission denied -
/srv/www/radiant/config/../tmp/sessions//ruby_sess.9e2597bce7d4dbdc
/usr/lib/ruby/1.8/pstore.rb:290:in `initialize'
/usr/lib/ruby/1.8/pstore.rb:290:in `transaction'
/usr/lib/ruby/1.8/cgi/session/pstore.rb:71:in `initialize'
/usr/lib/ruby/1.8/cgi/session.rb:273:in `initialize'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:123:in
`session'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:155:in
`stale_session_check!'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:110:in
`session'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/base.rb:1052:in
`assign_shortcuts_without_flash'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/flash.rb:140:in
`assign_shortcuts'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/base.rb:424:in
`process_without_filters'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/filters.rb:624:in
`process_without_session_management_support'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in
`sass_old_process'
/srv/www/radiant/config/../vendor/plugins/haml/lib/sass/plugin.rb:117:in
`process'
/srv/www/radiant/config/../vendor/rails/actionpack/lib/action_controller/base.rb:330:in
`process'
/srv/www/radiant/config/../vendor/rails/railties/lib/dispatcher.rb:41:in
`dispatch'
/opt/lsws/fcgi-bin/RailsRunner.rb:14
Permission denied -
/srv/www/radiant/config/../tmp/sessions//ruby_sess.49972ac62a52f583

=> So, I am guessing there is a problem there, all logging has been
redirected to stderr.log as it doesn't have permisson to log to
development.log.

The output said => Please ensure that
/srv/www/radiant/config/../log/development.log exists and is chmod 0666

Firstly: /srv/www/radiant/config/../log/development.log is not the path
to
my radiant log files, it is

=> /srv/www/radiant/log

/srv/www/radiant/log# ls -al
total 32
drwxr-xr-x  3 root root  4096 2007-04-05 09:21 .
drwxr-xr-x 16 root root  4096 2007-04-05 09:23 ..
-rw-rw-rw-  1 root root 10151 2007-04-05 09:22 development.log
-rw-r--r--  1 root root     0 2007-04-05 09:16 .keep
-rw-rw-rw-  1 root root  5599 2007-04-06 01:23 production.log
-rw-rw-rw-  1 root root     0 2007-04-05 09:16 server.log
drwxr-xr-x  7 root root  4096 2007-04-05 09:17 .svn

So, according to the stderr.log, should systems logs be where they are
or in
/../config/logs?

Secondly => Permission denied -
/srv/www/radiant/config/../tmp/sessions//ruby_sess.49972ac62a52f583

I changed the permissions of /../tmp using chmod 0666.

Is this the likely cause of this application error I am getting?

cheers, Ben.
This topic is locked and can not be replied to.