PDA

View Full Version : Linux Terminal Server Project version 3.0



IronBits
11-08-2003, 01:54 PM
Linux Terminal Server Project version 3.0
This adds the diskless server to Linux.

ltsp_core-3.0.9-0.i386.rpm
ltsp_kernel-3.0.10-0.i386.rpm
ltsp_local_apps-3.0.0-0.i386.rpm
pxestuff-3.0.5-i386.tgz

Download linkages
http://prdownloads.sourceforge.net/ltsp/ltsp_core-3.0.9-0.i386.rpm
http://prdownloads.sourceforge.net/ltsp/ltsp_kernel-3.0.10-0.i386.rpm
http://prdownloads.sourceforge.net/ltsp/ltsp_local_apps-3.0.0-0.i386.rpm
http://prdownloads.sourceforge.net/ltsp/pxestuff-3.0.5-i386.tgz

IronBits
11-11-2003, 06:11 PM
In an effort to run other projects besides DF and DNET clients on the pxe nodes, some libraries are missing.

For instance:
when running chessbrain it says "libstdc++-libc6.2-2.so.3" is missing

So, in my attempt to correct that problem, I did the following from the pxeServer:

cp -R /lib/* /opt/ltsp/i386/lib (didn't overwrite any libs already there)

Now on the pxeNode console I see: (which wasn't there before)
/bin/getltscfg: /lib/libc.so.6: verson `GLIBC_2.3' not found (required by /lib/libpopt.so.0)

So back on the pxeServer, from /opt/ltsp/i386/lib directory, I type:
ln libc.so.6 libc-2.3.1.so

That didn't work.

Suggestions?

Edit:
Found glibc-2.3.1 - I'll install it and see if it helps.
ftp://at.rpmfind.net/linux/Mandrake/9.1/i586/Mandrake/RPMS/glibc-2.3.1-10mdk.i586.rpm

FoBoT
11-11-2003, 06:17 PM
:drums:


i have a nic with the ROM for doing this, i bought it a couple years ago , but never had time to figure it out/do it/learn about it

i can't help, but its really cool

magnav0x
11-11-2003, 06:27 PM
Sounds like one of the libraries you copied over has a dependency located elsewhere that was not copyed. As far as I know the linux chessbrain cilent requires c++ compatibility and libc6 libraries (which is what would cause your initial error of: libstdc++-libc6.2-2.so.3). I'm not sure but it's probably the same stuff that's installed with the following redhat RPM compat-libstdc++-7.3-2.96.110.i386.rpm.

Unfortunatly I don't know exactly what all it installs and where, so you will have to read around and find out where those libraries are all installed at.

Dyyryath
11-11-2003, 09:23 PM
For Mandrake it's called libstdc++2.10.

IronBits
11-11-2003, 09:54 PM
urpmi libstdc++2.10

cp /lib/libc-2.3.1.so /opt/ltsp/i386/bin

cd /opt/ltsp/i386/bin
ln libc-2.3.1.so libc.so.6

Now I get segmentation fault on the clients - all have died
`GLIBC_PRIVATE' not found (required by /lib/libc.so.6)

magnav0x
11-11-2003, 11:08 PM
urpmi libstdc++2.10

cp /lib/libc-2.3.1.so /opt/ltsp/i386/bin

cd /opt/ltsp/i386/bin
ln libc-2.3.1.so libc.so.6

Now I get segmentation fault on the clients - all have died
`GLIBC_PRIVATE' not found (required by /lib/libc.so.6)


You aren't using the static client are you? Try something like this from your chessbrain directory:

LD_LIBRARY_PATH=/usr/local/glibc-2.3/lib /usr/local/glibc-2.3/lib/ld-linux.so.2 ./cbspn


replace /usr/locl/glibc-2.3/lib/ whith the directory where ld-linux.so.2 is located.


If that doesn't work try:

ldd libc.so.6

magnav0x
11-11-2003, 11:22 PM
could also try this before you run your chessbrain client.:

export LD_LIBRARY_PATH=/usr/local/glibc-2.3/lib :$LD_LIBRARY_PATH"

Again replace /usr/local/glibc-2.3/lib to the correct library path

IronBits
11-11-2003, 11:39 PM
I should have said the pxenodes are dying because of this, not just the clients. :bang:

magnav0x
11-11-2003, 11:44 PM
If the pxe nodes are spitting out that error try it any how. What that does is set your Library paths

IronBits
11-12-2003, 01:28 AM
I'm not sure how or what I did, but, not only do the pxenodes boot, I can run Chessbrain :D
I typed history > history.txt - cleaned it up and pasted it here.

First I had to fix the mess I created in one of the above messages.
This is while I'm in /opt/ltsp/i386/lib
156 cp /lib/ld-linux.so.2 .
192 cp i686/libc-2.3.1.so .
206 cp /lib/ld-linux.so.2 .
207 cp /lib/libc-2.3.1.so libc.so.6

I did the following and Chessbrain took off
212 cp /lib/libnss_files.so.2 .
220 cp /usr/lib/libstdc++-libc6.2-2.so.3 .
227 cp /lib/libpthread.so.0 .
228 history > history.txt

So, your mileage may vary. I was grasping at straws.

Somehow, I can hear Dyyryath :rotfl: :blush:

IronBits
11-12-2003, 11:22 PM
To get Lifemapper running on a PXE node, I did the following:
cp /usr/lib/libstdc++.so.5 /opt/ltsp/i386/lib