LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2003, 09:19 PM   #1
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Rep: Reputation: 32
lpr: error - scheduler not responding!


When I installed slack I installed both cup and lprng I couldn't print. I then found out there was a bug that made cups stop working, so I reinstalled cups and removed lprng.... many times, in different combinations. However, I always get:

lpr: error - scheduler not responding!

when I try to print. I set up the printer in cups using the web-based setup, and can print test pages.

cupsd starts when I boot, but it seems there is a problem with the scheduler, whatever that is..

What's a solution so I can print?
 
Old 12-09-2003, 09:38 PM   #2
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
It's been a few days without any replies.... Without being able to print, my linux setup is severely limited. Does anyone have any ideas? Is there crucial information that I forgot?
 
Old 12-10-2003, 01:09 AM   #3
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
Try 'lpr-cups' instead of 'lpr'.
 
Old 12-10-2003, 09:51 AM   #4
zorolowski
LQ Newbie
 
Registered: Sep 2002
Location: Heiligenhaus, Germany
Distribution: slackware
Posts: 25

Rep: Reputation: 15
I had problems with lpd and cups, too. The scripts rc.cups and rc.lprng in /etc/rc.d were not executable. Since I made them executable my printer works.

Zorolowski
 
Old 12-22-2003, 08:57 PM   #5
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
lpr-cups gives the same error.

/etc/rc.d/rc.cups and /etc/rc.d/rc.lprng are both executable.

Any other ideas?
 
Old 03-01-2005, 10:14 PM   #6
myk8
LQ Newbie
 
Registered: Jun 2004
Location: Australia
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
... 2 years later:

For the archives, this error started happening to me. I googled without finding a fix.
I tried enabling the local cups port, with the Mandrake 10 'drakfirewall', and that
seemd to fix it, oddly. The print server is on the same LAN, with no firewall.

This doesnt make sense - the firewall should only affect connections from outside. The local cups server should be reachable via 127.0.0.1:631, which lpr-cups does.

Re-blocking the cups port didn't bring the problem back, but it came again later.
Opening the port seemed to fix it again. beats me.

Last edited by myk8; 03-01-2005 at 10:36 PM.
 
Old 03-01-2005, 11:22 PM   #7
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
I believe the original problem was with Slackware's packages - installing both CUPS and LPRNG at the same time would screw it up. And if you reinstalled them it didn't fix itself - kinda messy. So now I only install CUPS :-P

Don't know about Mandrake, but that was the story for Slackware.
 
Old 03-09-2009, 03:17 AM   #8
ankita.dutta
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
To print from a printer connected through LAN I used the following command
lpr -E -H 192.168.1.254:445 -#1 a.txt

But its giving the error message:
lpr: Error - scheduler not responding!

Help me please.....
 
Old 03-09-2009, 07:22 AM   #9
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by ankita.dutta View Post
To print from a printer connected through LAN I used the following command
lpr -E -H 192.168.1.254:445 -#1 a.txt

But its giving the error message:
lpr: Error - scheduler not responding!

Help me please.....
What distribution are you running? The more information you give, the easier it will be to help you.
 
Old 03-16-2009, 05:14 AM   #10
ankita.dutta
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
What do you mean by 'distribution'? Give some example....
 
Old 03-16-2009, 06:17 AM   #11
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,081

Rep: Reputation: 163Reputation: 163
Quote:
Originally Posted by ankita.dutta View Post
What do you mean by 'distribution'? Give some example....
e.g.

Slackware 12.0
Redhat 8.1
Ubuntu 7.10
...
 
Old 03-18-2009, 05:25 AM   #12
ankita.dutta
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
Redhat Enterprise Linux AS4
 
Old 03-18-2009, 12:58 PM   #13
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Question

Well, your problem isn't Slackware related at least

But more information that you can give helps us help you, otherwise we are forced to make uninformed guesses.

Are you sure the printer you are connecting to is turned on and shared properly? Is the ip address the right one?
 
Old 03-19-2009, 02:14 AM   #14
ankita.dutta
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
Yes, the IP address of the printer is correct. And the printer is also turned on and properly shared because I'm able to print from windows using the same printer.
 
Old 06-06-2009, 04:15 AM   #15
jeen
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 1
Solution

Hello!
I find solution at forums.whirlpool.net.au/forum-replies-archive.cfm/425285.html:

"...after having a quick look at the cups source code I found out that the problem was that the environment variable CUPS_SERVER wasn't set. So running "export CUPS_SERVER=localhost" before using lpr at the command line now makes it work fine."
 
1 members found this post helpful.
  


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
just installed CUPS printer is OK.. but can't print Error: loop in printcap on lpr soylentgreen Linux - Newbie 4 09-23-2004 10:41 AM
lpr: unable to print file: client-error-not-found rickenbacherus Debian 1 07-29-2004 04:39 PM
lpr: command not found and scheduler trouble aluchko Linux - Software 1 06-26-2004 01:02 PM
confused... lpr/ lpr-cups shadow.blue Linux - Software 1 04-06-2004 05:15 PM
lpr command error mikeshn Linux - Software 0 11-17-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:41 AM.

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