Hi All,
Just d/l and configured the LSWS 3.1 STD on Ubuntu 6.10 with Ruby-LSAPI-2.3
Setup the VHosts & Listeners are per Bob Silva's Indepth Tutorial.
Two errors have occured:
1). When I was seting up the VHost and had to enter the vhconf information, I did this =>
VH Name: radiant
VH Root: /srv/www/radiant
Config file: $VH_ROOT/config/vhconf.xml
Saved the edits and received error output =>
*file /srv/www/radiant/config/vhconf.xml does not exist. <a href="javascript:createFile('configFile')">CLICK TO CREATE</a>
... exactly like that, the 'create' button was not correctly rendered.
To remedy this at least to complete the setup, I did =>
This produced an error of /../vhconf.xml is not writable, which was rectified by =>
However now I actually have an empty vhconf.xml. Is it supposed to be empty or was the failed 'create' supposed to make/script it?
2). After applying all the edits, saving them and executing a graceful restart, I opened a browser and went to =>
http://my.slice.ip.address
and received this error output =>
Any help appreciated, BDM
Just d/l and configured the LSWS 3.1 STD on Ubuntu 6.10 with Ruby-LSAPI-2.3
Setup the VHosts & Listeners are per Bob Silva's Indepth Tutorial.
Two errors have occured:
1). When I was seting up the VHost and had to enter the vhconf information, I did this =>
VH Name: radiant
VH Root: /srv/www/radiant
Config file: $VH_ROOT/config/vhconf.xml
Saved the edits and received error output =>
*file /srv/www/radiant/config/vhconf.xml does not exist. <a href="javascript:createFile('configFile')">CLICK TO CREATE</a>
... exactly like that, the 'create' button was not correctly rendered.
To remedy this at least to complete the setup, I did =>
Code:
$ cd /srv/www/radiant/config
$ sudo touch vhconf.xml
$ sudo chmod 755 vhconf.xml
Code:
$ sudo chmod 777 vhconf.xml
2). After applying all the edits, saving them and executing a graceful restart, I opened a browser and went to =>
http://my.slice.ip.address
and received this error output =>
Code:
ActiveRecord::StatementInvalid in SiteController#show_page
Mysql::Error: Table 'fourwalls_development.config' doesn't exist: SHOW FIELDS FROM config
RAILS_ROOT: /srv/www/radiant/config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:243:in `execute'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:348:in `columns'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:763:in `columns'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:776:in `column_names'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:789:in `column_methods_hash'
#{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1262:in `all_attributes_exists?'
#{RAILS_ROOT}/lib/login_system.rb:77:in `all?'
#{RAILS_ROOT}/app/models/radiant/config.rb:32:in `[]'
#{RAILS_ROOT}/app/controllers/site_controller.rb:45:in `dev?'
#{RAILS_ROOT}/app/controllers/site_controller.rb:53:in `live?'
#{RAILS_ROOT}/app/controllers/site_controller.rb:16:in `show_page'
/opt/lsws/fcgi-bin/RailsRunner.rb:14