Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 13:42:55 -0800
From:      Michael Oski <onemo@jps.net>
To:        Novocaer <_novocaer_@usa.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: 3.2 executables won't run
Message-ID:  <386A805F.1212E89E@jps.net>
References:  <19991229212951.6807.qmail@nw171.netaddress.usa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Are you by chance saving these files on an NFS mounted file system? I've seen
this exact behaviour when I was mounting a Solaris home dir with my ~/bin
scripts without the execute flag enabled on the mount.


Novocaer wrote:

> Dear sirs,
> as it happens my first experience with FreeBSD is with 3.2-Stable,
> and i've yet to see this sort of problem ever.
> When i run a file, that should run, i get error message as if it didn't
> exist. So i check permissions- they're OK. I check it with "file"-
> the output seems reasonable (executable, stripped etc.). So i go hmmm.
> Maybe that's a shell problem. I change the shell- nothing. So i go hmmm.
> Maybe i loaded one or more modules that are somehow defective. Unloading-
> Nothing. So i go hmmm. Maybe i should try something else:
> #cat >asd <<EOF
> echo qwerty
> EOF
> #chmod a+x asd
> "file" on "asd" says "text file", but when i run it- you guessed- nothing.
> So i go hmmm. Maybe pleading to the CPU would help? So i type:
> #cat >a.c <<EOF
> main(){
> printf('qwerty');
> }
> EOF
> #gcc a.c
> and get executable "a.out" that won't run either. So i go hmmm.
> #gdb a.out
> looking through the main() procedure reveals nothing strange.
> I got a feeling i'm missing something big here...
> Additional (Maybe) important data to analyse:
> A. I was unable to diferentiate the files that run from those that don't.
>    It's not owner dependant, size dependant, shell dependant, in or out
>    of X, loadable modules or not, made for Linux or not, not user
>    dependant- i tried real hard.
> B. I used the same set of CD's to install on a different station (200mhz,
>    64mb, 6.4GB pentium) and the same problem appeared there.
> C. I tried it on different installs, expert/novice, w/ developer or w/o-
>    again- nothing.
> D. Yes, i do hummm a-lot.
>
> Thank you.
>
> ----------------------------------------------------------------
> TagLine Thieves Guild Official Member # 31415926535
> ----------------------------------------------------------------
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?386A805F.1212E89E>