Results 1 to 5 of 5

Thread: Broken Clients

  1. #1
    Administrator Dyyryath's Avatar
    Join Date
    Dec 2001
    Location
    North Carolina
    Posts
    1,850

    Broken Clients

    I've got five machines that aren't turning in any work. They've been running, but something's not right. Here's what a machine that *is* turning in results looks like after a few days:

    Code:
      PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
    14859 root      25   0 52928  51M   796 R    99.9 10.2  4560m   0 DockWin.exe
    Here's what a machine that *isn't* turning in results looks like:

    Code:
      PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
    24859 root      25   0 28648  23M  2576 S    65.2  4.9  3659m   0 java
    31283 root      25   0 15728  15M   544 R    18.0  3.2   0:36   0 GridWin.exe
    31281 root      25   0 15736  15M   544 R    16.6  3.2   0:39   0 GridWin.exe
    Something is obviously wrong. 'java' is getting the bulk of the CPU time, rather than one of the d2ol executables.

    I haven't had time to do anything other than look for obvious errors (which I didn't find), but here's the log file from the machine shown above:

    http://www.zerothelement.com/tmp/d2ol-log.txt

    So, does anyone know what's going on here? They're both Linux boxes, both running the exact same client & version of Java.
    "So utterly at variance is destiny with all the little plans of men." - H.G. Wells

  2. #2
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    22,127
    Blog Entries
    13
    run

    ldd /path_to/SengentD2OL/D2OL/res/bin/Dockwin.exe

    and I'll bet it's a lib missing. Just symlink it in or get the compat libraries.

    Bok

  3. #3
    Administrator PCZ's Avatar
    Join Date
    Jun 2003
    Location
    Chertsey Surrey UK
    Posts
    2,428
    Dyyryath

    I think this is your problem.

    From the D2OL Forum

    Solved my problem by

    # get to the dir with the C++ programs
    cd <installed path>/D2OL/res/data/bin/
    # check hard-coded library requirements
    ldd DockWin.exe
    ldd GridWin.exe

    # trouble is I have a modern version of gcc installed and D2OL wants an obsolete library from an old gcc package
    # (BTW wouldn't the Intel/icc compiler yield a faster client?)
    # to get the old library into your system
    # for Gentoo
    emerge lib-compat
    # for Mandrake (and possibly rpm-based)
    rpm -ivh libstdc++2.10-2.96-0.83mdk.i586.rpm
    rpm -ivh libstdc++2.10-devel-2.96-0.83mdk.i586.rpm

    Seeing as how this is a common problem, how about a FAQ entry?

  4. #4
    Administrator Dyyryath's Avatar
    Join Date
    Dec 2001
    Location
    North Carolina
    Posts
    1,850
    Well done guys. I knew asking first was a better idea than spending time looking for the problem myself. Laziness wins again!

    Seriously, thanks guys. I don't have much time to be chasing things with the clients right now. You're making this nice & painless.
    "So utterly at variance is destiny with all the little plans of men." - H.G. Wells

  5. #5
    Administrator Dyyryath's Avatar
    Join Date
    Dec 2001
    Location
    North Carolina
    Posts
    1,850
    BTW, for anyone using Red Hat (I'm using RHEL 3 on the boxes in question), the command to install the necessary libraries is:

    up2date install compat-libstdc++

    If you were using Fedora, it would be:

    yum install compat-libstdc++
    "So utterly at variance is destiny with all the little plans of men." - H.G. Wells

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •