Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Can't execute scripts
@ 1997-09-22  4:07 Jeremy Sieminski
  1997-09-22  4:17 ` Steven Kokinos
  1997-09-22  7:26 ` Rho Epsilon ARC - Alpha Chapter
  0 siblings, 2 replies; 7+ messages in thread
From: Jeremy Sieminski @ 1997-09-22  4:07 UTC (permalink / raw)


I just got RH 4.2 on my Alpha and for some reason I can't execute a script,
even as root.  I made sure permissions were not a problem, in fact, it is
rwx for everyone.  The script is a simple hello world type of deal.  I've
never had this problem before.  Any hunches?  Thanks for any insight.

-Jeremy Sieminski
devil@servtech.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't execute scripts
  1997-09-22  4:07 Jeremy Sieminski
@ 1997-09-22  4:17 ` Steven Kokinos
  1997-09-22  7:26 ` Rho Epsilon ARC - Alpha Chapter
  1 sibling, 0 replies; 7+ messages in thread
From: Steven Kokinos @ 1997-09-22  4:17 UTC (permalink / raw)


> I just got RH 4.2 on my Alpha and for some reason I can't execute a script,
> even as root.  I made sure permissions were not a problem, in fact, it is
> rwx for everyone.  The script is a simple hello world type of deal.  I've
> never had this problem before.  Any hunches?  Thanks for any insight.
> 
> -Jeremy Sieminski
> devil@servtech.com
> 

Jeremy,

Doesn't sound like a particular alphaism, but who knows...what are you
typing to execute the command, what directory is it in, and what is the
error message?

-Steve

________________________________________________________________
G. Steven Kokinos
Web Yes, Inc.
220 Broadway Suite 104
Lynnfield, MA  01940
T: 617.476.8862  W: http://www.webyes.com  E: steve@webyes.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't execute scripts
       [not found] <Pine.LNX.3.95.970922001605.27416A-100000@michael.webdevelo>
@ 1997-09-22  6:35 ` Jeremy Sieminski
  0 siblings, 0 replies; 7+ messages in thread
From: Jeremy Sieminski @ 1997-09-22  6:35 UTC (permalink / raw)


At 12:17 AM 9/22/97 -0400, you wrote:
>Jeremy,
>
>Doesn't sound like a particular alphaism, but who knows...what are you
>typing to execute the command, what directory is it in, and what is the
>error message?
>
>-Steve

Steve, I don't think it is an alphaism necissarily, but I've never run RH
on Intel.  Anyways, I called the shell script test, infact, here is what it
looks like:

#!/bin/csh
echo "Hello all!"
exit

And here is what the directory looks like:
[root@nascent /root]# ls -la
total 27
drwxr-xr-x   5 root     root         1024 Sep 22 02:04 .
drwxr-xr-x  17 root     root         1024 Aug 12 00:07 ..
-rw-r--r--   1 root     root         1126 Aug 23  1995 .Xdefaults
-rw-r--r--   1 root     root         2478 Sep 21 23:27 .bash_history
-rw-r--r--   1 root     root           24 Jul 13  1994 .bash_logout
-rw-r--r--   1 root     root          238 Aug 23  1995 .bash_profile
-rw-r--r--   1 root     root          176 Aug 23  1995 .bashrc
-rw-r--r--   1 root     root          180 Mar  4  1996 .cshrc
-rw-r--r--   1 root     root        10326 Sep 14 22:36 .pinerc
drwxr-xr-x   2 root     root         1024 Aug  9  2017 .seyon
-rw-r--r--   1 root     root          166 Mar  4  1996 .tcshrc
drwxr-xr-x   2 root     root         1024 Aug  9  2017 .xfm
drwx------   2 root     root         1024 Sep 12 21:45 mail
-rwxrwxrwx   1 root     root           23 Sep 21 21:04 test
[root@nascent /root]#

This could just be a RH thing, but I've always run Slackware on Intel, and
With RH 4.0 and 4.1 on my Alpha, I've never had a problem...

-Jeremy Sieminski
devil@servtech.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't execute scripts
  1997-09-22  4:07 Jeremy Sieminski
  1997-09-22  4:17 ` Steven Kokinos
@ 1997-09-22  7:26 ` Rho Epsilon ARC - Alpha Chapter
  1 sibling, 0 replies; 7+ messages in thread
From: Rho Epsilon ARC - Alpha Chapter @ 1997-09-22  7:26 UTC (permalink / raw)


Jeremy,
	Maybe this was the first thing you tried, but I must confess, it
caught me a little off guard too.  I wasn't too familiar with bash when I
set up RedHat for the first time, and I quickly noticed that "." was not
part of the default path as it is for tcsh (what I was used to using).
So... in short... (and I'm sorry if I've already insulted you) have you
tried typing ./<name of script>     

-Aaron

> I just got RH 4.2 on my Alpha and for some reason I can't execute a script,
> even as root.  I made sure permissions were not a problem, in fact, it is
> rwx for everyone.  The script is a simple hello world type of deal.  I've
> never had this problem before.  Any hunches?  Thanks for any insight.
> 
> -Jeremy Sieminski
> devil@servtech.com
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 
> 

------------------------------------------------------------------
Rho Epsilon ARC - Alpha Chapter   |  Mail:  3rd Floor
Callsign: W7YH                    |         Compton Union Building
Internet: hamradio@eecs.wsu.edu   |         Pullman, WA  99164
Room: CUB 492B                    |
http://www.eecs.wsu.edu/~hamradio |
------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't execute scripts
       [not found] <3.0.3.32.19970922023556.00b77100@cyber1.servtech.com>
@ 1997-09-22  8:48 ` David R. McGown
  1997-09-22 21:06 ` Terran Lane
  1 sibling, 0 replies; 7+ messages in thread
From: David R. McGown @ 1997-09-22  8:48 UTC (permalink / raw)


Just a simple thing, but is the RPM for csh installed?  Also, is csh linked to
/bin from /usr/bin?  Are you using tcsh and need to link to /bin/csh?  These
are some of the things to check.

David

On 22-Sep-97 Jeremy Sieminski wrote:
>At 12:17 AM 9/22/97 -0400, you wrote:
>>Jeremy,
>>
>>Doesn't sound like a particular alphaism, but who knows...what are you
>>typing to execute the command, what directory is it in, and what is the
>>error message?
>>
>>-Steve
>
>Steve, I don't think it is an alphaism necissarily, but I've never run RH
>on Intel.  Anyways, I called the shell script test, infact, here is what it
>looks like:
>
>#!/bin/csh
>echo "Hello all!"
>exit
>
>And here is what the directory looks like:
>[root@nascent /root]# ls -la
>total 27
>drwxr-xr-x   5 root     root         1024 Sep 22 02:04 .
>drwxr-xr-x  17 root     root         1024 Aug 12 00:07 ..
>-rw-r--r--   1 root     root         1126 Aug 23  1995 .Xdefaults
>-rw-r--r--   1 root     root         2478 Sep 21 23:27 .bash_history
>-rw-r--r--   1 root     root           24 Jul 13  1994 .bash_logout
>-rw-r--r--   1 root     root          238 Aug 23  1995 .bash_profile
>-rw-r--r--   1 root     root          176 Aug 23  1995 .bashrc
>-rw-r--r--   1 root     root          180 Mar  4  1996 .cshrc
>-rw-r--r--   1 root     root        10326 Sep 14 22:36 .pinerc
>drwxr-xr-x   2 root     root         1024 Aug  9  2017 .seyon
>-rw-r--r--   1 root     root          166 Mar  4  1996 .tcshrc
>drwxr-xr-x   2 root     root         1024 Aug  9  2017 .xfm
>drwx------   2 root     root         1024 Sep 12 21:45 mail
>-rwxrwxrwx   1 root     root           23 Sep 21 21:04 test
>[root@nascent /root]#
>
>This could just be a RH thing, but I've always run Slackware on Intel, and
>With RH 4.0 and 4.1 on my Alpha, I've never had a problem...
>
>-Jeremy Sieminski
>devil@servtech.com
>

======================================================================
                            David R. McGown                               
dmcgown@megacats.com            -o-O-o-                LINUX INSIDE!     
 Home: (703)683-1599         206 Adams Ave           ALPHA GENERATION! 
 Work: (703)416-1240      Alexandria, VA 22301                                 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't execute scripts
       [not found] <XFMail.970922045337.dmcgown@megacats.com>
@ 1997-09-22 19:59 ` Christoph Franzen
  0 siblings, 0 replies; 7+ messages in thread
From: Christoph Franzen @ 1997-09-22 19:59 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

>> Anyways, I called the shell script test, infact, here is what it
>> looks like:
>>
>> #!/bin/csh
>> echo "Hello all!"
>> exit
>>
>> -rwxrwxrwx   1 root     root           23 Sep 21 21:04 test
>> [root@nascent /root]#

Jeremy,

I think, your problem is the name of your script. At least in bash (I don't
know about csh), "test" is an internal function, which is called instead of the
script. However, if you type "./test", it should work. Try renaming the script,
if you're unsuccesful again, perhaps the shell is not found. Look, if /bin/csh
exists, if it is a link, look at where it points to.

Viele Grüße, Christoph

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Can't execute scripts
       [not found] <3.0.3.32.19970922023556.00b77100@cyber1.servtech.com>
  1997-09-22  8:48 ` David R. McGown
@ 1997-09-22 21:06 ` Terran Lane
  1 sibling, 0 replies; 7+ messages in thread
From: Terran Lane @ 1997-09-22 21:06 UTC (permalink / raw)


Behold: on that day, 22 of September in the year 1997,
Jeremy Sieminski spake unto me, saying:

> At 12:17 AM 9/22/97 -0400, you wrote:
> >Jeremy,
> >
> >Doesn't sound like a particular alphaism, but who knows...what are you
> >typing to execute the command, what directory is it in, and what is the
> >error message?
> >
> >-Steve
> 
> Steve, I don't think it is an alphaism necissarily, but I've never run RH
> on Intel.  Anyways, I called the shell script test, infact, here is what it
> looks like:
> 
> #!/bin/csh
> echo "Hello all!"
> exit

Well, one possibility is that 'test' is the name of a globally
available bibary (in /usr/bin, I believe) and that you may be getting
name collision.  Have you tried either renaming your script to
something unique, or executing it as ./test?

-- 
Terran Lane   email=terran@ecn.purdue.edu
              WWW=http://purcell.ecn.purdue.edu/~terran/
              PGP key=http://purcell.ecn.purdue.edu/~terran/facts/pgp_key.html
  "But I don't want to go among mad people," Alice remarked.
  "Oh, you can't help that," said the Cat: "we're all mad here. I'm mad.
      You're mad."
  "How do you know I'm mad?" said Alice.
  "You must be," said the Cat, "or you wouldn't have come here."

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-09-22 21:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <XFMail.970922045337.dmcgown@megacats.com>
1997-09-22 19:59 ` Can't execute scripts Christoph Franzen
     [not found] <3.0.3.32.19970922023556.00b77100@cyber1.servtech.com>
1997-09-22  8:48 ` David R. McGown
1997-09-22 21:06 ` Terran Lane
     [not found] <Pine.LNX.3.95.970922001605.27416A-100000@michael.webdevelo>
1997-09-22  6:35 ` Jeremy Sieminski
1997-09-22  4:07 Jeremy Sieminski
1997-09-22  4:17 ` Steven Kokinos
1997-09-22  7:26 ` Rho Epsilon ARC - Alpha Chapter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox