O
Obi-Wan
We've got an AIX 5.2 box that has queues defined for several dozen
network printers defined (each is a standalone printer with its own IP).
Due to several business reasons, we'd like to move the administration
of these printers over to our existing Windows 2003 print server.
We've got all the queues setup on Windows, and we can print to them
just fine from a linux box, so we know that much is working. However,
we can't get the AIX box to forward jobs. The Windows box's monitoring
software doesn't indicate that anything ever got sent, although the
AIX box seems to think it went OK.
We've correctly entered the Windows hostname, queue name on Windows,
and queue name on AIX. Which LPD type should we be using (SysV/BSD/
AIX3+4/AIX2)? Any other well-known gotchas that we should watch out
for? We've had both our AIX and Windows experts working on this, and
neither can figure out what's going wrong? Below is a copy of the
debug file for a print request. The AIX box is rxtfc2. The Windows
box is print1. The AIX queue name is e_rx_spare2_ps. The Windows
queue name is e-rx-daw.
Any suggestions would be much appreciated.
------------------------- Achilles tendon - cut here -------------------------
rembak[1585388] main: Fri Mar 10 11:19:28 2006
rembak[1585388] main: /usr/lib/lpd/rembak -T60 -D /tmp/spare2 -S print1.lincoln.bryanlgh.org -P e-rx-daw -N /usr/lib/lpd/bsdshort /var/spool/qdaemon/tQ5ieqa
rembak[1585388] main: backend=1.
rembak[1585388] hookup: Try to connect, current time=1142011168.
rembak[1585388] sendjob: sendjob starts, jobname=/usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab, current time=1142011168.
rembak[1585388] sendjob: datafn[0]=dfA641rxtfc2, fakedfn=dfA641rxtfc2.
rembak[1585388] makecontrolfile: Entering makecontrolfile.
rembak[1585388] makecontrolfile: dfnames[0]=dfA641rxtfc2
/?^R0ak[1585388] getbsdinfo: bsd3=Hrxtfc2\10 Prxtfc\10
rembak[1585388] get_bsd_4file: bsd nc=1
/?^Q^?ak[1585388] get_bsd_4file: bsd strings: [N/usr/rxtfc/misc/bdmtemp/00931811 1.40768.75110.lab\10 ][N/usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab\10 ][N /usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab\10 ][N/usr/rxtfc/misc/bdmtemp/ 009318111.40768.75110.lab\10 ]
/?^R0ak[1585388] getbsdinfo: bsd3=Hrxtfc2\10 Prxtfc\10 fdfA641rxtfc2\10 UdfA641r xtfc2\10 N/usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab\10
rembak[1585388] gettmpr: Opening file /tmp//rembakQ1moMa.
rembak[1585388] gettmpr: File /tmp//rembakQ1moMa opened successfully, fd=8.
rembak[1585388] sendjob: ctrlfname=/tmp//rembakQ1moMa, fakecfn=cfA641rxtfc2.
rembak[1585388] sendjob: State machine starts.....
rembak[1585388] sendjob: State 1 - send the "Receive a Print Job" request.
/?^R?ak[1585388] sendreq: sendreq - sending lpd request [\2 e-rx-daw\10 ].
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendjob: state 3 - Send data file(s), dfcount=1.
rembak[1585388] sendjob: realfn=/var/spool/qdaemon/tQ5ieqa, fakefn=dfA641 rxtfc2, filter=/usr/lib/lpd/bsdshort.
/?^Q0ak[1585388] sendreq: sendreq - sending lpd request [\3 365 dfA641rxtfc2\10 ].
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] senddatafile: Opening file /var/spool/qdaemon/tQ5ieqa.
rembak[1585388] senddatafile: File /var/spool/qdaemon/tQ5ieqa opened successfully, fd=9.
rembak[1585388] send_file_rembak: Reading 365 bytes from file, fd=9.
rembak[1585388] send_file_rembak: Writing 365 bytes to socket 7.
rembak[1585388] send_file_rembak: File sent.
rembak[1585388] ack: Send ACK.
rembak[1585388] send_file_rembak: waiting for ACK.
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendjob: State 2 - send control file, ctrlfname=/tmp//rembakQ1moMa, fakecfn=cfA641rxtfc2.
/?^Q@ak[1585388] sendreq: sendreq - sending lpd request [\2 94 cfA641rxtfc2\10 ].
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendcontrolfile: Opening file /tmp//rembakQ1moMa.
rembak[1585388] sendcontrolfile: File /tmp//rembakQ1moMa opened successfully, fd=9.
rembak[1585388] send_file_rembak: Reading 94 bytes from file, fd=9.
rembak[1585388] send_file_rembak: Writing 94 bytes to socket 7.
rembak[1585388] send_file_rembak: File sent.
rembak[1585388] ack: Send ACK.
rembak[1585388] send_file_rembak: waiting for ACK.
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendjob: State 5 - end of job #641 (/usr/rxtfc/misc/bdmtemp/0093
18111.40768.75110.lab).
rembak[1585388] sendjob: Delete control file /tmp//rembakQ1moMa.
------------------------- Achilles tendon - cut here -------------------------
network printers defined (each is a standalone printer with its own IP).
Due to several business reasons, we'd like to move the administration
of these printers over to our existing Windows 2003 print server.
We've got all the queues setup on Windows, and we can print to them
just fine from a linux box, so we know that much is working. However,
we can't get the AIX box to forward jobs. The Windows box's monitoring
software doesn't indicate that anything ever got sent, although the
AIX box seems to think it went OK.
We've correctly entered the Windows hostname, queue name on Windows,
and queue name on AIX. Which LPD type should we be using (SysV/BSD/
AIX3+4/AIX2)? Any other well-known gotchas that we should watch out
for? We've had both our AIX and Windows experts working on this, and
neither can figure out what's going wrong? Below is a copy of the
debug file for a print request. The AIX box is rxtfc2. The Windows
box is print1. The AIX queue name is e_rx_spare2_ps. The Windows
queue name is e-rx-daw.
Any suggestions would be much appreciated.
------------------------- Achilles tendon - cut here -------------------------
rembak[1585388] main: Fri Mar 10 11:19:28 2006
rembak[1585388] main: /usr/lib/lpd/rembak -T60 -D /tmp/spare2 -S print1.lincoln.bryanlgh.org -P e-rx-daw -N /usr/lib/lpd/bsdshort /var/spool/qdaemon/tQ5ieqa
rembak[1585388] main: backend=1.
rembak[1585388] hookup: Try to connect, current time=1142011168.
rembak[1585388] sendjob: sendjob starts, jobname=/usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab, current time=1142011168.
rembak[1585388] sendjob: datafn[0]=dfA641rxtfc2, fakedfn=dfA641rxtfc2.
rembak[1585388] makecontrolfile: Entering makecontrolfile.
rembak[1585388] makecontrolfile: dfnames[0]=dfA641rxtfc2
/?^R0ak[1585388] getbsdinfo: bsd3=Hrxtfc2\10 Prxtfc\10
rembak[1585388] get_bsd_4file: bsd nc=1
/?^Q^?ak[1585388] get_bsd_4file: bsd strings: [N/usr/rxtfc/misc/bdmtemp/00931811 1.40768.75110.lab\10 ][N/usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab\10 ][N /usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab\10 ][N/usr/rxtfc/misc/bdmtemp/ 009318111.40768.75110.lab\10 ]
/?^R0ak[1585388] getbsdinfo: bsd3=Hrxtfc2\10 Prxtfc\10 fdfA641rxtfc2\10 UdfA641r xtfc2\10 N/usr/rxtfc/misc/bdmtemp/009318111.40768.75110.lab\10
rembak[1585388] gettmpr: Opening file /tmp//rembakQ1moMa.
rembak[1585388] gettmpr: File /tmp//rembakQ1moMa opened successfully, fd=8.
rembak[1585388] sendjob: ctrlfname=/tmp//rembakQ1moMa, fakecfn=cfA641rxtfc2.
rembak[1585388] sendjob: State machine starts.....
rembak[1585388] sendjob: State 1 - send the "Receive a Print Job" request.
/?^R?ak[1585388] sendreq: sendreq - sending lpd request [\2 e-rx-daw\10 ].
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendjob: state 3 - Send data file(s), dfcount=1.
rembak[1585388] sendjob: realfn=/var/spool/qdaemon/tQ5ieqa, fakefn=dfA641 rxtfc2, filter=/usr/lib/lpd/bsdshort.
/?^Q0ak[1585388] sendreq: sendreq - sending lpd request [\3 365 dfA641rxtfc2\10 ].
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] senddatafile: Opening file /var/spool/qdaemon/tQ5ieqa.
rembak[1585388] senddatafile: File /var/spool/qdaemon/tQ5ieqa opened successfully, fd=9.
rembak[1585388] send_file_rembak: Reading 365 bytes from file, fd=9.
rembak[1585388] send_file_rembak: Writing 365 bytes to socket 7.
rembak[1585388] send_file_rembak: File sent.
rembak[1585388] ack: Send ACK.
rembak[1585388] send_file_rembak: waiting for ACK.
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendjob: State 2 - send control file, ctrlfname=/tmp//rembakQ1moMa, fakecfn=cfA641rxtfc2.
/?^Q@ak[1585388] sendreq: sendreq - sending lpd request [\2 94 cfA641rxtfc2\10 ].
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendcontrolfile: Opening file /tmp//rembakQ1moMa.
rembak[1585388] sendcontrolfile: File /tmp//rembakQ1moMa opened successfully, fd=9.
rembak[1585388] send_file_rembak: Reading 94 bytes from file, fd=9.
rembak[1585388] send_file_rembak: Writing 94 bytes to socket 7.
rembak[1585388] send_file_rembak: File sent.
rembak[1585388] ack: Send ACK.
rembak[1585388] send_file_rembak: waiting for ACK.
rembak[1585388] gotack: Reading ACK status.....current time=1142011168, timeout_ack=3600.
rembak[1585388] gotack: ACK status=0x0.
rembak[1585388] sendjob: State 5 - end of job #641 (/usr/rxtfc/misc/bdmtemp/0093
18111.40768.75110.lab).
rembak[1585388] sendjob: Delete control file /tmp//rembakQ1moMa.
------------------------- Achilles tendon - cut here -------------------------