home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6694 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  2.3 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!caen!hellgate.utah.edu!cc.usu.edu!kaos.declab.usu.edu!hal
  2. Newsgroups: comp.unix.ultrix
  3. Subject: Re: Problems with printing over lat
  4. Message-ID: <1992Sep4.093546.58624@cc.usu.edu>
  5. From: hal@kaos.declab.usu.edu (000200 Lynch)
  6. Date: 4 Sep 92 09:35:44 MDT
  7. Reply-To: hal@kaos.declab.usu.edu (000200 Lynch)
  8. Sender: hal@kaos (000200 Lynch)
  9. References: <1992Sep3.160601.14744@mother.bates.edu>
  10. Distribution: world
  11. Organization: Utah State University
  12. Keywords: printing, lat
  13. Nntp-Posting-Host: kaos.declab.usu.edu
  14. Lines: 58
  15.  
  16. In article <1992Sep3.160601.14744@mother.bates.edu>, rob@mother.bates.edu (Rob Spellman) writes:
  17.  
  18. stuff deleted
  19.  
  20. |>
  21. |>I have been trying to setup a print service over lat.  I can print
  22. |>fine for a while, and then I get errors in /usr/adm/lpd3-err.  The error is:
  23. |>
  24. |>/usr/lib/lpd: test: cannot open /dev/tty17: Can't assign requested address
  25. |>
  26. |>Jobs keep piling up until I run lcp -h /dev/tty17 again.  Then it will run
  27. |>for a while, and then start giving me errors again.
  28. |>
  29. |>Anybody seen this problem, and how do I fix it?
  30. |>
  31. |>I'm running Ultrix 4.2a on a Decstation 5000/240.
  32.  more stuff deleted
  33.  
  34. I am having the same problem on my DS500/200 running 4.2.  I am using
  35. ln03rof as my filter talking to an Apple laserwriter.  Software support
  36. has no solution as yet and neither do I.  What I am doing is running the
  37. following shell script from crontab every minute?! AAAAARRRRRGGGGGGGHHHHHHH
  38.  
  39. #! /bin/sh
  40. doit=0
  41. /etc/lpc status lw_seer >    /tmp/lw_seer.status
  42. /usr/ucb/grep -s 'no entries' <    /tmp/lw_seer.status
  43. if test $? -eq 0 ; then
  44.     exit 0
  45. fi
  46. /usr/ucb/grep -s 'offline' <    /tmp/lw_seer.status
  47. if test $? -eq 0 ; then
  48.     doit=1
  49. fi
  50. /usr/ucb/grep -s 'no daemon' <    /tmp/lw_seer.status
  51. if test $? -eq 0 ; then
  52.     doit=1
  53. fi
  54. if test $doit -eq 1 ; then
  55.     (echo -n "lw_seer restarted @ " ; date)    >> /usu/adm/nite/lw_seer.log
  56.     /etc/lcp -p /dev/tty07            >> /usu/adm/nite/lw_seer.log
  57.     /etc/lcp -h /dev/tty07:TERM04:PORT_14    >> /usu/adm/nite/lw_seer.log
  58.     /etc/lpc restart lw_seer        >> /usu/adm/nite/lw_seer.log
  59. fi
  60.  
  61. This is a lot like burning the house down to get rid of the termites, but it
  62. works.
  63. |>-- 
  64. |>Rob Spellman
  65. |>rob@mother.bates.edu
  66. |>Computing Support Services
  67. |>Bates College
  68. |>
  69. --
  70. Hal Lynch
  71.     Internet: Hal@cache.declab.usu.edu
  72.     DECnet:   USU::HAL
  73.