home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / sys5 / r4 / 1222 < prev    next >
Encoding:
Text File  |  1993-01-11  |  5.8 KB  |  153 lines

  1. Newsgroups: comp.unix.sys5.r4
  2. Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!minnie!goofy!hjjaeger
  3. From: hjjaeger@goofyzdv.uni-mainz.de (Robby)
  4. Subject: lpr
  5. Message-ID: <WJO0NXI@minnie.zdv.uni-mainz.de>
  6. Sender: hjjaeger@goofy (Robby)
  7. Nntp-Posting-Host: goofy
  8. Organization: Johannes Gutenberg Universitaet Mainz
  9. Date: Mon, 11 Jan 1993 13:43:14 GMT
  10. Lines: 141
  11.  
  12. HELP!!!!!!! this is an Emercency-call !!!!!!!!!
  13.  
  14. I try to etablish network-printing.We have several ISC-3.2.3-Machines
  15. which do network-printing fine. Now we want to switch for several
  16. reasons to SYR4 ( we got Esix 4.0.4 ). It was for me impossible to
  17. convince the Esix-System to do its network-printing-job.
  18.  
  19. There are no problems with telnet, ftp and nfs.
  20. I got these problems only with network-printing. Local printing
  21. is neither a problem.
  22.  
  23.  
  24. You see that the portmonitor is running with two services( i changed meanwhile
  25. listenS5 for listenBSD with no positive outcomes ).
  26. ===============================================================================
  27. PMTAG          PMTYPE         SVCTAG         FLGS ID       <PMSPECIFIC>
  28. tcp            listen         0              -    root     \x02000ACE865DA11B - c - /usr/lib/saf/nlps_server #NLPS SERVER
  29. tcp            listen         lp             -    root     - - - - /var/spool/lp/fifos/listenS5 #NLPS SERVER
  30.  
  31. ===============================================================================
  32. Next are a printing of the config-files
  33.  
  34. ================================================================================
  35. /etc/saf/tcp
  36.  
  37. # VERSION=4
  38. lp::root:reserved:reserved:reserved:::::/var/spool/lp/fifos/listenS5 #NLPS SERVER
  39. 0::root:reserved:reserved:reserved:\x02000ACE865DA11B::c::/usr/lib/saf/nlps_server#NLPS SERVER
  40.  
  41. ===============================================================================
  42. I guess the lpr-service should work with this configuration.
  43. The printer we want to use on the ISC-Machine ( Name:star_10) was correctly
  44. installed as you can see. The printer was registered as a remote
  45. printer:
  46.  
  47. This is the output of the command "lpstat -t":
  48.  
  49. ===============================================================================
  50. scheduler is running
  51. system default destination: nec
  52. device for nec: /dev/lp1
  53. system for star_10: Sequoia.antropos.UniMz.de (as printer star_10)
  54. nec accepting requests since Wed Oct 28 00:58:06 MEZ 1992
  55. star_10 accepting requests since Mon Jan 11 08:13:12 MEZ 1993
  56. printer nec is idle. enabled since Tue Dec  8 10:47:27 MEZ 1992. available.
  57. printer star_10 is idle. enabled since Mon Jan 11 09:27:13 MEZ 1993. available.
  58. star_10-132             root               450   Jan 11 08:18 canceled
  59. star_10-135             root               450   Jan 11 09:27
  60. ===============================================================================
  61. But when you send a request to the printer strange things were happening.
  62. The command was "lpr -Pstar_10 <file-name>"
  63.  
  64. The first curiosity was that lpsched treated the job as a local request.
  65. lpc told us that "star_10"  was about to print the job. But the printer
  66. was idle and the ISC-machine never got the file.                
  67.  
  68. So i used the command /usr/ucb/lpq -Pstar_10 to have a look on the queue:
  69.  
  70. ============================================================================
  71. UX:lpq: ERROR: Received unexpected status 10 in a reply from the
  72.                LP print service.
  73.        TO FIX: It's likely there is an error in this
  74.                software. Please get help from your
  75.                system administrator.
  76.  
  77. ============================================================================
  78. I tried to find out what the unexpected status 10 could mean. I could not
  79. find any hint in the man pages or even in the System Adminitrator's Guide.
  80.  
  81. As you can see the Esix-Scheduler or the Lpr-Comand copied the file to
  82. the spool-area of the local printer( Glacier is the name of the Esix-Machine ).
  83.  
  84. ==============================================================================
  85. Files in /var/spool/lp/tmp/Glacier/*
  86.  
  87. ::::::::::::::
  88. 135-0
  89. ::::::::::::::
  90. C 1
  91. D star_10
  92. F /var/spool/lp/tmp/Glacier/135-1
  93. O lpd=' -Pstar_10 ' flist='hosts:450 '
  94. P 20
  95. T hosts\n#####\n#####\t\t  Glacier
  96. t simple
  97. U root
  98. s   0000
  99. ::::::::::::::
  100. 135-1
  101. ::::::::::::::
  102. #
  103. # Sun Host Database
  104. #
  105. # If the NIS is running, this file is only consulted when booting
  106. #
  107. 127.0.0.1    localhost loghost
  108. #
  109. 134.93.161.24    Yosemite.antropos.UniMz.de    Yosemite
  110. 134.93.161.26    Banff.antropos.UniMz.de        Banff
  111. 134.93.161.27    Gomera.antropos.UniMz.de    Gomera
  112. 134.93.161.21    Glacier.antropos.UniMz.de    Glacier
  113. 134.93.161.20    Sequoia.antropos.UniMz.de    Sequoia
  114. 134.93.161.25     Bryce.antropos.UniMz.de        Bryce
  115. 134.93.161.22    Teton.antropos.UniMz.de        Teton
  116.  
  117. ================================================================================
  118. The next lines show the output of a logfile. 
  119.  
  120.  
  121. ================================================================================
  122. 01/11/93 07:59 p   187 <none> Starting.
  123. 01/11/93 07:59 p   187 <none> Starting lpNetParent.
  124. 01/11/93 07:59 p   187 <none> Initialized & Polling.
  125. 01/11/93 08:18 p   187 <none> Started child for Sequoia.antropos.UniMz.de, pid = 350
  126. 01/11/93 08:18 c   350 Sequoia.antropos.UniMz.de Starting.
  127. 01/11/93 08:18 c   350 Sequoia.antropos.UniMz.de Could not connect to remote child.
  128. 01/11/93 08:28 c   350 Sequoia.antropos.UniMz.de Could not connect to remote child.
  129. 01/11/93 10:58 c   350 Sequoia.antropos.UniMz.de Could not connect to remote child.
  130.  
  131.  
  132. It is interesting to see that the lpc-command of another ISC-machine which
  133. tried to print a  file on the Esix-machine showed the message:
  134.  
  135. =======================================================================
  136.  
  137. nec:
  138.     queueing enabled
  139.     printing enabled
  140.     1 entry in spool area
  141.     waiting for Glacier.antropos.UniMz.de to come up
  142.  
  143. =======================================================================
  144.  
  145. so I don't know what is going on. Any suggestions are welcome.
  146.  
  147. Robby Jaeger
  148.  
  149. hjjaeger@goofy.zdv.uni-mainz.de
  150.  
  151.  
  152.  
  153.