home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dnew54c3.zip / DNEWSFAQ.TXT < prev    next >
Text File  |  1996-07-27  |  33KB  |  996 lines

  1.                             
  2.                             
  3.                             
  4.                         DNEWS FAQ
  5.                             
  6.                             
  7.               (Frequently Asked Questions)
  8.                             
  9. GENERAL INFORMATION
  10. 1.1 THE FTP SITE
  11. 1.2 WHY IS A SUCKING FEED SO GREAT?
  12. 1.3 WHERE ARE THE LOG FILES?
  13. 1.4 WHERE IS DNEWS.CONF?
  14. 2.0 GENERAL "HOW DO I" QUESTIONS.
  15. 2.1 HOW DO I LIMIT USER ACCESS TO THE SERVER
  16. 2.2 HOW DO SET MY LOCAL GROUPS SO THEY WON'T EXPIRE
  17. 2.3 CREATING LOCAL NEWS GROUPS
  18. 2.4 CAN I RESTORE SOME NEWS FILES (*.ITM, *.IDX) FROM
  19. TAPE?
  20. 2.5 HOW DO I MOVE THE SPOOL AREA TO A BIGGER DISK
  21. 2.6 HOW DO I MAKE THE UPDATES RUN ONLY AT NIGHT
  22. 2.7 HOW DO I TEST THE SERVER USING TELNET
  23. 2.8 HOW DO I SUCK FROM A TWO SITES AT ONCE
  24. 2.9 HOW CAN I CUT OUT SPAMMING (CROSS POSTS)
  25. 2.10 HOW CAN I MAKE XOVER FASTER?
  26. 2.11 HOW DO I RENAME A VOLUME ON UNIX
  27. 3.0 COMMON CONFIGURATION QUESTIONS
  28. 3.1 HOW DO I SETUP DNEWS TO TAKE IN A `NORMAL' NNTP -
  29. IHAVE FEED
  30. 3.2 HOW DO I SETUP DNEWS TO TAKE AN IHAVE FEED FROM 5
  31. MACHINES BUT ONLY SEND BACK TO ONE.
  32. 3.3 HOW DO I SETUP XMIT TO SEND TO OTHER SITES
  33. 3.4 WHAT FILES CAN I COPY FROM AN INN OR CNEWS SYSTEM
  34. 4.0 I DID SOMETHING STUPID, CAN I FIX IT?
  35. 4.1 I DELETED SOME ITEM FILES BY HAND, IS THAT OK?
  36. 4.2 I DELETED THE HISTORY.DAT FILE, IS THAT OK?
  37. 5.0 ERRORS & PROBLEMS
  38. 5.1 LARGE MESSAGES & MEMORY USE.
  39. 5.2 I'M NOT GETTING ANY BINARY GROUPS, WHY NOT?
  40. 5.3 MY NEWS READER SAYS THE NEWSGROUPS DON'T EXIST?
  41. 5.4 I DON'T KNOW IF POSTS ARE WORKING?
  42. 5.5 I'M STILL NOT CONVINCED MY POSTS ARE GETTING TO THE
  43. OTHER SIDE OF THE PLANET?
  44. 5.6 I HAVE AN OLD FASHIONED FEED COMING IN BUT I'M NOT
  45. GETTING ANY ITEMS?
  46. 5.7 WHAT SHOULD I DO NOW THAT I'VE DELETED HISTORY.DAT
  47. 5.8 NETSCAPE SHOWS ITEMS BUT I CAN'T READ THEM, WHY?
  48. 5.9 WHY DOESN'T THE STATUS REPORT MATCH ACTUAL DISKSPACE
  49. USED?
  50. 5.10 DNEWS GOES VERY SLOW WHEN USERS CONNECT
  51. 5.11 MY SYSTEM RUNS OUT OF MEMORY?
  52. 5.12 DNEWS GOES VERY SLOW
  53. 5.13 DNEWS LOCKS UP FOR BRIEF PERIODS (OR PERMANENTLY)
  54. 5.14 DNEWS CRASHES
  55. 5.15 TELLNEWS SAYS CAN'T BIND?
  56. 5.16 TELLNEWS FAILS OR LOCKS UPS
  57. 5.17 TELLNEWS SAYS REMOTE NODE IS UNKNOWN
  58. 5.18 TELLNEWS SAYS "CANNOT ACCESS TELLNEWS.PASS"
  59. 5.19 I SEE ERRORS "NNTP, SORRY I CAN'T TALK TO YOU" IN
  60. THE LOG FILE?
  61. 5.20 WHAT DOES "TRANSFER PERMISSION DENIED" MEAN?
  62. 6.0 I STILL CAN'T FIGURE IT OUT, HOW CAN I GET HELP?
  63. 6.1 DNEWS MAILING LIST
  64. 6.2 TO SUBSCRIBE TO THE DISCUSSION LIST SEND TO:
  65. 6.3 TO SUBSCRIBE TO THE ANNOUNCEMENT LIST
  66.  
  67.  
  68. General Information
  69.  
  70. 1.1 The FTP site
  71.    You can FTP the latest copy of the files from our
  72.    main ftp site, their are binaries for common
  73.    platforms (Windows NT (intel & Alpha), Linux,
  74.    Solaris, VAXVMS, ALPHAVMS.
  75.    
  76.       ftp ftp.std.com
  77.       cd /ftp/vendors/netwin/dnews
  78.       binary
  79.       get dnews23a.exe  (Windows NT version 2.3a)
  80.       
  81.    This is a self extracting archive, that means you
  82.    just run dnews_nt.exe and it will extract itself ,
  83.    e.g.
  84.    
  85.       dnews23a.exe   (extracts the new files to \tmp)
  86.       cd \tmp
  87.       install.cmd  (or newver.cmd if you already have
  88.       dnews      installed)
  89.    
  90.    
  91.    Use the following references to see our web pages
  92.    and ftp area.
  93.    
  94.       http://world.std.com/~netwin
  95.       ftp://ftp.std.com/ftp/vendors/netwin/dnews
  96.       
  97.  
  98. 1.2 Why is a sucking feed so great?
  99.    A sucking feed has several advantages, not all
  100.    obvious.
  101.    
  102. Disk space and line usage
  103.    This is the most obvious advantage, you may only
  104.    end up getting a couple of hundred groups, possibly
  105.    saving 80% of your disk space and 80% of your
  106.    network bandwidth.  A 64Kbps line isn't enough to
  107.    take a full news feed, but with a sucking feed it
  108.    is easily enough to give the `impression' of a full
  109.    news feed.
  110.    
  111. More items in `low use' groups
  112.    More items in `read' groups: As disk space is
  113.    saved, it becomes very easy to keep 1 or 2 weeks of
  114.    news (or more) in the groups people actually want,
  115.    most full feed systems can only store a few days of
  116.    news in each group.
  117.    
  118. Efficient file IO
  119.    As items are fetched for one group at a time, most
  120.    file IO is to a single open file, this is a lot
  121.    more efficient that the standard news system of
  122.    getting items in a `random' order.  This efficiency
  123.    is more significant on operating systems with
  124.    slower file systems, e.g. Windows NT and VMS.
  125.    
  126. Low impact on upstream site
  127.    DNEWS does not use the `newnews' command which all
  128.    news managers hate, it uses low impact commands to
  129.    find the new messages and retrieve them without
  130.    accessing the history database on the upstream
  131.    server.  As so much fewer articles are fetched the
  132.    overall load is greatly reduced.  The exact load
  133.    depends on how many groups are being sucked.
  134.    
  135. Easy configuration on upstream site
  136.    On the upstream site, instead of setting up and
  137.    managing a feed, something which is difficult to do
  138.    and tends to require almost constant maintenance,
  139.    all that is required is to give your system simple
  140.    `news reader' access.
  141.    
  142.  
  143. 1.3 Where are the log files?
  144.   Look in dnews.conf for the symbol LOG_DIR, this will
  145.   tell you which directory to find them in, there are
  146.   three files:
  147.   
  148.       dnews.log The main log file
  149.       dnews.in  A one line log of each message that came
  150.       in
  151.       dnews.out A one line log of each item dnews sent
  152.       out.
  153.   
  154.   
  155.   The file dnews.log contains .in and .out messages as
  156.   well.  By default the logging level is set to INFO,
  157.   you can set it in dnews.conf to one of,
  158.   error,warn,info,debug.  E.g.:
  159.   
  160.       loglvl warn
  161.   In debug mode all error messages are sent to the log
  162.   file, in info mode only error,warn and info messages
  163.   are printed.  In warn mode only error and warn
  164.   messages are sent, and in error mode only serious
  165.   errors are printed to the log file.
  166.   
  167.   Every night, or if the log files get more than
  168.   DEBUG_ROTATE lines in them the files are rotated
  169.   like this:
  170.   
  171.       dnews.log -> dnews.log2 ->dnews.log3 ->dnews.log4 -
  172.       >(deleted)
  173.  
  174. 1.4 Where is dnews.conf?
  175.    This is the main configuration file, and you can't
  176.    move it from it's built in directory which is:
  177.    
  178.       Windows NT     /winnt35/system32/dnews.conf (system
  179.       dir)
  180.       Unix      /etc/dnews.conf
  181.    
  182.    
  183.    All other configuration files will be in the config
  184.    directory defined in dnews.conf
  185.    
  186.  
  187. 2.0 General "How do I" questions.
  188.  
  189. 2.1 How do I limit user access to the server
  190.    You can limit user access to the server by username
  191.    and password and by group, to do this you need to
  192.    edit access.conf.  This file is both tricky in it's
  193.    syntax and order sensitive, but quite powerful.
  194.    
  195.    Note that the netscape news reader does not
  196.    currently implement usernames and passwords so you
  197.    will need to make your users use a proper news
  198.    reader :-)
  199.    
  200.    Here is a simple access.conf where you only allow
  201.    users in your domain with ip names and you only let
  202.    them connect using usernames and passwords:
  203.    
  204.       # By default don't let anyone even connect
  205.       *:::!*
  206.       # Let people in my domain connect long enough to
  207.       send a username/password
  208.       pc*.here.edu:read:::!*
  209.       # Here are the individual users and their passwords
  210.       pc*.here.edu:read,post:joe:joespassword:*
  211.       pc*.here.edu:read,post:alice:alicespassword:*
  212.       pc*.here.edu:read,post:jack:jackspassword:*
  213.       
  214.    Here is a second example, where we want to stop joe
  215.    from posting to the group local.rules, but he can
  216.    read it ok still.
  217.    
  218.       # By default don't let anyone even connect
  219.       *:::!*
  220.       # Let people in my domain connect long enough to
  221.       send a username/password
  222.       pc*.here.edu:read:::!*
  223.       # Here are the individual users and their passwords
  224.       pc*.here.edu:read:joe:joespassword:*
  225.       pc*.here.edu:read,post:joe:joespassword:*,!local.ru
  226.       les
  227.  
  228. 2.2 How do set my local groups so they won't expire
  229.    At the end of your expire.conf file add a line like
  230.    this:
  231.    
  232.       upto 1000% groups local.* keep 999 minitems 10000
  233.       maxitems 100000
  234.    
  235.    
  236.    This will keep all items in the local group for 999
  237.    days, and even then will keep at least 10000 items
  238.    but will expire items if more than 100000 items are
  239.    in the group.
  240.    
  241.  
  242. 2.3 Creating local news groups
  243.   If you wish to have local groups on your server,
  244.   that are not on the server you 'suck' from, then you
  245.   should remove the 'POSTING' flag from the feed to
  246.   your feeder site (in newsfeeds.conf).  But only if
  247.   you can get ihave (or transfer permission) to send
  248.   articles up stream rather than simple 'posting'
  249.   access.
  250.   
  251.   You can still have local groups if you can't get
  252.   ihave access, it's just not the `recommended' setup.
  253.   
  254.   You can add groups with the TELLNEWS NEWGROUP
  255.   command, e.g.
  256.   
  257.       tellnews newgroup here.chat y myname Local group
  258.       
  259.       here.chat = name of group
  260.       y = Normal group (m = moderated)
  261.       myname = A record of who created the group (one
  262.       word)
  263.       Local group = description for active.names file.
  264.   
  265.   
  266.   To stop your local group from being sent up stream,
  267.   you would change the line in your newsfeeds.conf
  268.   file:
  269.   
  270.       groups *,!here.chat,!here.secret.*
  271.   NOTE: KNOWN BUG, with version 2.0 items will still
  272.   be sent upstream if  you have left the 'POSTING'
  273.   keyword in your feed.  This will probably be fixed
  274.   in a future version.  (ofcourse this isn't a major
  275.   problem unless the items are very secret as your
  276.   upstream site will probably just reject them anyway)
  277.   
  278.  
  279. 2.4 Can I restore some news files (*.itm, *.idx) from
  280. tape?
  281.       You have restored part of a database, to merge this
  282.       new stuff into the indexes use:
  283.       tellnews addlost
  284.   Which will scan the entire database and rebuild the
  285.   history file.  This could take 12 hours or more to
  286.   run on 4 Gig of news.
  287.   
  288.  
  289. 2.5 How do I move the spool area to a bigger disk
  290.    First shutdown DNEWS:
  291.    
  292.       tellnews exit
  293.    Then move the entire SPOOL tree structure from it's
  294.    current place to it's new place, for example on NT
  295.    you might use file manager to move
  296.    
  297.       c:\dnews\spool...        to   e:\dnews\spool...
  298.       
  299.    Change the definition of SPOOL in DNEWS.CONF
  300.    
  301.       NOTEPAD \winnt35\system32\dnews.conf
  302.       spool     e:\dnews\spool
  303.       
  304.    Restart DNEWS:
  305.    
  306.       (NT) Control Panel, Services, Start
  307.       (UNIX)    su root; dnews_start.sh
  308.  
  309. 2.6 How do I make the updates run only at night
  310.    Updates for a sucking feed normal run once every
  311.    ten minutes, this is controlled in DNEWS.CONF with
  312.    the command
  313.    
  314.       update_at *5 *
  315.    This "*5" tells dnews to do an update whenever the
  316.    minutes end in a digit `5' and the second "*" tells
  317.    it to do updates during any hour.
  318.    
  319.    To do one update a night at 5 past 2 in the morning
  320.    you would use:
  321.    
  322.       update_at 5 2
  323.    To do updates every 10 minutes from 6p.m. to 8a.m.
  324.    you would use:
  325.    
  326.       update_at *5 18-8
  327.  
  328. 2.7 How do I test the server using TELNET
  329.    NNTP is a text based protocol, this means you can
  330.    test it, and even read news without any software,
  331.    just by using telnet and typing in commands by
  332.    hand, this is not a seriously good way to read
  333.    news, but it is a very good way to test your own
  334.    server or your feeding server:
  335.    
  336.       NT   Accessories, Telnet, Connect, Remote Service
  337.            Enter the feeder.site and under PORT type in
  338.       NNTP
  339.            Under Terminal Preferences turn ECHO on
  340.            Press Control J to end lines instead of ENTER
  341.       VMS  $ telnet feeder.site /port=119
  342.       UNIX > telnet feeder.site 119
  343.       
  344.       Type in this sequence of commands to read an
  345.       article by hand:
  346.            group comp.os.vms   (select a group)
  347.            head           (display the header)
  348.            body           (display the body)
  349.            next           (next item please)
  350.            help           (show valid commands)
  351.            quit           (exit the connection)
  352.  
  353. 2.8 How do I suck from a two sites at once
  354.    I'm sorry,the bad news is you can't with  the
  355.    current release of dnews, although check the
  356.    install.txt file as this feature may be added by
  357.    the time you read this.
  358.    
  359.    Until then, you can suck from one site and take a
  360.    feed from a second site, generally suck from the
  361.    `large' site and take the feed to get the few
  362.    additional local groups you need.
  363.    
  364.    To do this just setup the system to suck as usual,
  365.    but then add a line to access.conf to allow your
  366.    secondary feed to come in, e.g.:
  367.    
  368.       other.feed.machine:ihave:::*
  369.    
  370.    
  371.    You may need to set those other groups to `cached'
  372.    
  373.       tellnews cached local.groups.* 999
  374.       
  375.  
  376. 2.9 How can I cut out spamming (cross posts)
  377.   Spamming, is where people cross post to hundreds of
  378.   news groups with information which is not relevant
  379.   to the content of the news group.  e.g. advertising
  380.   pyramid schemes etc...
  381.   
  382.   Cross posting is a neat idea but enormously abused
  383.   mechanism,  you can limit the abuse by rejecting
  384.   items that are crossposted to more than `n' groups,
  385.   a value of 5-10 would seem reasonable to me.  The
  386.   default is 100 for DNEWS.
  387.   
  388.   You can chage the limit in newsfeeds.conf under the
  389.   ME settings
  390.   
  391.  
  392. 2.10 How can I make XOVER faster?
  393.   By default DNEWS caches the last 200 item headers
  394.   that it has read, if you have spare memory then it
  395.   is well worth increasing this value:   The upper
  396.   limit is 9000, at approx 3K per header this would
  397.   use about 27MB, but a value of  2000 would use 6MB
  398.   which most systems could easily deal with.  In
  399.   DNEWS.CONF
  400.   
  401.       HEAD_CACHE 2000
  402.       
  403.  
  404. 2.11 How do I rename a volume on UNIX
  405.   You may wish to rename a current volume
  406.   /var/spool/news to be /var/spool/dnews, to do this:
  407.   
  408.            cd /var/spool/news
  409.            mkdir OLD
  410.            mv * OLD
  411.            umount /var/spool/news
  412.            emacs /etc/vfstab (or /etc/fstab)
  413.                 (change /news into /dnews)
  414.            mount /var/spool/dnews
  415.   
  416.   
  417.   When you are happy with the new system, or you need
  418.   the space:
  419.   
  420.            rm -r /var/spool/dnews/OLD
  421.  
  422. 3.0 Common Configuration Questions
  423.  
  424. 3.1 How do I setup DNEWS to take in a `normal' NNTP -
  425. IHAVE feed
  426.   In access.conf, give your feed site access to send
  427.   you ihave messages:
  428.   
  429.            my.feeder.site.com:ihave:::*
  430.       
  431.   In dnews.conf, comment out the nntp_feeder
  432.   definition.
  433.   
  434.   In newsfeeds.conf, replace:
  435.   
  436.                 site $NNTP_FEEDER
  437.                      groups *
  438.                      builtin
  439.                      posting
  440.   With:
  441.   
  442.                 site my.feeder.site
  443.                      groups *
  444.                      builtin
  445.   And in dnews.conf add a line:
  446.   
  447.       cachedall true
  448.   
  449.   
  450.   (Also see the section on copying files from an
  451.   existing INN or CNEWS system)
  452.   
  453.  
  454. 3.2 How do I setup DNEWS to take an ihave feed from 5
  455. machines but only send back to one.
  456.   Lets assume you have been told you will get a feed
  457.   from any or all of:
  458.   
  459.       news1.xxx.net
  460.       news2.xxx.net
  461.       news3.xxx.net
  462.       news4.xxx.net
  463.   And you have also been told to send your feed back
  464.   to
  465.   
  466.       newsup.xxx.net
  467.   And after examining the PATH header in a news item
  468.   from your upstream feed you have seen that they
  469.   stamp all incoming messages with the name
  470.   `news_stamp.xxx.net'
  471.   
  472.   Then you would setup access.conf and newsfeeds.conf
  473.   like this:
  474.   
  475.       news1.xxx.net:ihave:::*
  476.       news2.xxx.net:ihave:::*
  477.       news3.xxx.net:ihave:::*
  478.       news4.xxx.net:ihave:::*
  479.   
  480.   
  481.   And you would setup newsfeeds.conf like this:
  482.   
  483.       site me
  484.            groups *
  485.       
  486.       site newsup.xxx.net
  487.            groups *
  488.            builtin
  489.            exclude news_stamp.xxx.net
  490.       
  491.       site your.mail.gatewway
  492.            smtp
  493.  
  494. 3.3 How do I setup XMIT to send to other sites
  495.    If you have more than one large feed coming into
  496.    your site, then you should use XMIT to send to all
  497.    sites and NOT use the builtin feeding system at
  498.    all,  (see the keyword builtin above, remove it!!)
  499.    The builtin feeder will not run fast enough to
  500.    `pass through' large feeds so you must use the XMIT
  501.    feeder in all directions.  (Leaf sites can still
  502.    use a sucking feed quite safely as this is also
  503.    very efficient)
  504.    
  505.    The XMIT feeder is a high speed, auto configuring
  506.    streaming feeder with built in scheduling, so you
  507.    don't need to use CRON or anything else tricky like
  508.    that.
  509.    
  510.    First add entries to your NEWSFEEDS.CONF file, this
  511.    creates the .feed file that XMIT will use:
  512.    
  513.       NOTEPAD newsfeeds.conf
  514.            site other.site.here.com
  515.                 groups *
  516.    Now modify your startup procedure to run the xmit
  517.    job for each feed you have defined in
  518.    newsfeeds.conf
  519.    
  520. Adding XMIT to Windows NT Services (startup)
  521.    On windows NT you need to setup each xmit job as a
  522.    service, to do this use the program ADDSVC.EXE
  523.    which came with the dnews distribution to add a
  524.    service for each outgoing feed, e.g. (notepad
  525.    setupsvc.cmd and then run it to create the feeds)
  526.    
  527.       addsvc -add dxmit1 xmit.exe "dxmit1 site.name.edu -
  528.       at *5 *"
  529.       addsvc -add dxmit2 xmit.exe "dxmit2 site2.name.edu
  530.       -at *5 *"
  531.    
  532.    
  533.    Then from CONTROL PANEL, SERVICES, and start the
  534.    feed(s).
  535.    
  536. Adding XMIT to UNIX startup
  537.    Add lines to your dnews_start.sh procedure, e.g.
  538.    
  539.       cd /usr/local/dnews
  540.       ./xmit send.to.site.name -at "*2" "*"
  541.       ./xmit send.other.site.name -at "*7" "*"
  542. Adding XMIT to VMS startup
  543.         Modify RUNXMIT.COM and add it to
  544.    dnews_start.com
  545.    
  546.  
  547. 3.4 What files can I copy from an INN or CNEWS system
  548.   This is not necessary, but if you are replacing a
  549.   system then there are some files that you may want
  550.   to preserve so that news.rc files are not `too'
  551.   confused by the new system.
  552.   
  553.   You can safely copy these files:
  554.   
  555.            active         -> active.dat
  556.            active.times   -> active.times
  557.            newsgroups     -> active.names  (may be
  558.       changed in future)
  559.   
  560.   
  561.   If you copy the active file, you must reset DNEWS
  562.   with this special manager command:
  563.   
  564.            tellnews resetall
  565.  
  566. 4.0 I did something stupid, can I fix it?
  567.  
  568. 4.1 I deleted some item files by hand, is that ok?
  569.   This is like editing a database with a binary editor
  570.   and removing a few records by hand, it is not a good
  571.   idea :-(
  572.   
  573.   However, DNEWS is written for people just like you,
  574.   the database will correct itself with a little luck.
  575.   :-)
  576.   
  577.   Please do not edit an item file and remove
  578.   individual items or change them, this will corrupt
  579.   the database and the items will simply dissappear.
  580.   
  581.  
  582. 4.2 I deleted the history.dat file, is that ok?
  583.    No, it's not.  You need to do this, type in:
  584.    
  585.       tellnews addlost
  586.       
  587.    And cross your fingers and wait until the addlost
  588.    finishes (it could take a few hours on a full feed
  589.    system.
  590.    
  591.  
  592. 5.0 Errors & Problems
  593.  
  594. 5.1 Large messages & Memory Use.
  595.   Unless you have infinite memory on your system then
  596.   it is necessary to limit the size of messages that
  597.   can be processed.  This also saves a lot of wasted
  598.   bandwidth and disk space for you and every other
  599.   news system.  DNEWS limits messages to 1MB by
  600.   default, (a fairly generous limit considering many
  601.   news readers still die horribly with messages
  602.   greater than 64K and anything bigger than this
  603.   should not be sent via news but should be put on an
  604.   FTP/WEB site and a pointer to it should be sent)
  605.   
  606.   To deal with messages of size 1MB dnews needs about
  607.   6MB of memory, so if you are short of memory you may
  608.   want to reduce this.  To limit messages to 100k you
  609.   would add a line in DNEWS.CONF
  610.   
  611.       ITEM_MAX 100000
  612.   (this setting is not dynamic, you must restart
  613.   DNEWS)
  614.   
  615.  
  616. 5.2 I'm not getting any binary groups, why not?
  617.    The default configuration file (newsfeeds.conf)
  618.    that comes with DNEWS excludes all binary groups.
  619.    In my opinion these groups should not exist, they
  620.    are a left over from the days before FTP and WEB
  621.    and even EMAIL, so that news was the only option,
  622.    now it is much more appropriate to post pointers to
  623.    large files, rather than the file itself.
  624.    
  625.    Anyway, you or your users demand it, to fix the
  626.    problem edit your newsfeeds.conf file and remove
  627.    the !*binary* from the `ME' feed.
  628.    
  629.    Then use the commands:
  630.    
  631.       tellnews undelete *binary*
  632.       tellnews matchfeed
  633.       
  634.  
  635. 5.3 My news reader says the newsgroups don't exist?
  636.   Check access.conf, you might have access to get in,
  637.   but no access to read the news groups so they will
  638.   appear empty or give `no such newsgroup' errors.
  639.   
  640.  
  641. 5.4 I don't know if posts are working?
  642.   There are two main reasons for posts to fail:
  643.   
  644.   1.   You've messed up your newsfeeds.conf file.
  645.     
  646.   2.   Your provider is not allowing you to send messages
  647.     via `ihave'
  648.     
  649.   Follow these instructions to figure out where the
  650.   error is:
  651.   
  652.   
  653.   
  654.   Post an item to some local TEST news group, e.g.
  655.   nz.test, then check the file DNEWS.OUT, this should
  656.   give one line per message sent `out' of your system,
  657.   if this file is empty, or gives an error, first
  658.   consider if the error is from DNEWS or if it is from
  659.   the site you are sending items to.    Second, look
  660.   in dnews.log, search for "out:" once you've found
  661.   the failure message you will probably find more
  662.   clues just above or below it as to what went wrong.
  663.   
  664.  
  665. 5.5 I'm still not convinced my posts are getting to the
  666. other side of the planet?
  667.   Post an item to alt.test, you should receive 10-15
  668.   messages from news robots all over the world.
  669.   
  670.  
  671. 5.6 I have an old fashioned feed coming in but I'm not
  672. getting any items?
  673.   There are two main reasons for incoming feeds to
  674.   fail:
  675.   
  676.   1.   You've messed up your access.conf file (or your DNS
  677.     does not work)
  678.     
  679.   2.   Your provider has not successfully setup the feed.
  680.     
  681.   In case 1), first try letting everyone in by putting
  682.   a wildcard access line at the bottom of access.conf
  683.   
  684.       *:read,post,ihave:::*
  685.       tellnews reload
  686.   Then check the log files, or use tellnews status,
  687.   and you will see the name and number of any machine
  688.   sending you IHAVE messages,  (in the list of
  689.   connected channels)  put this name in access.conf.
  690.   
  691.   If tellnews status shows the number twice, but no
  692.   name, then your DNS is not working, use numbers in
  693.   the access.conf file instead or fix your DNS.
  694.   
  695.  
  696. 5.7 What should I do now that I've deleted history.dat
  697.   First I advise you not to play with guns because you
  698.   are in danger of shooting yourself in the foot.
  699.   
  700.   Before restarting dnews, delete history.idx and
  701.   history.dat, and then start dnews and type:
  702.   
  703.       tellnews addlost
  704.   Which will scan the entire database and rebuild the
  705.   history file.  This could take 12 hours or more to
  706.   run on 4 Gig of news.
  707.   
  708.  
  709. 5.8 Netscape shows items but I can't read them, why?
  710.   This means the item is missing from the history
  711.   database, this should never happen, but since it
  712.   has, try this command:
  713.   
  714.       tellnews addlost
  715.   Which will scan the entire database and rebuild the
  716.   history file.  This could take 12 hours or more to
  717.   run on 4 Gig of news.
  718.   
  719.  
  720. 5.9 Why doesn't the status report match actual diskspace
  721. used?
  722.   DNEWS maintains an internal count of free disk
  723.   space, this can be wrong, or possibly your setting
  724.   for `diskspace' in dnews.conf could be wrong.
  725.   Decide which is wrong, either fix the number in
  726.   dnews.conf or use the `setused' command to change
  727.   the internal count, e.g. to set the used value to
  728.   950MB, type in:
  729.   
  730.       tellnews setused 950
  731.   Then wait 2 minutes and do another:
  732.   
  733.       tellnews status
  734.  
  735. 5.10 DNEWS goes very slow when users connect
  736.   Check your DNS is working, try putting
  737.   
  738.       nodns true
  739.   In dnews.conf, and fix access.conf to use numbers
  740.   then type:
  741.   
  742.       tellnews reload
  743.   Then see if that speeds things up,  if it does then
  744.   your DNS is faulty.
  745.   
  746.  
  747. 5.11 My system runs out of memory?
  748.   First check your pagefile settings, for a full feed
  749.   you will need about 120MB of pagefile on Windows NT.
  750.   
  751.   See the section on large news messages.
  752.   
  753.   Send the output of tellnews status to the mailing
  754.   list or NetWin and ask for comments.
  755.   
  756.  
  757. 5.12 DNEWS goes very slow
  758.   Check your DNS is working.
  759.   
  760.   Type in:
  761.   
  762.   tellnews stats
  763.   
  764.   (not status)
  765.   
  766.   This gives a listing of NNTP commands and how long
  767.   dnews is spending on each one, this will show if one
  768.   command is slow, and also if one command is being
  769.   used more than is reasonable.  Also consider adding
  770.   memory.
  771.   
  772.   Send the output of tellnews stats and status to the
  773.   mailing list or NetWin for further suggestions.
  774.   
  775.   Consider installing more memory or a faster disk
  776.   drive.
  777.   
  778.   If the xover command is using most of the time then
  779.   consider increasing the buffering of headers.  (see
  780.   dnews.conf options)
  781.   
  782.  
  783. 5.13 DNEWS locks up for brief periods (or permanently)
  784.   Panic!
  785.   
  786.   Check the log file dnews.log, work out from the time
  787.   stamps what dnews was doing when it locked up.
  788.   
  789.   This can happen if you run an expire while lots of
  790.   people are trying to use the system or while an
  791.   ihave feed is sending stuff in.
  792.   
  793.   Use the tellnews stats command, this will also point
  794.   to commands which are taking too long to process for
  795.   some reason.
  796.   
  797.   Check your DNS and also that site you are sucking
  798.   from is working and it's news server is working,
  799.   either of these can cause a problem.  If the site
  800.   you suck from is down for a few hours, you may have
  801.   to remove the feeder line from dnews.conf until it
  802.   is up again.  (normally you won't have to do this,
  803.   it's just a thing to watch for)
  804.   
  805.  
  806. 5.14 DNEWS Crashes
  807.   Check the end of the file dnews.log, the only partly
  808.   acceptable reason for a crash is if DNEWS runs out
  809.   of memory, if the errors indicate this then see the
  810.   section on memory problems above.
  811.   
  812.   If it gives an error `signal xxx causing exit' then
  813.   set the debugging level to `debug', if the log files
  814.   just ends suddenly, then set the debug level to
  815.   `flush'
  816.   
  817.       loglvl debug           (or flush)
  818.       debug_rotate 3000
  819.   Now next time it crashes email the last few hundred
  820.   lines of dnews.log to NetWin.  We really don't
  821.   accept crashes as acceptable behaviour and will go
  822.   to some extreme lengths to fix this sort of problem.
  823.   
  824.  
  825. 5.15 TELLNEWS says Can't BIND?
  826.    Can't BIND, and tellnews says "I can't talk to you"
  827.    when you telnet to the port.
  828.    
  829.    On LINUX the slackware distribution comes with a
  830.    dummy nntp daemon installed, you must remove this
  831.    so dnews can bind to the socket.
  832.    
  833.            edit /etc/inetd.conf
  834.            (comment out the NNTP line)
  835.            kill -HUP <pid of inetd process>
  836.  
  837. 5.16 TELLNEWS fails or locks ups
  838.         The DNEWS process may take 1-2 minutes to
  839.    initialize, so wait a bit before panicking.
  840.    
  841.         Check if the process is running
  842.    
  843.            ps -axl | grep dnews     (linux)
  844.            ps -ef | grep dnews (SunOS)
  845.         Check the log files
  846.    
  847.            more /usr/local/dnews/dnews.log
  848.    
  849.    
  850.    On UNIX if it gets started up with the wrong PID
  851.    you will get all sorts of protection problems,  all
  852.    the files in:
  853.    
  854.              /var/spool/dnews/...  (including
  855.    var/spool/dnews)
  856.    
  857.    must be owned by the same user, normally 'news'.
  858.    Also all the files in:
  859.    
  860.              /var/local/dnews/*
  861.    
  862.    Also on UNIX it is possible to start dnews twice,
  863.    this can cause real disasters, always check with ps
  864.    and by looking at the log before restarting DNEWS.
  865.    
  866.  
  867. 5.17 TELLNEWS says remote node is unknown
  868.    Check the myname variable in DNEWS.CONF, also check
  869.    your DNS is working, if its isn't then use the
  870.    number in dnews.conf
  871.    
  872.    On VMS, if the symbol tellnews is not defined, it
  873.    will try and run telnet instead, this can be
  874.    confusing.  You may have to log in again to get the
  875.    symbol, or if you forgot to put it in your sylogin:
  876.    script then you will have to do so, e.g.:
  877.    
  878.         $ tellnews :== $dnews_top:tellnews
  879.    
  880.  
  881. 5.18 TELLNEWS says "Cannot access tellnews.pass"
  882.    For some reason tellnews cannot find it's
  883.    configuration files, on NT this could be caused by
  884.    a file protection problem or more likely if the
  885.    disk drive letter was not specified in the
  886.    configuration file DNEWS.CONF.
  887.    
  888.    On VMS and UNIX you must be running the tellnews
  889.    command from the usercode ROOT or NEWS or
  890.    NEWS$SERVER.
  891.    
  892.  
  893. 5.19 I see errors "NNTP, Sorry I can't talk to you" in
  894. the log file?
  895.    Your news-host does not want to talk to you, this
  896.    is because there is a security file which gives a
  897.    list of hosts which are allowed to connect, the
  898.    name of your machine must be in this list, and your
  899.    machine's name must be in the Domain Name Server
  900.    tables as well as the Reverse Translation Domain
  901.    Name server tables.
  902.    
  903.    The access file may be called something like:
  904.    
  905.      CNEWS          /usr/local/lib/news/nntp_access
  906.      INND      /usr/local/news/nnrp.access
  907.      DNEWS          /usr/local/dnews/access.conf
  908.      DNEWS-NT  /dnews/access.conf
  909.  
  910. 5.20 What does "Transfer permission denied" mean?
  911.    This can come from one of two directions,  DNEWS
  912.    can give this error when a site tries to feed it
  913.    new items.
  914.    
  915.    If you are using a sucking feed then you should
  916.    stop the site that is trying to send to you from
  917.    sending as DNEWS will ask for any items it wants.
  918.    
  919.    If you do want to allow incoming IHAVE messages,
  920.    then add an IHAVE record for this ip address in the
  921.    ACCESS.CONF file, and also remove the 'POSTING'
  922.    flag from the NEWSFEEDS.CONF file for the ME site.
  923.    
  924.    The last possibility is that this error is coming
  925.    from your feeding site, in which case you need to
  926.    contact the system manager of that site and ask him
  927.    to give you `ihave' access.
  928.    
  929.  
  930. 6.0 I still can't figure it out, how can I get help?
  931.    You have two options, the DNEWS discussion list has
  932.    lots of expertise on it.  So try that first.
  933.    
  934.    If that fails, or if you are a registered (not
  935.    free) customer then as part of normal support
  936.    NetWin provide email advice and help on setting up
  937.    your system.  In general try and give as much
  938.    information as possible about your setup and what
  939.    you want to do, and ALWAYS include a FAX or phone
  940.    number just incase your mail system is broken as
  941.    well :-)  e.g.
  942.    
  943.     Hardware & OS:      Windows NT - Intel   (or NT-Alpha
  944.     or Solaris 4.3 etc...)
  945.     Version of DNEWS:  2.0b
  946.     Type of feed:  Sucking feed   (or full ihave feed...)
  947.     FAX:           (include country code)
  948.     And any relevant setup files, usually one or more of:
  949.     dnews.conf, newsfeeds.conf, access.conf
  950.     And maybe a few lines from dnews.log showing the
  951.     problem
  952.     (Please don't email 3MB of log files to us :-)
  953.     
  954.     And state your problem clearly:
  955.     (a bad example)  My feed doesn't work, why not?
  956.     (a good example) The IHAVE feed coming INTO my system
  957.     from my provider is being refused, he says it gives
  958.     an error, `transfer permission denied',  I have
  959.     searched the log files but can't find an equivalent
  960.     error at my end,  what should I do?
  961.  
  962. 6.1 DNEWS Mailing List
  963.    There are two mailing lists for DNEWS, one is only
  964.    used to make major announcements of new version or
  965.    urgent patches.  The other is for general
  966.    discussion, you may want to join both.
  967.    
  968.  
  969. 6.2 To subscribe to the discussion list send to:
  970.       dnews-request@adam.com.au
  971.    A message containing one word:
  972.    
  973.       subscribe
  974.    
  975.    
  976.   Then to post to the list send to:
  977.   
  978.       dnews@adam.com.au
  979.  
  980. 6.3 To subscribe to the announcement list
  981.    Send a message to:
  982.    
  983.         maiser@emagic.co.nz
  984.    
  985.    Containing the line:
  986.    
  987.        subscribe dnews
  988.   
  989.   This is a moderated list, it's only function is to
  990.   provide timely information on new features,
  991.   releases, bugs, installation gotcha's etc to
  992.   interested people.  You will not get 20 messages a
  993.   day from this list, it will probably average 1-2
  994.   messages per month.
  995.   
  996.