Forum: Radiant CMS Followup To 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:48
(Received via mailing list)
I modified the permissions on /../tmp using chmod 755

root@fourwallsandaroof:/srv/www/radiant/tmp# pwd
/srv/www/radiant/tmp
root@fourwallsandaroof:/srv/www/radiant/tmp# ls -al
total 24
drwxr-xr-x  6 root root 4096 2007-04-05 09:23 .
drwxr-xr-x 16 root root 4096 2007-04-05 09:23 ..
drwxr-xr-x  2 root root 4096 2007-04-05 09:23 cache
drwxr-xr-x  2 root root 4096 2007-04-05 09:23 pids
drwxr-xr-x  2 root root 4096 2007-04-05 09:23 sessions
drwxr-xr-x  2 root root 4096 2007-04-05 09:23 sockets

Then restarted the Litespeed webserver, then back into the terminal and
ran:

# tail -f development.log
Radiant::ExtensionMeta Load (0.000216)   SELECT * FROM extension_meta
WHERE
(extension_meta.`name` = 'Markdown Filter') LIMIT 1
  Radiant::ExtensionMeta Load (0.000214)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Textile Filter') LIMIT 1
  SQL (0.000264)   SET SQL_AUTO_IS_NULL=0
  SQL (0.000338)   select count(*) from extension_meta
Admin::AbstractModelController: missing default helper path
admin/abstract_model_helper
  Radiant::ExtensionMeta Columns (0.000957)   SHOW FIELDS FROM
extension_meta
  Radiant::ExtensionMeta Load (0.000194)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Admin Parts') LIMIT 1
  Radiant::ExtensionMeta Load (0.000245)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Mailer') LIMIT 1
  Radiant::ExtensionMeta Load (0.000461)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Markdown Filter') LIMIT 1
  Radiant::ExtensionMeta Load (0.000254)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Textile Filter') LIMIT 1

Then using Firefox, tried to connect to the server via Port 80:

this is what the 'tail -f' showed =>

Processing SiteController#show_page (for 220.239.93.50 at 2007-04-06
02:42:50) [GET]
  Parameters: {"action"=>"show_page", "url"=>"/", "controller"=>"site"}
  SQL (0.000165)   SET SQL_AUTO_IS_NULL=0
  Radiant::Config Columns (0.000704)   SHOW FIELDS FROM config
  Radiant::Config Load (0.000110)   SELECT * FROM config WHERE
(config.`key`
= 'dev.host') LIMIT 1
  Radiant::Config Load (0.000120)   SELECT * FROM config WHERE
(config.`key`
= 'dev.host') LIMIT 1
  Page Columns (0.000823)   SHOW FIELDS FROM pages
  Page Load (0.000134)   SELECT * FROM pages WHERE (pages.`parent_id` IS
NULL) LIMIT 1
Redirected to http://63.97.251.238/admin/welcome
Completed in 0.01125 (88 reqs/sec) | DB: 0.00206 (18%) | 302 Found [
http://63.97.251.238/]
Admin::AbstractModelController: missing default helper path
admin/abstract_model_helper
  Radiant::ExtensionMeta Columns (0.000780)   SHOW FIELDS FROM
extension_meta
  Radiant::ExtensionMeta Load (0.000119)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Admin Parts') LIMIT 1
  Radiant::ExtensionMeta Load (0.000247)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Mailer') LIMIT 1
  Radiant::ExtensionMeta Load (0.000268)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Markdown Filter') LIMIT 1
  Radiant::ExtensionMeta Load (0.000246)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Textile Filter') LIMIT 1
Permission denied -
/srv/www/radiant/config/../tmp/sessions//ruby_sess.8b298d394aabec31
/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
Admin::AbstractModelController: missing default helper path
admin/abstract_model_helper
  SQL (0.000144)   SET SQL_AUTO_IS_NULL=0
  Radiant::ExtensionMeta Columns (0.000928)   SHOW FIELDS FROM
extension_meta
  Radiant::ExtensionMeta Load (0.000120)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Admin Parts') LIMIT 1
  Radiant::ExtensionMeta Load (0.000242)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Mailer') LIMIT 1
  Radiant::ExtensionMeta Load (0.000237)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Markdown Filter') LIMIT 1
  Radiant::ExtensionMeta Load (0.000255)   SELECT * FROM extension_meta
WHERE (extension_meta.`name` = 'Textile Filter') LIMIT 1

Thanks in Advance,

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