WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: trouble on a remaster  (Read 3051 times)

Offline lindee

  • Newbie
  • *
  • Posts: 1
trouble on a remaster
« on: June 16, 2009, 09:07:42 AM »
I am trying to use a remastered microcore.gz image to PXE-boot the compute nodes for a Beowulf cluster.

The extensions I need for what I am trying to do are nfs-utils, openssh, and curl.

I followed the directions for remastering in the wiki section and extracted the microcore filesystem.

Extracted the following packages into the filesystem
  • curl.tcel
  • nfs-utils.tce
  • openssh.tce
  • openssl-0.9.8h.tcel
  • portmap.tce
  • tcp_wrappers.tcel

When the node boots from the modified image, it gives errors when trying to run anything related to ssh or curl saying "error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory" or the same thing with libcurl.so.4. I have tried adding /usr/local/lib to both the PATH and LD_LIBRARY_PATH variables in /etc/profile and remastering again to no success.

Also, when I try to mount an nfs share, it gives the following error:
   rpcbind: server localhost not responding, timed out
   RPC: failed to contact local rpcbind server (errno 5).

Does anyone have any experience with this or know of something I should have done differently?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: trouble on a remaster
« Reply #1 on: June 16, 2009, 10:29:38 AM »
After extracting library extensions you need to manually run ldconfig (it would be run if you used the appbrowser):

ldconfig -r /path/to/extracted/root
The only barriers that can stop you are the ones you create yourself.

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: trouble on a remaster
« Reply #2 on: June 16, 2009, 11:38:18 AM »
Last I saw, ldconfig is already run from tc-config, unless "nolocal" is specified.  Has this changed in 2.x?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: trouble on a remaster
« Reply #3 on: June 16, 2009, 12:04:40 PM »
Mik, that's only in effect if persistent local is used.
The only barriers that can stop you are the ones you create yourself.

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: trouble on a remaster
« Reply #4 on: June 16, 2009, 12:12:39 PM »
is there a reason for using ldconfig only when there is a persistent local? why wouldn't/shouldn't it be used for every boot?
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: trouble on a remaster
« Reply #5 on: June 16, 2009, 12:29:45 PM »
robc: usually the cache is prebuilt, so no updating is necessary unless there are new libraries present

although it seems to always run it in 2.0 if the edition is TC