LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   LPRng error 'NONZERO RFC1179 ERROR CODE FROM SERVER' (https://www.linuxquestions.org/questions/linux-networking-3/lprng-error-nonzero-rfc1179-error-code-from-server-241230/)

ivanscheers 10-11-2004 03:50 AM

LPRng error 'NONZERO RFC1179 ERROR CODE FROM SERVER'
 
Hi,

I've been trying and trying to get remote printing up and running on my network (all Redhat 8.0). Searches on Google and reading thru the HOWTOs didn't give me a sulution.

It has something to do with permissions, but /etc/hosts /etc/hosts.lpd contain the correct lines.

I can print on the machine with the printer physically attached if I just do lpr -P labels [file], however if I include the IP (lpr -P labels@122.0.22.1) I get an error.

Pinging to that address works fine. I can rlogin (but not rsh or rcp !) so that might point to a permission issue....

This is the standard (error) output :

-1- printing on the print server box with just the printer name (WORKS)

[root@potiau work]# lpr -V -P lp0 epltest.prn
LPRng-3.8.9, Kerberos5, Copyright 1988-2002 Patrick Powell, <papowell@lprng.com>
sending job 'root@potiau+53' to lp0@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp0@localhost
sending control file 'cfA053potiau.main' to lp0@localhost
completed sending 'cfA053potiau.main' to lp0@localhost
sending data file 'dfA053potiau.main' to lp0@localhost
completed sending 'dfA053potiau.main' to lp0@localhost
done job 'root@potiau+53' transfer to lp0@localhost

-2- printing on print server box with printer@IP-address-of-that-box (FAILS)

[root@potiau work]# lpr -V -P lp0@122.0.22.1 epltest.prn
LPRng-3.8.9, Kerberos5, Copyright 1988-2002 Patrick Powell, <papowell@lprng.com>
sending job 'root@potiau+73' to lp0@122.0.22.1
connecting to '122.0.22.1', attempt 1
connected to '122.0.22.1'
requesting printer lp0@122.0.22.1
job 'root@potiau+73' transfer to lp0@122.0.22.1 failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_STOP_Q'
sending str '^Blp0' to lp0@122.0.22.1
error msg: 'no connect permissions'
job failed - error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_STOP_Q
'
sending str '^Blp0' to lp0@122.0.22.1

Why the 'no connect permission', while I'm root on that same 122.0.22.1 machine ? No wonder it doesn't work from another machine... and that's just what this is about.

Hope someone can help... Been eating up too much of my time.

Ivan


All times are GMT -5. The time now is 01:32 AM.