LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-14-2011, 11:19 PM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Rep: Reputation: 1
Connection to CUPS server failed


I had been trying to activate my printer(XeroxPhaser3120) thru USB but still couldn't solved it.

Q1: Why do i need to connect to a server whereby i am only using my laptop to connect to my printer?

Q2: i can't access the localhost:631
Firefox can't establish a connection to the server at localhost:631.
 
Old 12-15-2011, 06:17 AM   #2
amilo
Member
 
Registered: Oct 2011
Location: Nederland
Distribution: Debian, Centos, Ubuntu
Posts: 65

Rep: Reputation: Disabled
check with 'netstat --inet -an' if there is a listner on 127.0.0.1:631.
If not start your cups deamon
 
1 members found this post helpful.
Old 12-16-2011, 02:46 AM   #3
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
Don't see any :631 here.
How to run cups deamon?

Quote:
bash-4.1# netstat --inet -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.100:47460 209.85.175.148:80 ESTABLISHED
tcp 0 0 192.168.1.100:55748 75.126.162.205:80 TIME_WAIT
tcp 0 0 192.168.1.100:48924 173.241.250.2:80 ESTABLISHED
tcp 0 0 192.168.1.100:53557 209.85.175.104:80 ESTABLISHED
tcp 0 0 192.168.1.100:37996 209.85.175.138:80 ESTABLISHED
tcp 0 0 192.168.1.100:55743 75.126.162.205:80 ESTABLISHED
tcp 0 0 192.168.1.100:47461 209.85.175.148:80 TIME_WAIT
tcp 0 0 192.168.1.100:48925 173.241.250.2:80 ESTABLISHED
tcp 0 0 192.168.1.100:50020 209.85.175.156:80 ESTABLISHED
tcp 0 0 192.168.1.100:55747 75.126.162.205:80 ESTABLISHED
tcp 0 0 192.168.1.100:50019 209.85.175.156:80 ESTABLISHED
tcp 0 0 192.168.1.100:55744 75.126.162.205:80 TIME_WAIT
tcp 0 0 192.168.1.100:35224 67.195.141.200:80 ESTABLISHED
udp 0 0 0.0.0.0:512 0.0.0.0:*
udp 0 0 0.0.0.0:37 0.0.0.0:*
 
Old 12-16-2011, 12:05 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,129

Rep: Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793
For Slackware, see this thread. It's ancient, but then I doubt that Slackware has changed much since 2004!
http://www.linuxquestions.org/questi...g-cups-168969/

Bodhi should have CUPS. Check with Synaptic to see that it's installed. Look in the menu for a tool to manage services (and in Synaptic if you can't find one). If you don't like using the CUPS interface, install system-config-printer-common and system-config-printer-gtk.
 
1 members found this post helpful.
Old 12-16-2011, 07:27 PM   #5
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
Let me deal with Slackware first:

Started the cups deamon but i can't log in to ADD PRINTER when it ask my username and password.

i key-in the username and pword same as i log-in from main boot screen as root user, but still this message kept popping out asking me to key in username and password:

Quote:
A username and password are being requested by http://localhost:631. The site says: "CUPS"

Edit: Somehow i managed to add the printer but not thru this key-in these username and password(I don't really know how i did it), driver installed.

Now i can't print the test page,it says stopped and failed.

Quote:
▼ ID ▼ Name User Size Pages State
Xerox-Phaser-3120-1 Test Page anonymous 1k Unknown stopped
"/usr/lib/cups/filter/ppmtospl2 failed"

Last edited by gabytf; 12-16-2011 at 08:43 PM.
 
Old 12-17-2011, 11:34 AM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,129

Rep: Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793Reputation: 793
When CUPS asks for a login, you use the name "root" and your root password.

Have you actually got /usr/lib/cups/filter/ppmtospl2? If you haven't, it should be on the CD that came with the printer. If that's lost, try the Xerox website. If you have got it, I don't have an answer. Perhaps reinstall it, or even switch to an older version of CUPS.
 
Old 12-18-2011, 11:05 PM   #7
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
i do have the file ppmtospl2 in my usr path. whenever i wanna print from KWord, it not print. i can select my printer.

Printer no respone, when i check status thru CUPS it show status as:
stopped
"/usr/lib/cups/filter/ppmtospl2 failed"


what else i need to do?

Edit: by the way, the printer is in a state as "idle", how to change it to "active"?

Last edited by gabytf; 12-19-2011 at 08:44 AM.
 
Old 12-23-2011, 05:21 PM   #8
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
What does "Missing print filter" mean?

"Stopping job because the scheduler could not execute a filter."

Last edited by gabytf; 12-23-2011 at 07:32 PM.
 
Old 12-28-2011, 12:26 PM   #9
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
i still couldn't get it printed....why it still stated status as "Idle"?

▼ Queue Name ▼ Description Location Make and Model Status
Xerox_Phaser_3120 Xerox Phaser 3120 GabHome Xerox Phaser 3120 Idle
 
Old 11-09-2012, 03:21 AM   #10
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
What is missing filter means?

"File "/usr/lib64/cups/filter/ppmtospl2" not available: No such file or directory"
 
Old 03-15-2013, 03:00 AM   #11
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current
Posts: 163

Original Poster
Rep: Reputation: 1
Please help me, i am still stuck with this massage when i add printer using CUPS.
How to create the needed file or directory?


"File "/usr/lib64/cups/filter/ppmtospl2" not available: No such file or directory"
 
  


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
Freelink debian on Buffalo NAS cups not working /usr/lib/cups/filter/hpcups failed linuxmandrake Debian 0 03-23-2010 04:45 PM
Can't print. connection to CUPS failed. hacker supreme Linux - Hardware 3 05-24-2007 11:12 AM
connection to cups server failed dwpbike Linux - Hardware 1 01-30-2006 11:50 AM
connection to cups server failed only if from server itself in KDE applications kyuso Fedora 0 01-22-2005 10:34 PM
Failed connection to X Server _ben_deb_ Debian 8 08-06-2003 11:26 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration