Xref: utzoo comp.sys.att:2101 comp.unix.questions:5058 Path: utzoo!utgpu!water!watmath!clyde!rutgers!sdcsvax!ucbvax!decvax!decwrl!pyramid!prls!philabs!phri!cooper!c.ng From: c.ng@cooper.cooper.EDU (Cho Ng ) Newsgroups: comp.sys.att,comp.unix.questions Subject: Problem with a.out's Message-ID: <1181@cooper.cooper.EDU> Date: 14 Jan 88 22:38:38 GMT Organization: The Cooper Union (NY, NY) Lines: 34 The 3b2/200 I was using was recently upgraded (new UNIX, additional 70 Meg drive, etc.) after it experienced a hard disk crash. The main 30 Meg hard drive and some support chips (I think) were replaced. All the new software was restored including the C compiler. The drives were partitioned as follows: /usr on 70 Meg drive /usr2 on 30 Meg drive /usr3 on 70 Meg drive My account is in /usr2. So here is my problem: When I try to execute a.out, I get the message 'a.out: Cannot execute'. I used the -V flag to check compilation, assembly, and linkage and they are completed without error (or so it seems to me). The file attributes for a.out indicates that a.out can be executed (-rwxr-xr-x) but the system tells me it can't be. However, bin files can be executed when they are -rwxr-xr-x-. I can't find anything in the manuals so far to tell me why I'm having problems. Is it because some software or hardware was improperly installed or replaced? Any help as soon as possible would be greatly appreciated. Also, I am not guru or higher knowledgeable, so please keep explanations as simple as possible. Thanks. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ** ** ** Fr:Cho Ng ** ** At:The Cooper Union for ihnp4!philabs!phri!cooper!c.ng ** ** the Advancement of || ** ** Science and Art "phri!cooper!c.ng"@nyu.arpa ** ** ** <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>