Difference between revisions of "Can't open GUI"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 2: | Line 2: | ||
* [[Check GUI log]] just after window fails to open. | * [[Check GUI log]] just after window fails to open. | ||
<br><br> | |||
==Error== | ==Error== |
Revision as of 21:14, 10 December 2007
Troubleshooting
- Check GUI log just after window fails to open.
Error
Forbidden You don't have permission to access /mor/ on this server.
Solution not described yet...
LoadError (Expected /home/mor/app/controllers/callc_controller.rb to define CallcController)
Solution not described yet...
LoadError (Expected /home/mor/app/controllers/stats_controller.rb to define StatsController)
Execute:
gem install pdf-writer -y --no-rdoc --no-ri
NoMethodError (undefined method `in_place_edit_for' for CallcController:Class)
The problem is that overnight Rails 2.0 was released. That ruined MOR running properly.
To fix this you need to execute:
gem install rails -v=1.2.6
then go to /home/mor/config/environment.rb
and add line:
RAILS_GEM_VERSION = '1.2.6'
save and restart apache – it should work.
MOR code will be fixed to be Rails 2.0 compatible.
FCGI info is shown in text format
If you see something like this:
#!/usr/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log' # require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' RailsFCGIHandler.process!
That means mod_fcgid is not installed for Apache.
Errno::EACCES (Permission denied - /tmp/mor_cf_xxxx or /var/spool/asterisk/outgoing/mor_cf_xxxx)
Bad permissions on /var/spool/asterisk/outgoing/
Fix:
chmod 777 /var/spool/asterisk/outgoing