home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23263 < prev    next >
Encoding:
Text File  |  1993-01-08  |  3.9 KB  |  83 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!math.fu-berlin.de!Sirius.dfn.de!unibwh.unibw-hamburg.de!unibwh!w_stef
  3. From: w_stef@athalia.unibw-hamburg.de (Stefano Ianigro)
  4. Subject: [Q]: Problems with lpr
  5. Message-ID: <W_STEF.93Jan8194851@athalia.unibw-hamburg.de>
  6. Sender: news@unibw-hamburg.de
  7. Organization: University of Federal Armed Forces Hamburg
  8. Distribution: comp.os.linux
  9. Date: Fri, 8 Jan 1993 19:48:51 GMT
  10. Lines: 71
  11.  
  12. Hello linuxers,
  13.  
  14. I'using linux 0.99pl2 and the tcpip-stuff with a wd8003 card here in
  15. the university. We have a network here with a Convex C3820, 3 Nixdorf
  16. Targon-35 and SUN workstations. On all this machine the PLP printer
  17. system is installed. I installed the plp sources form tsx-11
  18. (BETA/plp-src0.1.tar) on my linux box. Now the problem:
  19.  
  20. When I define SOCKET_FAMILY AF_UNIX in lp.h, I can print very well (local);
  21. all the plp-stuff is working ok. I know that with this definition of
  22. the sockets it's impossible to print "outside" of this machine to a
  23. printer attached on the Targon's. But when I define SOCKET_FAMILY
  24. AF_INET, everything compiles fine ,but runs with no connection to the other
  25. machines:
  26.  
  27. Armida:/home/Armida/stef>lpr -D5 -Plp1 lpr.c
  28. Printer 'lp1' (armida.unibw-hamburg.de):
  29. lpq: lp1- pid=569, LOG_DEBUG, printstatus: ST status at Fri Jan  8 19:29:56 1993
  30. lpq: lp1- pid=569, LOG_DEBUG, Set_uid: uid_parm 0, uid 0, euid 1 at Fri Jan  8 19:29:56 1993
  31.   work done at Tue Jan  5 17:50:58 1993
  32. lpq: lp1- pid=569, LOG_DEBUG, Remote_status: rzt01, '4'lp1
  33.  at Fri Jan  8 19:29:56 1993
  34. lpq: lp1- pid=569, LOG_DEBUG, Link_open: retry 3, attempt 1 at Fri Jan  8 19:29:56 1993
  35. lpq: lp1- pid=569, LOG_DEBUG, getport: host rzt01 at Fri Jan  8 19:29:56 1993
  36. lpq: lp1- pid=569, LOG_DEBUG, trying connection to rzt01 at Fri Jan  8 19:29:56 1993
  37. lpq: lp1- pid=569, LOG_DEBUG, reserveport got socket 1024 at Fri Jan  8 19:29:56 1993
  38.  
  39. and now it hangs   :-(
  40. The same happend using a local printer:
  41.  
  42. Armida:/home/Armida/stef>lpr -D5 -Pttt .cshrc
  43. lpr: ttt- pid=576, LOG_DEBUG, trying connection to armida.unibw-hamburg.de at Fri Jan  8 19:40:40 1993
  44. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1024 - Address already in use at Fri Jan  8 19:40:40 1993
  45. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1023 - Address already in use at Fri Jan  8 19:40:40 1993
  46. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1022 - Address already in use at Fri Jan  8 19:40:40 1993
  47. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1021 - Address already in use at Fri Jan  8 19:40:40 1993
  48. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1020 - Address already in use at Fri Jan  8 19:40:40 1993
  49. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1019 - Address already in use at Fri Jan  8 19:40:40 1993
  50. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1018 - Address already in use at Fri Jan  8 19:40:40 1993
  51. lpr: ttt- pid=576, LOG_DEBUG, reserveport bind failed on 1017 - Address already in use at Fri Jan  8 19:40:40 1993
  52. lpr: ttt- pid=576, LOG_DEBUG, reserveport got socket 1016 at Fri Jan  8 19:40:40 1993
  53.  
  54.  
  55. As far as I can trace it, the machine got the connection to the remote
  56. machine and then nothing happens...
  57.  
  58. What have I done wrong?? 
  59. Perhaps there is other people out there having the same problem? 
  60.  
  61. My linux box: 
  62. 386 16 MHz with 387
  63. 10 MB RAM
  64. Linux 0.99pl2
  65. WD8003 ethercard
  66. 98 MB HD
  67.  
  68. Any help is appreciated! Thanx in advance
  69.  
  70. Cheers!
  71.  
  72. Stef
  73.  
  74. --
  75. ------------------------------------------------------------------------
  76. | Stefano Ianigro                      E-Mail: w_stef@unibw-hamburg.de |
  77. | Institut fuer Informatik                                             |
  78. | Universitaet der Bundeswehr Hamburg     "Ich weiss, dass ich nichts  |
  79. | Holstenhofweg 85                         weiss..." (Sokrates)        |
  80. | D-2000 Hamburg 70, Germany                                           |
  81. | Tel.: 040/6541-2656 oder -3345 (Sekr.)                               |
  82. ------------------------------------------------------------------------
  83.