LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2004, 02:50 AM   #1
ivanscheers
LQ Newbie
 
Registered: Sep 2003
Location: Belgium
Posts: 8

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LPRng error when job submitted dguy Linux - Software 2 09-26-2005 08:35 AM
Apache Error (Internal Server Error) dwarf007 Linux - Software 1 07-17-2005 01:16 PM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Mandrake Move 9.2 error, fatal server error:( silentwhispers Mandriva 1 12-16-2004 11:36 PM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration