OneSwarm Forum » Troubleshooting

0_6_5 x86 version won't work on Debian Lenny

(8 posts)
  1. ITM
    Member
    Login to Send PM

    Hello,

    I don't manage to make OneSwarm work on my Debian lenny installation.
    I'm a bit lost and I don't know why I always get the same error message:

    ~/progs/OneSwarm$ cat error.log
    Aug 27, 2009 1:38:09 PM com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader <init>
    INFO: OneSwarm MultiPeerUploader created
    Aug 27, 2009 1:38:09 PM com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader <init>
    INFO: OneSwarm MultiPeerUploader created
    Aug 27, 2009 1:38:09 PM com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader <init>
    INFO: OneSwarm MultiPeerUploader created
    Aug 27, 2009 1:38:09 PM com.aelitis.azureus.core.networkmanager.impl.MultiPeerUploader <init>
    INFO: OneSwarm MultiPeerUploader created
    DEBUG::Thu Aug 27 13:38:09 UTC 2009::org.gudy.azureus2.ui.swt.mainwindow.SWTThread::createInstance::68:
    Loading SWT Libraries failed. Typical causes:

    (1) swt.jar is not for your os architecture (i386). You can get a new swt.jar (Min Version: 3.4) from http://eclipse.org/swt

    (2) No write access to 'null'. SWT will extract libraries contained in the swt.jar to this dir.

    Initializer::<init>::106,Main::<init>::99,Main::main::235,NativeMethodAccessorImpl::invoke0::-2,NativeMethodAccessorImpl::invoke::39,DelegatingMethodAccessorImpl::invoke::25,Method::invoke::597,LauncherEngine::launch::-1,Launcher::main::-1
    java.lang.UnsatisfiedLinkError: no swt-gtk-3448 or swt-gtk in swt.library.path, java.library.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:130)
    at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:88)
    at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:68)
    at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:106)
    at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:99)
    at org.gudy.azureus2.ui.swt.Main.main(Main.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.Launcher.main(Unknown Source)

    - I removed/reinstalled the sun-java6-jre/bin/plugin packages with no luck.
    - I own the whole OneSwarm directory tree
    - I have write access to /tmp
    - I managed to "jar xvf swt.jar" successfully (but that not changes the problem)
    - I downloaded a swt.jar from eclispe with no change
    - I tried the 64 bit version of 1S (!!) with no change (err... I didn't know what to do)

    What could I try next? Do you have any idea ? What does 'null' reffer to ?
    It's so frustrating since it works fine on my office computer (ubunto 9.04)

    Thanks in advance

    Posted 11 months ago #
  2. isdal
    Administrator
    Login to Send PM

    It seems like swt believes you have a 32 bit lenny install (not 64 bit), can you try the 32 bit OneSwarm linux package instead?

    // Tomas

    Posted 11 months ago #
  3. ITM
    Member
    Login to Send PM

    First thanks for your answer!

    Actually it is a 32 bit install.
    "uname -a" gives me:
    Linux nas 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux

    I downloaded and extracted the OneSwarm_0_6_5_linux_x86.tar.gz package
    Any idea?

    Posted 11 months ago #
  4. isdal
    Administrator
    Login to Send PM

    hmm, strange. I tried it on 32 bit ubuntu which is almost the same and it works...
    isdal@dunken:~$ uname -a
    Linux dunken 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux

    isdal@dunken:~$ cd /tmp/
    isdal@dunken:/tmp$ wget http://oneswarm.cs.washington.edu/builds/OneSwarm_0_6_5_linux_x86.tar.gz
    --2009-08-27 16:46:51-- http://oneswarm.cs.washington.edu/builds/OneSwarm_0_6_5_linux_x86.tar.gz
    Resolving oneswarm.cs.washington.edu... 128.208.2.77
    Connecting to oneswarm.cs.washington.edu|128.208.2.77|:80... connected.
    ...
    2009-08-27 16:47:54 (458 KB/s) - `OneSwarm_0_6_5_linux_x86.tar.gz' saved [29334611/29334611]

    isdal@dunken:/tmp$ tar -xzf OneSwarm_0_6_5_linux_x86.tar.gz
    isdal@dunken:/tmp$ cd OneSwarm/
    isdal@dunken:/tmp/OneSwarm$ ./OneSwarm

    Can you try those exact steps, if that doesn't work I guess I will have to install debian somewhere and debug...

    // Tomas

    Posted 11 months ago #
  5. ITM
    Member
    Login to Send PM

    Hello !

    Here it is:

    itm@ordi-nas:~$ cd /tmp/
    itm@ordi-nas:/tmp/OneSwarm$ su
    Password:
    ordi-nas:/tmp/OneSwarm# apt-get install sun-java6-jre
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    sun-java6-jre is already the newest version.
    sun-java6-jre set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ordi-nas:/tmp/OneSwarm# exit
    itm@ordi-nas:/tmp$ wget http://oneswarm.cs.washington.edu/builds/OneSwarm_0_6_5_linux_x86.tar.gz
    --2009-08-27 18:35:10-- http://oneswarm.cs.washington.edu/builds/OneSwarm_0_6_5_linux_x86.tar.gz
    Resolving oneswarm.cs.washington.edu... 128.208.2.77
    Connecting to oneswarm.cs.washington.edu|128.208.2.77|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 29334611 (28M) [application/x-gzip]
    Saving to: `OneSwarm_0_6_5_linux_x86.tar.gz'

    100%[======================================>] 29,334,611 1.07M/s in 41s

    2009-08-27 18:35:51 (699 KB/s) - `OneSwarm_0_6_5_linux_x86.tar.gz' saved [29334611/29334611]

    itm@ordi-nas:/tmp$ tar -xzf OneSwarm_0_6_5_linux_x86.tar.gz
    itm@ordi-nas:/tmp$ cd OneSwarm/
    itm@ordi-nas:/tmp/OneSwarm$ ./OneSwarm
    bash: ./OneSwarm: /bin/sh: bad interpreter: Permission denied
    itm@ordi-nas:/tmp/OneSwarm$ sh ./OneSwarm
    itm@ordi-nas:/tmp/OneSwarm$ cat error.log

    And same as before... First time I hit the "bad interpreter" error though.

    It's a netinst of lenny (minimal installation) + X server + XFCE4
    I don't really see what is wrong or missing. That's the only thing that won't work so far.

    By the way the first time I ran it I had something like "testing JVM in /tmp".
    I guess 1S has written some information somewhere in the FS. Even if I remove the 1S directory + ~/.oneswarm, I don't get the message anymore.
    Is that a normal behavior ?

    ITM

    Posted 11 months ago #
  6. ITM
    Member
    Login to Send PM

    Damn, I think I have a serious clue about what is wrong!
    I can't execute OneSwarm in my /tmp directory beacause I put noexec in my fstab!
    I guess swt.jar tries to unpack / execute something somewhere in /tmp and fails.
    I will remove the option and tell you as soon as possible.

    Posted 11 months ago #
  7. ITM
    Member
    Login to Send PM

    Ok I do confirm that remounting /tmp in exec mode solved the problem!
    Hope that help.

    Posted 11 months ago #
  8. isdal
    Administrator
    Login to Send PM

    Great! Thanks for telling us. Happy swarming!

    Posted 11 months ago #

RSS feed for this topic

Reply

You must log in to post.