LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2017, 03:49 PM   #1
davethesteam
LQ Newbie
 
Registered: Jan 2017
Location: West Midlands UK
Distribution: Ubuntu 16.04LTS
Posts: 4

Rep: Reputation: Disabled
CUPS Failed to Connect to Server


I have Ubuntu 16.04LTS 64 bit.
My Canon Pixma iP4950 was working fine but after a partial update, the CUPS file packed up.
When trying to access the printer, I get the report
'Printing Service Not available. Start the computer on this computer or connect to another server'

Also, I have removed 'Printers' from the system and reinstalled same.
I have also been through long and laborious Terminal sessions including reintstalling cups

I do not know how to 'start the service'
On pressing the connect button, the drop down menu reads:
/var/run/cups/cups.sock.
Can anyone help please - I am not familiar with any text authoring or modification in the terminal other than copying and pasting from those that know
Thank you
 
Old 01-26-2017, 07:15 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I'm not the best with printers but I'll share with you what works for me when my printer won't work. Having said that this is the limit on what I can tell you to try.

Go to http://localhost:631 then select Printers.
Select the printer, then Maintenance, then Cancel all Jobs (just to make sure there are no pending jobs) Then select Administration, then Delete the Printer.
Exit Cups

Re-install the Printer and it should print for you. Maybe try:
Code:
sudo service cups restart
https://help.ubuntu.com/lts/serverguide/cups.html
http://www.novell.com/documentation/...l/ch05s07.html
http://togaware.com/linux/survivor/CUPS_Command.html

What distribution are you running? Ubuntu?
 
Old 01-27-2017, 02:40 AM   #3
davethesteam
LQ Newbie
 
Registered: Jan 2017
Location: West Midlands UK
Distribution: Ubuntu 16.04LTS
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you.
I have tried to get to 'localhost:631', but my browser (Firefox) reports 'Unable to connect'
Downloading and trying Chrome has the same effect
I have also tried the command line you suggest - no cups!!

I am rapidly coming to the conclusion I am going have to copy everything on the computer and undertake a clean install.
 
Old 01-27-2017, 04:40 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by davethesteam View Post
Thank you.
I have tried to get to 'localhost:631', but my browser (Firefox) reports 'Unable to connect'
Downloading and trying Chrome has the same effect
I have also tried the command line you suggest - no cups!!

I am rapidly coming to the conclusion I am going have to copy everything on the computer and undertake a clean install.
Run this in your terminal as 'root':
Code:
cupsd
Than try going to localhost:631 and it should work. Did for me when I got unable to connect.
 
1 members found this post helpful.
Old 01-27-2017, 07:42 PM   #5
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 134

Rep: Reputation: 17
just a couple of ideas...

You wrote the update was only partial. - Have you tried a complete one? As in
Code:
sudo apt-get update
sudo apt-get upgrade
and maybe even
Code:
sudo apt-get dist-upgrade
(At least with Unity the Ubunty (12/14/16) dependency handling seems buggy.)

Have you checked that cups is not running any more before trying to restart it?
Code:
ps ax | grep cups
or something like
Code:
service cups status
Anything suspicious in the log files in /var/log/cups/ (especially error_log) right after (re)starting cups? (That's where they are on my Debian Sid. Most likely very similar on a *buntu.)
 
  


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
[SOLVED] CUPS Server Error - httpConnectionEncrypt Failed gentisle Solaris / OpenSolaris 6 06-25-2015 07:54 PM
Print to CUPS server fails with "/usr/lib/cups/filter/foomatic-rip failed" Aule Linux - Newbie 6 09-27-2013 09:08 AM
Connection to CUPS server failed gabytf Linux - Hardware 10 03-15-2013 03:00 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:17 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