Me thinks jeff is right. :)

FWIW, the only env vars that should be necessary for general C3 (v4.x) are:
   PATH=$PATH:/opt/c3-4
   C3_RSH=ssh

Also, note that the "--all" flag acts upon all clusters in the
c3.conf...except the headnodes (unless you've done some mods to put all
headnodes in their own cluster stanza (not sure I'd recommend).

Typically w/  C3 if you want to act upon the clients AND headnode, you run
the cmds twice with the latter being achieved by using the "--head" option.

--tjn

 _________________________________________________________________________
  Thomas Naughton                                      [EMAIL PROTECTED]
  Research Associate                                   (865) 576-4184


On Mon, 16 Feb 2004, Jeff Squyres wrote:

> On Mon, 16 Feb 2004, bond Ford :) wrote:
>
> > File like this
> > #test.sh
> > #!/bin/sh
> > cexec --all service pbs_mom stop
> > cpush --all /root/install.log /root
> > service network restart
> > echo
>
> I think your problem is with your script, not C3.  The first line of your
> file needs to be "#!/bin/sh", not "#test.sh".  This is a unix convetion --
> when the first two characters of the file are "#!" then the rest of the
> line specifies what shell to run it under.
>
> See the execve(2) man page for more details.
>
> --
> {+} Jeff Squyres
> {+} [EMAIL PROTECTED]
> {+} http://www.lam-mpi.org/
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Oscar-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to