ecl@mtgzy.UUCP (02/10/87)
I have installed netnews 2.11 with all three (and a half) patches. I got the latest(?) uuhosts (1.69) from mod.sources and installed that. I ran "uuhosts -setup" and got messages like the following: > Subject: UUCP map for d.att > Original-Message-ID: <3292@cbosgd.ATT.COM> > > x - d.att > /usr/lib/news/mapsh: syntax error at line 1: `(' unexpected > /usr/lib/news/mapsh: syntax error at line 1: `GibsPC' unexpected > /usr/lib/news/mapsh: syntax error at line 1: `Moon' unexpected > /usr/lib/news/mapsh: syntax error at line 1: `RFSC_5' unexpected > /usr/lib/news/mapsh: syntax error at line 1: `abflx' unexpected > ... > /usr/lib/news/mapsh: syntax error at line 1: `uf-cgrl' unexpected > /usr/lib/news/mapsh: syntax error at line 1: `ucbvax' unexpected > /usr/lib/news/mapsh: !Funky!Stuff!: not found I am running UTS SVR2 on an Amdahl. /usr/lib/news/mapsh looks like: -rwsr-x--- 1 root news 21036 Feb 7 12:06 /usr/lib/news/mapsh My cron job runs: > /usr/lbin/uuhosts -unbatch Uuhosts is: >-r-xr-xr-x 1 root sys 5611 Feb 7 12:06 /usr/lbin/uuhosts My /usr/spool/news/maps sub-tree looks like: -rw-r--r-- 1 news news 0 Feb 7 16:40 /usr/spool/news/maps/DONE -rw-r--r-- 1 news news 0 Feb 7 16:41 /usr/spool/news/maps/d.att (a bunch of other 0-length files) /usr/spool/news/maps/bin: total 33 -r-xr-xr-x 1 news news 22220 Feb 7 12:06 cat -r-xr-xr-x 1 news news 6412 Feb 7 12:06 echo -r-xr-xr-x 1 news news 36604 Feb 7 12:06 sed -r-xr-xr-x 1 news news 60980 Feb 7 12:06 sh /usr/spool/news/maps/mod.map: total 0 -rw-r--r-- 1 news news 0 Feb 7 17:02 Index -rw-r--r-- 1 news news 0 Feb 7 12:24 Index.4607 -rw-r--r-- 1 news news 0 Feb 7 12:25 Index.4667 -rw-r--r-- 1 news news 0 Feb 7 12:26 Index.4819 /usr/spool/news/maps/tmp: total 0 My sys entry (which doesn't really pertain to this problem, I guess) is: maps:mod.map,world:F:/usr/spool/news/maps/mod.map/Batch Can anyone explain why these two pieces of software don't seem to fit together here? Has anyone else seen this problem? I have included all information I thought might be important. Evelyn C. Leeper (201) 957-2070 UUCP: ihnp4!mtgzy!ecl ARPA: mtgzy!ecl@rutgers.rutgers.edu
root@hobbes.UUCP (02/12/87)
In article <2413@mtgzy.UUCP> ecl@mtgzy.UUCP writes: >I have installed netnews 2.11 with all three (and a half) patches. [...] >[...] I ran "uuhosts -setup" and got messages like the following: >> x - d.att >> /usr/lib/news/mapsh: syntax error at line 1: `(' unexpected >> /usr/lib/news/mapsh: syntax error at line 1: `abflx' unexpected >> ... >> /usr/lib/news/mapsh: syntax error at line 1: `ucbvax' unexpected >> /usr/lib/news/mapsh: !Funky!Stuff!: not found > >I am running UTS SVR2 on an Amdahl. /usr/lib/news/mapsh looks like: > > [ Lots of un-needed stuff deleted ] > >Can anyone explain why these two pieces of software don't seem to fit together >here? Has anyone else seen this problem? I have included all information I >thought might be important. From the above, it looks like: 1) mapsh is a 'shar' file (an archive set up as a Bourne Shell script) - and - 2) your system is trying to use csh to unshar it. The cause may be that you have SHELL=/bin/csh in your environment (do you have a "setenv SHELL /bin/csh" in your .loguin or .cshrc files?) You can change this in one of 2 ways: 1) before doing "uuhosts -setup", type "setenv SHELL /bin/sh" - or - 2) edit /usr/lib/news/mapsh and make sure the first line is: 4.xBSD, or derivations : "#! /bin/sh" System 5, USG, V7, XENIX : ":" These changes force the system to use the Bourne Shell (/bin/sh) to unshar the mapsh file. Hope this helps! Good luck! John
simon@its63b.UUCP (02/13/87)
In article <112@hobbes.UUCP> root@hobbes.UUCP (0000-Admin(0000)) writes: >In article <2413@mtgzy.UUCP> ecl@mtgzy.UUCP writes: >>[...] I ran "uuhosts -setup" and got messages like the following: >>> x - d.att >>> /usr/lib/news/mapsh: syntax error at line 1: `(' unexpected >>> /usr/lib/news/mapsh: syntax error at line 1: `abflx' unexpected >>> ... >>> /usr/lib/news/mapsh: syntax error at line 1: `ucbvax' unexpected >>> /usr/lib/news/mapsh: !Funky!Stuff!: not found >> > >From the above, it looks like: > 1) mapsh is a 'shar' file (an archive set up as a Bourne Shell script) > - and - > 2) your system is trying to use csh to unshar it. > [etc...] > > John I think not, somehow - those error-msgs are Bourne-shell messages. I sounds more like its a shar-file with some junk at the top (ie, someone forgot to remove the header lines at the "-- cut here --" place [or whatever]). Simon. -------------------- Simon Brown Department of Computer Science University of Edinburgh Scotland, UK. "Life's like that, you know..."