Thread View: news.software.nn
3 messages
3 total messages
Started by Richard R Ragan
Thu, 14 Jun 1990 05:50
nn install problems
Author: Richard R Ragan
Date: Thu, 14 Jun 1990 05:50
Date: Thu, 14 Jun 1990 05:50
51 lines
3097 bytes
3097 bytes
I am trying to install nn 6.4 and get it running but I'm having some problems. Having done RTFM and many attempted changes (including some dbx-ing) with little progress, I thought I'd try to see if anyone has any advice/suggestions. Thanks in advance. I am building nn on our MIPS machine and checking it out to save our overworked system administrator some time. Therefore, I am trying to build and run nn from my signon with no super user privileges. From my reading of the documentation this should be possible. I am configuring it for NNTP feed from another machine. This part seems to work because doing an nnmaster -I does build a groups file and the log show communications with the NNTP server taking place. After doing the initialize. I try doing nn and it always reports no news or no messages at all. Running nnadmin on a group that I have just asked nnmaster to collect articles for (the log says it did some) and selecting (G)roup followed by (D)ata tells me that it is INVALID. My problem seems to revolve around the ~/spool/news/xxxxx directories. nnadmin and nn seem to be trying to read data files (.nnx and .nnd) in directories corresponding to the group components (i.e. ~/spool/news/alt/sources/.nnx). Firstly, the directories corresponding to the group parts don't seem to be getting created (surely I don't have to do this manually) and even if do create them manually the .nnx and .nnd files remain missing. Maybe I'm confused but I thought the /spool/news/xxxx files all resided on the server rather than the client. I could use some enlightenment on how this part is meant to work. It's possible I configured things wrong somewhere. Regarding the installation documentation "make install" and "make initdb" just don't seem to work on my copy. They get as far as the make on ymakefile and then make can't find install or initdb. Another problem is that the portion of inst INIT that puts in the manuals blows off in awk with an error on line 35. I haven't worried much about that part yet. So far I have not installed patches 1-4 because I figured I could get it up and basically running before applying these. Any ideas would be gratefully welcomed. Richard R. Ragan Control Data Corporation Silicon Valley Operations (408) 496-4340 rrr@hare.udev.cdc.com Richard R. Ragan (408) 496-4340 Control Data Corp., Silicon Valley Operations
Re: nn install problems
Author: Rob Kurver
Date: Thu, 14 Jun 1990 15:10
Date: Thu, 14 Jun 1990 15:10
44 lines
2749 bytes
2749 bytes
In <22411@shamash.cdc.com> rrr@hare.udev.cdc.com (Richard R Ragan) writes: >My problem seems to revolve around the ~/spool/news/xxxxx >directories. nnadmin and nn seem to be trying to read >data files (.nnx and .nnd) in directories corresponding >to the group components (i.e. ~/spool/news/alt/sources/.nnx). >Firstly, the directories corresponding to the group >parts don't seem to be getting created (surely I don't >have to do this manually) and even if do create them >manually the .nnx and .nnd files remain missing. Maybe >I'm confused but I thought the /spool/news/xxxx files >all resided on the server rather than the client. I >could use some enlightenment on how this part is meant >to work. It's possible I configured things wrong somewhere. I had the same problem initially. After reading the source code, manual, doc etc. for 3 (!) days, I discovered that I had misinterpreted part of the configuration. From the config.h file, DATABASE CONFIGURATION, about the DB_DIRECTORY: * You should also be careful not to specify a database directory * if you access news via NNTP - you may not have the proper directories * on your local system. However, it is probably ok anyway if nnmaster * runs on the nntp server. I took this to mean I should NOT define DB_DIRECTORY (I must be careful not to specify DB_DIRECTORY if I use NNTP; I use NNTP; therefore, I'm very careful NOT to specify it). Wrong! You MUST define DB_DIRECTORY to something like "/usr/spool/nn" if you're using NNTP and don't have the news spool directory on your local system. Perhaps the wording of this part of the config file could be improved a bit? /*************************** NEWS TRANSPORT ************************** >Richard R. Ragan Control Data Corporation >Silicon Valley Operations (408) 496-4340 rrr@hare.udev.cdc.com >Richard R. Ragan (408) 496-4340 >Control Data Corp., Silicon Valley Operations -- Rob Kurver rob@dutncp9.tudelft.nl Computational Physics Group rob@pact.UUCP Faculty of Applied Physics, Delft University of Technology
Re: nn install problems
Author: Kim F. Storm
Date: Wed, 20 Jun 1990 22:34
Date: Wed, 20 Jun 1990 22:34
36 lines
2075 bytes
2075 bytes
>In <22411@shamash.cdc.com> rrr@hare.udev.cdc.com (Richard R Ragan) writes: >>nnadmin and nn seem to be trying to read >>data files (.nnx and .nnd) in directories corresponding >>to the group components (i.e. ~/spool/news/alt/sources/.nnx). Which do not exist when accessing news via NNTP - and thus nn needs DB_DIRECTORY to be defined. rob@dutncp9.TUDELFT.NL (Rob Kurver) writes: >I discovered that I had misinterpreted part of the configuration. >Perhaps the wording of this part of the config file could be improved a >bit? Yes the instructions for DB_DIRECTORY and NNTP in config.h were indeed misleading. I must have been in "broken Danish mode" when I wrote it. I have already fixed it in patch #4. The new explanation is as follows: * If you access news via NNTP, you will probably always have to * give the database directory explicitly through DB_DIRECTORY * (and DB_DATA_DIRECTORY), since the normal news spool directories * are probably not available on the local system. * The exception may be if nnmaster runs directly on the nntp server. The lesson to be learned from this: Apply all patches you can get hold of before beginning the installation (the above change is made in config.h-dist, so if you already created config.h, you will not see the corrected instructions). Sorry to have caused you so many headaches. -- Kim F. Storm <storm@texas.dk> No news is good news, Texas Instruments A/S, Denmark but nn is better!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads