Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
$ 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)
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.
$ 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.