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

TOPIC: Installer Package

Re:Installer Package 10 years 6 months ago #448

Hi,

Can do install ignoring the dependency ?
dpkg -i --ignore-depends=libpcap trisul-111.deb 

Then type trisul on your console. If it complains about a dynamic library - create a softlink in /usr/lib to your custom libpcap build.
ln -sf /usr/lib/your-libpcap /usr/lib/libpcap.so.x

Where libpcap.so.x is the version that trisul is looking for.


Are you on Ubuntu 10.04 64 bits ? Thanks,
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.

Re:Installer Package 10 years 6 months ago #449

Ok, worked out the linking issues and install completes. Though it does still appear to be looking for the 0.8 specifically. I had to do a:
ln -sf /usr/local/lib/libpcap.so /usr/lib/libpcap.so.0.8

To get Trisul to find it, but not a big deal. However, when I try to get Trisul to actually run it looks like the SQLite DB was never intialized and I get errors like:

Wed May 4 10:03:03 2011.286725 ERROR SQL Error updating plugin tables : sqlite3_command::prepare([DELETE FROM TRISUL_PLUGINS; ]) failed. Reason=[no such table: TRISUL_PLUGINS]
Wed May 4 10:03:03 2011.286747 ERROR Failure to initialize plugins
Wed May 4 10:03:03 2011.287176 ERROR SQL Error initing HOME NET (ContainerImpl) err sqlite3_command::prepare([ SELECT Af,Prefix, Mask FROM TRISUL_HOME_NETWORKS WHERE Af = "IPv4" ;]) failed.

ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: SLICES: SELECT * FROM "SLICES" LIMIT 1):
app/models/slice_meta.rb:16:in `block in get_available_range'
app/models/slice_meta.rb:78:in `mk_metaclass'
app/models/slice_meta.rb:15:in `get_available_range'
app/controllers/report_controller.rb:273:in `quick_report'
<internal:prelude>:8:in `synchronize'
thin (1.2.7) [v] lib/thin/connection.rb:76:in `block in pre_process'
thin (1.2.7) [v] lib/thin/connection.rb:74:in `catch'
thin (1.2.7) [v] lib/thin/connection.rb:74:in `pre_process'
thin (1.2.7) [v] lib/thin/connection.rb:57:in `process'
thin (1.2.7) [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.7) [v] lib/thin/backends/base.rb:57:in `start'
thin (1.2.7) [v] lib/thin/server.rb:156:in `start'
thin (1.2.7) [v] lib/thin/controllers/controller.rb:80:in `start'
thin (1.2.7) [v] lib/thin/runner.rb:177:in `run_command'
thin (1.2.7) [v] lib/thin/runner.rb:143:in `run!'
thin (1.2.7) [v] bin/thin:6:in `<main>'

Any suggestions?
The administrator has disabled public write access.

Re:Installer Package 10 years 6 months ago #450

vivek [unleash] wrote:
H

Are you on Ubuntu 10.04 64 bits ? Thanks,

Oh, forgot to answer. Yes this is an Ubuntu 64 bit system.
The administrator has disabled public write access.

Re:Installer Package 10 years 6 months ago #451

Can you try this ?

1) Ensure trisul is stopped (use ps -C trisul to find the PID)

2) Cleanup and retry
cd /usr/local/share/trisul
sudo ./cleanenv -f -init
sudo ./trisul -demon /usr/local/etc/trisul/trisulConfig.xml -mode online

It ought to start up now. The default is to listen on eth0. You can change that once you get the web interface up
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.

Re:Installer Package 10 years 6 months ago #452

Ok, fixed the DB error but now Trisul/libpcap is segfaulting with the error:

kernel: [6012607.545094] trisul[1104]: segfault at 180 ip 00007fd6b2096210 sp 00007fd6acef4358 error 4 in libpcap.so.1.1.1[7fd6b2089000+39000]

Is there additional debugging I can turn up?
The administrator has disabled public write access.

Re:Installer Package 10 years 6 months ago #453

Okay, this is probably due to listening on eth0 by default.

Do this - let trisul be stopped for now.

1) Logon to the web interface (admin/admin)

If you cant do that - restart the web interface
sudo /etc/init.d/webtrisuld restart

2) Go to Customize -> Profiles

3) Disable eth0

4) Add the adapters which have traffic (eg dag0 etc) & enable them

5) Go to Admin > Tools & press Start Trisul from there.


If it continues to segfault, can you send me the log file by email to info @ unleashnetworks ?
Vivek R
Unleash Networks
Support : www.unleashnetworks.com/forums
The administrator has disabled public write access.
Moderators: vivek [unleash]
Time to create page: 0.034 seconds