Thomas (Ford),

Just to clarify, you're saying you can run the following manually but not
via cexec?

    root# cat mymount.sh
    #!/bin/sh
    mount /home

I just wanted to double check the "#!" (pound bang).  Also, where do you
have the 'mymount.sh' script on the nodes?

There is no reason that mounting /home from 'cexec mount /home' should work
any different than using 'cexec /tmp/mymount.sh', assuming the script is
executable.

AFAIK, the shell that is started on either execution should have the same
value for $PATH.  If you could post the output for execution of both
methods on a single node (preferrably with the --pipe option) it would make
debugging much easier.

thanks,
--tjn

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


On Mon, 10 Nov 2003, Jeremy Enos wrote:

> You'll have to ask the c3 folks... please keep the list cc'd.
>
>          Jeremy
>
>
> At 08:25 PM 11/10/2003, thomas ford wrote:
> >I can run it under shell, but if I put it in the file like !/bin/sh, it
> >can't run successfully.
> >On the other hand, I can put any other cexec commands in !/bin/sh and run
> >it successfully.
> >what's that reason?
> >Thomas
> >Jeremy Enos <[EMAIL PROTECTED]> wrote:
> >No reason why not... try it.
> >
> >At 07:31 PM 11/10/2003, thomas ford wrote:
> >>By the way, can I run this command to mount home on all clients:  cexec
> >>mount /home
> >>
> >>
> >>
> >>~
> >>Thomas
> >>
> >>
> >>Do you Yahoo!?
> >><http://antispam.yahoo.com/whatsnewfree>Protect your identity with Yahoo!
> >>Mail AddressGuard
> >
> >
> >Do you Yahoo!?
> ><http://antispam.yahoo.com/whatsnewfree>Protect your identity with Yahoo!
> >Mail AddressGuard
>


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to