You will need to do the cpush (or whatever) from outside the chroot
environment.  It is not the head node's real environment so some
services will get confused if you reference them from inside the
chroot.

Anyway, I am not sure if you ran the "complete cluster setup" step on
the wizard, but it doesn't look like your c3 tools (which cpush and
cexec are from) were set up yet.  I would try re-running the "Complete
Cluster Setup" step and see if it fixes the setup.

Well, ok, I would probably start over from a fresh OS install myself,
but I am a bit silly about having a known state on my system, which is
one of the reasons why I like OSCAR :)  When I make mistakes, I like
to start fresh...

On 5/10/07, Fan,Huajun <[EMAIL PROTECTED]> wrote:
> Michael
>
> Thanks. I am following (2), which seems I can handle. Here is out put:
>
> [EMAIL PROTECTED] /]# rpm -ivh compat-libstdc++-33-3.2.3-47.3.x86_64.rpm
> warning: compat-libstdc++-33-3.2.3-47.3.x86_64.rpm: V3 DSA signature: NOKEY, 
> key ID 443e1821
> error: failed to open /etc/mtab: No such file or directory
> Preparing...                ########################################### [100%]
>         package compat-libstdc++-33-3.2.3-47.3 is already installed
> [EMAIL PROTECTED] /]# cpush  compat-libstdc++-33-3.2.3-47.3
> error opening file:  /etc/c3.conf
>
> If I logout of chroot, and do "cpush", it shows the following
> [EMAIL PROTECTED] 64bitimage]# cpush compat-libstdc++
> rsync: -X: unknown option
> rsync error: syntax or usage error (code 1) at main.c(1084)
> rsync: -X: unknown option
> rsync error: syntax or usage error (code 1) at main.c(1084)
>
> Please tell me what I did wrong here. Thanks a million.
>
> Hua-Jun Fan, Ph.D.
>
> Email: [EMAIL PROTECTED]
> Tel:     (936) 261-3111
> Fax:    (936) 261-3117
>
> Department of Chemistry
> Mail Stop 2215
> PO Box 519
> Prairie View, TX 77446-0519
>
>
> ________________________________
>
> From: [EMAIL PROTECTED] on behalf of Michael Edwards
> Sent: Thu 5/10/2007 1:00 AM
> To: oscar-users@lists.sourceforge.net
> Subject: Re: [Oscar-users] help: lib missing on slave nodes
>
>
>
> That rpm is probably not on the rpmlist for the compute nodes.  So you
> could do this one of several ways.
>
> 1) You can copy /opt/oscar/oscarsamples/rhel-4-x86_64.rpmlist to a new
> file, say custom.rpmlist and add a line that says compat-libstdc++ and
> one that says compat-libstdc++.i386 (or possibly i686 depending on how
> the 32 bit rpm is labeled).  Then make a new client image by rerunning
> the "Build Client Image" step using custom.rpmlist instead of the
> default.  Then you would need to delete the existing node you made and
> redefine the node like you did the first time only with the new image
> name.
>
> 2) You could just copy the compat-libstdc++ rpms into the image
> directory (/var/lib/systemimager/oscarimage), do your "chroot
> /var/lib/systemimager/oscarimage", and then use "rpm -ivh
> compat-libstdc" to install the rpms on the image.  Then you can
> install the rpms on the nodes by using "cpush compat-libstdc++*" and
> then install them using "cexec "rpm -ivh compat-libstdc".  The order
> of installation on the image and existing nodes isn't important, just
> make sure you get it installed both places or when you add new nodes
> they won't work right again.
>
> Which ever of those two methods should work alright, assuming those
> rpms being missing is the only problem.  You could probably just copy
> libstdc++.so.5 to the compute nodes (and the image!) as well, but that
> seems a little less nice than installing whatever rpm is supposed to
> provide it.
>
> On 5/10/07, Fan,Huajun <[EMAIL PROTECTED]> wrote:
> > Thanks, Michael. and sorry for this novice questions:
> >
> > 1) on head node and compute node, I can "rpm -qa|grep". Results showed that 
> > "compat-libstdc++-33-32-3.2.3-47.3" is the only package not installed on 
> > compute node. plus, the software was running ok on head node. So I am sure 
> > it is completely installed on head node. When you said: "copy the required 
> > packages to image directory", which file(s) do you mean here? do you mean 
> > the .so file? (it seems all .so files under the directory you mentioned) 
> > and how can I relate the .so file to each package?
> >
> > 2) hypothically, after copying these files, how can I install on each 
> > compute node?
> >
> > Thanks for these tedious questions.
> >
> > Huajun
> >
> > ________________________________
> >
> > From: [EMAIL PROTECTED] on behalf of Michael Edwards
> > Sent: Wed 5/9/2007 11:25 PM
> > To: oscar-users@lists.sourceforge.net
> > Subject: Re: [Oscar-users] help: lib missing on slave nodes
> >
> >
> >
> > Did you install those packages on the head node?
> >
> > If so, copy the required packages to the image directory on the head
> > node (by default this is /var/lib/systemimager/images/oscarimage) and
> > then do
> >
> > chroot /var/lib/systemimager/images/oscarimage
> >
> > Then install the packages as you did on the head node.  You might get
> > some odd messages because the chroot environment is a bit unexpected
> > to some programs, but it should work alright.
> >
> > You also might do something like "rpm -qa | grep libc" on the head
> > node and the compute nodes.  I am not sure why there would be a
> > different version on the head and compute nodes, but it looks like
> > that might be the case.
> >
> > On 5/9/07, Fan,Huajun <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > Hi All
> > >
> > >
> > >
> > >
> > > I have two slave nodes in a cluster running OSCAR5.0. One of the software
> > > failed with message of can't find libstdc++.so.5 when running on slave
> > > nodes. This file is under /usr/lib/ directory at master node, but not in
> > > slave nodes. on slave node, it shows libstdc++.so.6. I am totally new to
> > > oscar and centos 4.0. is this normal at all?
> > >
> > > When I check the vendor's website, it does not require libstdc++.so.5, but
> > > it requires the following lib:
> > >   glibc-2.3.4-2.25 (32-bit and 64-bit)
> > >   hpmpi-2.02.00.03-20060614r.x86_64 (32-bit and 64-bit)
> > >   libgcc-3.4.6-3 (32-bit and 64-bit)
> > >   compat-libstdc++-33-32-3.2.3-47.3 (32-bit and 64-bit)
> > >
> > > To my limited knowledge, everything slave node needs should be under 
> > > /home/
> > > directory. In this case, the master node can run the job no problem, 
> > > because
> > > everything the software needs is at /usr/lib/ directory. but slave nodes
> > > can't access to master node outside of /home directory, my question is 
> > > then,
> > > how can I get this software to run on slave node? Can I install library to
> > > each slave node? (I only got two nodes and both are x86_64). If so, can
> > > someone help me stepwise? What's the best solution to my case?
> > >
> > > Thank you very much for your help.
> > >
> > >
> > > Huajun
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________
> > > Oscar-users mailing list
> > > Oscar-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/oscar-users
> > >
> > >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Oscar-users mailing list
> > Oscar-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oscar-users
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Oscar-users mailing list
> > Oscar-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oscar-users
> >
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Oscar-users mailing list
> Oscar-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Oscar-users mailing list
> Oscar-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to