FIS 4.0D and "~#!/bin/sh: not found" errors in system startup...

From: John Francini <francini_at_nashua.progress.com>
Date: Mon, 16 Nov 1998 11:24:28 -0500

Hello,

I've got an AlphaServer 1200 system that has a factory-installed copy of
Digital UNIX 4.0D (since upgraded to Patch Kit 2) that gives me weird error
messages upon startup.

Every script file in /sbin/rc3.d, beginning with S00inet, emits the message:

        "~#!/sbin/sh: not found"

but then proceeds to execute normally.

Files that don't reference /sbin/sh -- like PATHWORKS for Digital UNIX, whose
files begin with "#!/usr/bin/sh", don't show the problem.

Obviously, /sbin/sh does exist. It's twice as big as /bin/sh, but that's to be
expected since it's statically linked -- it needs no shared libraries. It has
the exact same checksum on both FIS and non-FIS systems.

Where the heck is the tilde "~" coming from?????

I saw this also on an FIS 4.0D AlphaServer 4100 before I "re-potted" a system
environment from an older box onto it, obliterating the previous content of the
FIS disk.

This only affects factory-installed 4.0D. It doesn't show up on 4.0D
installations that are either installed cleanly from CD or upgraded from prior
versions.

Ideas would be most welcome!

Thanks

John Francini

-- 
John Francini, francini_at_progress.com
+---------------------------------------------------------------------------+
| "I have come to the conclusion that one useless man is called a disgrace; |
|  that two or more are called a law firm; and that three or more become    |
|  a Congress.  And by God I have had _this_ Congress!"                     |
|                              -- John Adams in Sherman Edwards' play "1776"|
+---------------------------------------------------------------------------+
Received on Mon Nov 16 1998 - 16:26:24 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT