From: ADVAX::"mcnc!VM1.NoDak.EDU!systemmgr%STATE.BITNET" 6-NOV-1990 00:43:14.85 To: Multiple recipients of list ANU-NEWS CC: Subj: MULTINET_SOCKET_LIBARY solution Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Tue, 6 Nov 90 00:42:46 EST Received: from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.12) with UUCP id AA12592 for everhart; Tue, 6 Nov 90 00:42:40 -0500 Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/6-11-90) id AA04607; Tue, 6 Nov 90 00:12:15 -0500 for ARISIA.DNET.ge.com!EVERHART Message-Id: <9011060512.AA04607@mcnc.mcnc.org> Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 7540; Mon, 05 Nov 90 23:11:36 CST Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id 9076; Mon, 05 Nov 90 23:11:34 CST Date: Thu, 1 Nov 90 01:52:35 GMT Reply-To: mcnc!VM1.NoDak.EDU!systemmgr%STATE.BITNET Sender: ANU-NEWS Discussion From: mcnc!VM1.NoDak.EDU!systemmgr%STATE.BITNET Subject: MULTINET_SOCKET_LIBARY solution To: Multiple recipients of list ANU-NEWS Some people have asked how to handle the situation which arises when you go to run NEWS V6.0 and you get the message "unable to activate image MULTINET_SOCKET_LIBRARY" or similar. I thought about this for a while when it happened to me, and devised the followin solution. I passed this on to Geoff at the time, who indicated that he would include it in future releases. Note that this fix will not work if you want to set up a served newsgroup using Multinet TCP/IP. If that's what you want, you'll have to buy Multinet. Before you begin, you should be a system manager: you will need CMKRNL, SYSPRV and SYSNAM privileges. 1. The problem is caused by the absence of a shareable image called, or identified by the logical name, MULTINET_SOCKET_LIBRARY. I did an ANAL/IMAGE over NEWS.EXE and determined the entry points used by NEWS so that I could create the following MACRO program: --------------------------------- Cut here --------------------------------- .title multinet_socket_library .sbttl Dummy for ANU News .psect DUMMY rel,pic,exe,rd,nowrt,byte start: ..=start+^xb0 .entry dummy_1,^m movl #1, R0 ret ..=start+^x1b8 .entry dummy_2,^m movl #1, R0 ret .end --------------------------------- Cut here --------------------------------- I haven't spent any time neatening it up; those register masks don't need to include every register, for example. Anyway, extract the above into a file (I called mine MSL.MAR and placed it in the same directory as that where NEWS.EXE resides), then SET DEFAULT to that directory. 2. Next, assemble and link the above source to create the shareable image: $ MACRO MSL $ LINK/SHARE/NOTRACE MSL,SYS$INPUT:/OPT GSMATCH=LEQ,1,3 ^Z $ ! Note: ^Z means press Ctrl/Z $ SET PROT=W:RE MSL.EXE The above one-line .OPT makes sure that the shareable image match control is the same as that in NEWS.EXE. 3. Finally, define a logical name for the library and install it: $ DEFINE/SYS/EXEC MULTINET_SOCKET_LIBRARY disk:[dir]MSL $ INSTALL ADD/OP/HE MULTINET_SOCKET_LIBRARY where disk:[dir] is the device/directory where MSL resides. There's no point in adding /SHARE to the above INSTALL command because a) it's a very small image, and b) the above code does not create any shareable code. 4. Now, run NEWS! If you have any problems, check that the new library is installed. If you use the following INSTALL command you will see something like this: $ INSTALL LIST/FUL MUTLINET_SOCKET_LIBRARY DISK$DISK1:.EXE MSL;1 Open Hdr Lnkbl Entry access count = 33 Current / Maximum shared = 2 / 3 $ If yours doesn't look like this and NEWS still won't run, re-check what you did. I'm willing to help if I can. When it's all working, add the logical name definition and installation of MSL to your system startup so that it works after the next reboot. -- Jeremy Begg +----------------------------------------------------------+ | VSM Software Services, | E-Mail: jeremy@vsm.com.au | | P.O.Box 801, Unley, | Phone: +61 8 2388074 (pager)| | South Australia 5061 | | |----------------------------------------------------------| | You probably won't be able to REPLY directly to this | ! posting - use the above e-mail address instead. | +----------------------------------------------------------+