LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2019, 02:36 PM   #1
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Rep: Reputation: Disabled
Cups server error I cannot resolve


For about 2 months now, I cannot seem to get my cups server to connect for my hp printer. Using Linux Mint 19 system. I'm fairly new to linux systems. I have researched endless sites and still I'm at a loss. Any help is greatly appreciated. I've attached the screenshots of the errors.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-05-07 15-31-43.png
Views:	138
Size:	13.2 KB
ID:	30518   Click image for larger version

Name:	Screenshot from 2019-05-07 15-32-19.png
Views:	136
Size:	14.6 KB
ID:	30519   Click image for larger version

Name:	Screenshot from 2019-05-07 15-32-46.png
Views:	145
Size:	7.7 KB
ID:	30520  
 
Old 05-07-2019, 02:47 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Going to need more info, like printer model and connection method (wireless, usb, etc). Also, do you have the hplip package installed?
 
Old 05-07-2019, 02:54 PM   #3
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Okay. My computer system is a dell optiplex with linux mint 19 installed. the printer is HP office jet pro. I have tried usb/wireless.I have the hplip package installed.
 
Old 05-07-2019, 02:54 PM   #4
Oli_Gendebien
LQ Newbie
 
Registered: May 2019
Posts: 17

Rep: Reputation: Disabled
CUPS server name is showing a path, that doesn't look right
 
1 members found this post helpful.
Old 05-07-2019, 03:02 PM   #5
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Agree, should be an IP. What happens when you plug localhost:631 in a browser? what do you get back?
 
Old 05-07-2019, 03:16 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
From what I can tell the errors look normal because either the cups server is not running, is not installed or maybe the firewall isn't allowing a connection. What happens when you run the command.

Code:
sudo systemctl start cups
 
1 members found this post helpful.
Old 05-07-2019, 05:49 PM   #7
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
When I plug localhost:631, the address reads as "unable to connect to server localhost:631". I turned off my firewall for a few, and I still receive that "unable to connect" address. When I type "sudo systemctl start cups", and enter my password, it is accepted in terminal and waiting for the next code I think? Cups is not running or is disabled I think.
 
Old 05-07-2019, 05:58 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
If nothing happens and all you see is the command line prompt then cups started properly. You can verify by typing in the command
Code:
 sudo systemctl status cups
You can enable cups to start at boot time by running the command
Code:
sudo systemctl enable cups
Now try adding your printer using the printers wizard.

Last edited by michaelk; 05-07-2019 at 05:59 PM.
 
Old 05-07-2019, 06:07 PM   #9
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
Okay, when I add "sudo systemctl status cups", a list comes up, and at the bottom in red, it says failed.
 
Old 05-07-2019, 06:08 PM   #10
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
"Failed to start CUPS"
 
Old 05-07-2019, 06:14 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Can you post the list?
 
1 members found this post helpful.
Old 05-07-2019, 06:18 PM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Can you please paste the entire command-output text here please (use shift-ctrl-c to copy it from your terminal and then ctrl-v to paste it here).

If possible, please do that within CODE tags (see https://www.linuxquestions.org/quest...og.php?b=36313).

For example:

Code:
$ sudo systemctl status cups
.... output....
 
Old 05-07-2019, 06:21 PM   #13
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
$ sudo systemctl status cups
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: ena
Active: failed (Result: start-limit-hit) since Tue 2019-05-07 18:56:12 EDT; 8
Docs: man:cupsd(8)
Main PID: 1200 (code=killed, signal=TERM)

May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Service
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Schedule
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Stopped CUPS Scheduler
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Started CUPS Scheduler
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Service
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Schedule
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Stopped CUPS Scheduler
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Start re
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Failed w
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Failed to start CUPS S
lines 1-16/16 (END)
 
Old 05-07-2019, 06:28 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Just a quick note that if you expand your terminal to a larger size (full screen, perhaps), and then run the command again, then it won't truncate the text at the right-hand side as it has done above. In saying that, I'll now hand you back to the safe hands of michaelk to analyse the output.
 
Old 05-07-2019, 06:32 PM   #15
sudo1
LQ Newbie
 
Registered: Dec 2018
Posts: 13

Original Poster
Rep: Reputation: Disabled
$ sudo systemctl status cups
[sudo] password for theseanmmoreband:
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Tue 2019-05-07 18:56:12 EDT; 34min ago
Docs: man:cupsd(8)
Main PID: 1200 (code=killed, signal=TERM)

May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Service hold-off time over, scheduling restart.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Scheduled restart job, restart counter is at 4.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Stopped CUPS Scheduler.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Started CUPS Scheduler.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Service hold-off time over, scheduling restart.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Stopped CUPS Scheduler.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Start request repeated too quickly.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: cups.service: Failed with result 'start-limit-hit'.
May 07 18:56:12 theseanmmoreband-OptiPlex-790 systemd[1]: Failed to start CUPS Scheduler.
 
  


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] Need help to resolve "error when calling class $cls: $args" when i try to run my .tcl file. could you please help me to resolve. bharaths248 Linux - Newbie 3 03-16-2019 07:38 AM
How I can resolve the error Postfix? warning: hostname does not resolve to address kanzer Linux - Server 1 03-22-2013 08:56 AM
Unable to resolve ulr. /et/resolve.conf looks fine? TheBrick Linux - Networking 3 02-14-2008 04:13 AM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM
DNS can't resolve gmail.com but can resolve everything else? TongueTied Linux - Networking 2 01-24-2006 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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