BLOG     |     FORUM
Welcome, Guest
Username: Password: Remember me
Issues related to installation, running, bugs, and features.
  • Page:
  • 1

TOPIC: Internal server Error

Internal server Error 12 years 6 months ago #547

Everything was going so well,
went to schedule some reports in webtrisul
message to say I needed librsvg-2
installed librsvg-2 now got
Internal server Error on almost all pages in webtrisul
The administrator has disabled public write access.

Re:Internal server Error 12 years 6 months ago #548

  • Unleash Admin
  • Unleash Admin's Avatar
1. Are you running on Ubuntu 64 bit ? If yes, try installing librsvg2-bin. The package librsvg2 is for CentOS.


2. If that does not solve your problem, then paste the error messages from the /usr/local/share/webtrisul/log/production.log file.

We can get this sorted out quickly.
The administrator has disabled public write access.

Re:Internal server Error 12 years 6 months ago #549

Hi

Sorry typo!!

Yes running Ubuntu 64 bit, have installed librsvg2-bin via apt-get

This is the last ERROR I can find in the log file

Thanks


Processing TrisulTrfTopperController#mod_currentlist (for 127.0.0.1 at 2011-09-02 13:13:20) [POST]
Parameters: {"host"=>"localhost:3000", "dash_params"=>"{"dash_key": "overview", "mid": "103,1", "controller": "newdash", "action": "index", "ctx": "root_ctx0"}", "name"=>"Hosts", "topcount"=>"20", "autohref"=>"true", "autotooltips"=>"true", "cgguid"=>"{4CD742B1-C1CA-4708-BE78-0FCA2EB01A86}", "ajaxfreq"=>"30", "width"=>"545", "id"=>"1", "authenticity_token"=>"QjWXIe1o2sDV2YTJSaFfaK21hE+TqfVC1R1DZ0FDOQg="}

ActiveRecord::StatementInvalid (SQLite3::CorruptException: database disk image is malformed: SELECT * FROM "trisul_ctl_countervars" WHERE (ItemGUID = '{4CD742B1-C1CA-4708-BE78-0FCA2EB01A86}') ):
app/models/trisul_ctl_countervar.rb:33:in `find_for_cgguid'
app/controllers/application_controller.rb:403:in `guid_valid?'
app/controllers/trisul_trf_topper_controller.rb:22:in `mod_currentlist'
<internal:prelude>:8:in `synchronize'
thin (1.2.11) [v] lib/thin/connection.rb:84:in `block in pre_process'
thin (1.2.11) [v] lib/thin/connection.rb:82:in `catch'
thin (1.2.11) [v] lib/thin/connection.rb:82:in `pre_process'
thin (1.2.11) [v] lib/thin/connection.rb:57:in `process'
thin (1.2.11) [v] lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.10) [v] lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) [v] lib/eventmachine.rb:256:in `run'
thin (1.2.11) [v] lib/thin/backends/base.rb:61:in `start'
thin (1.2.11) [v] lib/thin/server.rb:159:in `start'
thin (1.2.11) [v] lib/thin/controllers/controller.rb:86:in `start'
thin (1.2.11) [v] lib/thin/runner.rb:185:in `run_command'
thin (1.2.11) [v] lib/thin/runner.rb:151:in `run!'
thin (1.2.11) [v] bin/thin:6:in `<main>'

Rendering /errors/500.html.erb (500)
Streaming file /usr/local/share/webtrisul/tmp/svg/ax_269.svg
The administrator has disabled public write access.

Re:Internal server Error 12 years 6 months ago #550

It appears that the config file is somehow damaged. Was there a power outage ? We can repair this. Can you try these steps ?


1. Stop both Trisul and Web Trisul

sudo /etc/init.d/webtrisuld stop
sudo /etc/init.d/trisul stop


2. Back up the corrupted config DB file.

sudo mv /usr/local/var/lib/trisul/CONTEXT0/config/TRISULCONFIG.SQDB /tmp


3. Restore it

sudo sqlite3 /usr/local/var/lib/CONTEXT0/config/TRISULCONFIG.SQDB < /usr/local/share/trisul/crdb.sql3

if you get a sqlite3 command not found error, do this.


sudo /usr/local/bin/shell /usr/local/var/lib/CONTEXT0/config/TRISULCONFIG.SQDB < /usr/local/share/trisul/crdb.sql3

I am somewhat surprised this happened right after the librsvg2 install. We will investigate this further.

Let me know if this works.


Thanks,
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.

Re:Internal server Error 12 years 6 months ago #551

Hi

Many thanks all running again.
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: vivek [unleash]
Time to create page: 0.032 seconds