Thanks Mark. We are able to ping the printers and telnet to the Jetdirect box. We are also able to ping and telnet back to the MVS systems. We just use the basic lpr, and my staff add printers with Yast so the procedure looks simple enough. Our current printcap has over 400 printers defined, and we last boot the linux partition when we had less than 100 printers, so we decide to cut it down on size (50 printers at a time) to make sure that the size is not an issue. When the printcap file is cut down to contains 200 printers, the lpd starts working again (receiving and sending output), so it looks like we just over loaded the lpd daemon. Is there a limit to the printcap file? or a limit to the number of lpd that could be spawned? or the size of our linux partition? (we currently have 128Mb)...
-----Original Message----- From: Post, Mark K [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 8:45 PM To: [EMAIL PROTECTED] Subject: Re: connect: Connection refused Whoa, now we're talking something completely different. First, from your Linux/390 system can you ping any of those printers? If you can ping them, can you telnet to their administration port? If they have a web administration interface, can you access it from the Linux/390 system? (HPs with Jetdirect should.) What version of lpr are you running? lprNG, or lpr? What does the printcap entry for one of these look like (the whole entry)? What do the file permissions on the spool directory look like (starting from "/" on down)? >From my experience, printing setup is a very precise exercise. Get one thing wrong, and strange things happen. And I do mean strange. When I went from lpr to lprNG, all my output started going into the bit bucket, because a parameter that I _had_ to put in with lpr to stop some error messages caused lrpNG to send the output to /dev/null. We need lots more details here, so I look forward to seeing them. Mark Post -----Original Message----- From: Steve Bui [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 4:02 PM To: [EMAIL PROTECTED] Subject: Re: connect: Connection refused Hi Mark, None of the printers defined to Linux will print. Also we're still on SuSE 7.0 (kernel 2.2.16). -----Original Message----- From: Post, Mark K [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 10:18 AM To: [EMAIL PROTECTED] Subject: Re: connect: Connection refused Have you checked out the printer itself? That's what is refusing the connection. Can you print to other printers? Mark Post -----Original Message----- From: Steve Bui [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 2:30 AM To: [EMAIL PROTECTED] Subject: lpc: connect: Connection refused We are in dire need of help since after our linux system was booted on saturday, the lpd has problem connecting to printers and below is the log: ----------------------------------- root@t2linux:/home/khaam > ps -ax PID TTY STAT TIME COMMAND 1 ? S 0:00 init [ 2 ? SW 0:00 [kmcheck] 3 ? SW 0:00 [kflushd] 4 ? SW 0:00 [kupdate] 5 ? SW 0:00 [kpiod] 6 ? SW 0:00 [kswapd] 135 ? S 0:00 /usr/sbin/syslogd 139 ? S 0:00 /usr/sbin/klogd -c 1 213 ? S 0:00 /usr/sbin/atd 220 ? S 0:00 /usr/sbin/inetd 235 ? S 0:00 /usr/sbin/lpd 290 ? S 0:00 sendmail: accepting connections 304 ? S 0:00 /usr/sbin/cron 354 ? S 0:00 /usr/sbin/nscd 372 ? S 0:00 /usr/sbin/nscd 373 ? S 0:00 /usr/sbin/nscd 374 ? S 0:00 /usr/sbin/nscd 375 ? S 0:00 /usr/sbin/nscd 376 ? S 0:00 /usr/sbin/nscd 377 ? S 0:00 /usr/sbin/nscd 489 console S 0:00 /sbin/mingetty console 547 ? S 0:00 /usr/sbin/lpd 548 ? S 0:00 in.telnetd: stevebui.inre.asu.edu 549 pts/0 S 0:00 login -- khaam 550 pts/0 S 0:00 -bash 561 pts/0 S 0:00 su 562 pts/0 S 0:00 bash 569 pts/0 R 0:00 ps -ax root@t2linux:/home/khaam > ps -aux | grep lpd root 235 0.0 0.3 1180 432 ? S 00:01 0:00 /usr/sbin/lpd root 547 0.0 0.4 1252 612 ? S 00:01 0:00 /usr/sbin/lpd root 571 0.0 0.3 1368 508 pts/0 S 00:07 0:00 grep lpd root@t2linux:/home/khaam > root@t2linux:/home/khaam > lpc start npf0010 npf0010: printing enabled lpc: connect: Connection refused couldn't start daemon ---------------------- We stop and start the lpd to no avail. We have 404 printers in the 'printcap' file. ____________ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Steve Bui , IRIS - IBM Systems Support Mgr. Phone(480) 965-3070 / fax(480) 965-6317
