Operating System - Linux
1820553 Members
2394 Online
109626 Solutions
New Discussion

glance fails to execute from a script, ok from the command line

 
Mladen Despic
Honored Contributor

glance fails to execute from a script, ok from the command line

I can run the following from the command line just fine:

glance -adviser_only -syntax adviser.syntax -j60 > glance.out 2>glance.err &

The process continues to run in the background until
a 'kill' is executed. But if I do:

sh

the background glance process terminates immediately,
while the following gets logged to glance.err:

sh: glance: Execute permission denied.

Can you help me figure out the cause of the problem?

My userid is 0 (root), default shell: /usr/bin/sh .
The output of 'll /opt/perf/bin/glance' is:

-r-sr-xr-x 1 root bin 614400 Oct 6 2000 /opt/perf/bin/glance




1 REPLY 1
Mladen Despic
Honored Contributor

Re: glance fails to execute from a script, ok from the command line

Didn't mean to post this under linux...please ignore