LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-07-2018, 10:11 AM   #1
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Rep: Reputation: Disabled
Cups problem Canon Pixma MG3255


Hi all,
My name is Harry and I am a Linux/Xubuntu User from The Netherlands.
Usually I Post my questions on the Dutch Ubuntu Forum but since they experienced a D-dos attack months ago, the experts are probably very busy getting the Forum completed to operate. Therefore I Post my Problem here.

I have a Cups problem with my Canon Pixma MG3255 and the Printer is connected by USB-wire to my desktop PC. Does scan (Simple Scan) with Xubuntu and works fine with Windows 7 on my laptop.
Also tried using GIMP to print an PDF file, I am not able to see the printer at all.

The first thing I've noticed is the Pop-up with: "CUPS-server Problem" and with "Failed to connect to server".
Is "/run/cups/cups.sock" to connect to the server the right Text?
A Dutch Forum Member suggested try "systemctl enable cups.service" but that doesn't work in the Terminal because it won't accept my Password (although it is correct and functional in Synaptic).

Hope you understand my (crappy) English and are able to help me with this.

Regards,
Harry
 
Old 11-07-2018, 11:34 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
The systemctl command you quote will start cups at boot time for the future. However the fact that you have a cups socket in /run suggests that cups is already running. You can check this by running the command ps aux|grep cups in a terminal. You should get two hits, one for grep and one for the cups daemon.

If cups is running, you can enter the interface in your browser (address localhost:631) and try to set up your printer from there.

The fact that you can't use your password in a terminal is also something that you need to fix pronto. Are you sure you have the Dutch character map set for both text terminals and the graphical interface?

There is no need to apologise for your English. We use English as a lingua franca here but a lot of us are not native speakers.
 
1 members found this post helpful.
Old 11-07-2018, 12:59 PM   #3
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thank you Hazel

Used the terminal and this is what I got to see: harry@harry-desktop:~$ ps aux|grep cups
harry 2079 0.0 0.0 22012 1028 pts/0 S+ 19:51 0:00 grep --color=auto cups


localhost:631 : not able to connect

Using my password in the terminal does function unfortunate only not i.r.t. this Cups Problem

BTW I run Xubuntu 18.04LTS (usually this info is in my signature).
 
Old 11-07-2018, 01:08 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
My guess from your command line output and the fact you cannot connect through the browser, is that cups is not running. What happens when you run
Code:
sudo systemctl status cups
?
 
1 members found this post helpful.
Old 11-07-2018, 01:12 PM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
OK, cups is not running. That is shown by the fact that only the "grep cups" appears in your ps output and the cups browser interface is not accessible.

So you need to start cups and also to activate it permanently (those are two different things btw). That may possibly be all that's needed. The problem is how to do it, because you definitely need your password. So you must fix your terminal problem first.

You haven't said whether you are using a plain text console or a graphical one like gnome-terminal. That will make a difference if it is a mapping problem. Have you tried both? Do you have problems with (for example) punctuation marks in any graphical applications? I suggest you try with an editor like leafpad: type the letters, numbers and punctuation marks and see if any come out wrong. Then go to a linux virtual console and try there.

@sevendogsbsd: at the moment he can't use sudo because his terminal isn't accepting his password.

Last edited by hazel; 11-07-2018 at 01:13 PM.
 
2 members found this post helpful.
Old 11-07-2018, 01:30 PM   #6
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
My guess from your command line output and the fact you cannot connect through the browser, is that cups is not running. What happens when you run
Code:
sudo systemctl status cups
?
Do not know what is happening (does it repeat it self always?) but here is the outcome off it:

Code:
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling rest
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is a
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)...skipping...
● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)...skipping...
● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)


● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 20:19:48 CET; 1min 59s ago
     Docs: man:cupsd(8)
  Process: 759 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 759 (code=killed, signal=TERM)

nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Service hold-off time over, scheduling restart.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
nov 07 20:19:48 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Start request repeated too quickly.
nov 07 20:19:48 harry-desktop systemd[1]: cups.service: Failed with result 'start-limit-hit'.
nov 07 20:19:48 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
~
~
lines 1-13/13 (END)

Last edited by Harry07; 11-07-2018 at 01:37 PM.
 
Old 11-07-2018, 01:35 PM   #7
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
OK, cups is not running. That is shown by the fact that only the "grep cups" appears in your ps output and the cups browser interface is not accessible.

So you need to start cups and also to activate it permanently (those are two different things btw). That may possibly be all that's needed. The problem is how to do it, because you definitely need your password. So you must fix your terminal problem first.

You haven't said whether you are using a plain text console or a graphical one like gnome-terminal. That will make a difference if it is a mapping problem. Have you tried both? Do you have problems with (for example) punctuation marks in any graphical applications? I suggest you try with an editor like leafpad: type the letters, numbers and punctuation marks and see if any come out wrong. Then go to a linux virtual console and try there.

@sevendogsbsd: at the moment he can't use sudo because his terminal isn't accepting his password.
Leafpad: aAbbcC&*,;\`>~| no problems (imo)
linux virtual console: do not understand what it is or where to find it (sorry).
 
Old 11-07-2018, 01:46 PM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
You can get a linux virtual console by pressing simultaneously ctrl+alt+F1. You will see a black screen with a login prompt. If you can log in there with your normal password, you can use sudo too. To get back to your desktop, use alt+F7.

Here's a trick to to test out your graphical console. Open it and enter your password directly in response to the command prompt. Since the system won't be expecting a password, it won't do anything to hide your input. That way you can tell immediately if the password you typed is received correctly.

You also have a real problem with cups: The logged output (well done for finding it!) shows that cups does start but then it crashes. That will have to be fixed separately. But you can't fix it until you can use sudo properly.
 
1 members found this post helpful.
Old 11-07-2018, 01:53 PM   #9
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
ctrl+alt+F1 showed me my password.

Is it possible to Test different sudo lines to check some things to see what works and what not?

Last edited by Harry07; 11-07-2018 at 02:08 PM.
 
Old 11-07-2018, 02:09 PM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by Harry07 View Post
ctrl+alt+F1 showed me my password.
OK. To log in at a virtual console, you need to put your username in first. Then your password when prompted for it. If that works try using sudo systemctl cups start. We already know that cups will start and then crash. But if sudo gives you no errors, you have a way to fix anything. You need to try the same test on your graphical terminal too.

If sudo fails (and you know now that it's reading your password correctly), then you may have a sudoers file error. Did you edit that file lately?

Last edited by hazel; 11-07-2018 at 02:10 PM.
 
1 members found this post helpful.
Old 11-07-2018, 02:26 PM   #11
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
Probably stupid but I do not know if I use a username to get in the system My machine starts without username etc.
When I MUST have it (always), is it to find anywhere?
Attached Thumbnails
Click image for larger version

Name:	IMG_20181107_211430b.jpg
Views:	8
Size:	181.2 KB
ID:	28927  
 
Old 11-07-2018, 02:36 PM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Your screen capture shows that your username is harry (and not harry-desktop!). It looks like harry-desktop is the name of your machine. So you can log in and your password is accepted. Now can you use sudo on that console?

In the meantime I have done a bit of research. Synaptic doesn't use sudo to start up these days; it uses a different authentication program called pkexec. And you say that works for you. So if sudo really is screwed on your system, you should be able to use pkexec to fix things.

The cups error messages show that systemd is trying to repeatedly restart cups and probably doing it too quickly. So once you have got terminal sudo access back, the next thing to try will be to launch cups by hand and see if that works better.

Last edited by hazel; 11-07-2018 at 02:40 PM.
 
1 members found this post helpful.
Old 11-07-2018, 02:42 PM   #13
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
I've used: sudo systemctl cups start and got: unknown operation cups

P.s. I find so many Cups lines activated in Synaptic is it helpful to Post it here?

Last edited by Harry07; 11-07-2018 at 02:47 PM.
 
Old 11-07-2018, 02:54 PM   #14
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by Harry07 View Post
I've used: sudo systemctl cups start and got: unknown operation cups

P.s. I find so many Cups lines activated in Synaptic is it helpful to Post it here?
Oops! Sorry. I think the correct form is "sudo systemctl start cups.service". Try again.
 
1 members found this post helpful.
Old 11-07-2018, 03:05 PM   #15
Harry07
LQ Newbie
 
Registered: Nov 2018
Location: The Netherlands
Posts: 20

Original Poster
Rep: Reputation: Disabled
Didn't work well therefore I tried it in Terminal.
This is the answer: harry@harry-desktop:~$ sudo systemctl start cups.service
Job for cups.service failed.
See "systemctl status cups.service" and "journalctl -xe" for details.


Code:
harry@harry-desktop:~$ systemctl status cups.service
● cups.service - CUPS Scheduler
   Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: ena
   Active: failed (Result: start-limit-hit) since Wed 2018-11-07 22:03:52 CET; 2
     Docs: man:cupsd(8)
  Process: 18094 ExecStart=/usr/sbin/cupsd -l (code=killed, signal=TERM)
 Main PID: 18094 (code=killed, signal=TERM)

nov 07 22:03:52 harry-desktop systemd[1]: cups.service: Service hold-off time ov
nov 07 22:03:52 harry-desktop systemd[1]: cups.service: Scheduled restart job, r
nov 07 22:03:52 harry-desktop systemd[1]: Stopped CUPS Scheduler.
nov 07 22:03:52 harry-desktop systemd[1]: cups.service: Start request repeated t
nov 07 22:03:52 harry-desktop systemd[1]: cups.service: Failed with result 'star
nov 07 22:03:52 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
nov 07 22:03:59 harry-desktop systemd[1]: cups.service: Start request repeated t
nov 07 22:03:59 harry-desktop systemd[1]: cups.service: Failed with result 'star
nov 07 22:03:59 harry-desktop systemd[1]: Failed to start CUPS Scheduler.
lines 1-16/16 (END)
Code:
harry@harry-desktop:~$ journalctl -xe
nov 07 22:07:41 harry-desktop NetworkManager[613]: <info>  [1541624861.4499] dhc
nov 07 22:07:41 harry-desktop NetworkManager[613]: <info>  [1541624861.4499] dhc
nov 07 22:07:41 harry-desktop NetworkManager[613]: <info>  [1541624861.4500] dhc
nov 07 22:07:41 harry-desktop NetworkManager[613]: <info>  [1541624861.4500] dhc
nov 07 22:07:41 harry-desktop dbus-daemon[609]: [system] Activating via systemd:
nov 07 22:07:41 harry-desktop dhclient[1111]: bound to 192.168.178.108 -- renewa
nov 07 22:07:41 harry-desktop systemd[1]: Starting Network Manager Script Dispat
-- Subject: Unit NetworkManager-dispatcher.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit NetworkManager-dispatcher.service has begun starting up.
nov 07 22:07:41 harry-desktop dbus-daemon[609]: [system] Successfully activated 
nov 07 22:07:41 harry-desktop systemd[1]: Started Network Manager Script Dispatc
-- Subject: Unit NetworkManager-dispatcher.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit NetworkManager-dispatcher.service has finished starting up.
-- 
-- The start-up result is RESULT.
nov 07 22:07:41 harry-desktop nm-dispatcher[18673]: req:1 'dhcp4-change' [enp2s0
nov 07 22:07:41 harry-desktop nm-dispatcher[18673]: req:1 'dhcp4-change' [enp2s0
lines 2814-2836/2836 (END)

Last edited by Harry07; 11-07-2018 at 03:08 PM.
 
  


Reply



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] Print Problem: Xubuntu + Cups + Canon Pixma MX925 (MX920 type) beje Linux - Hardware 3 08-22-2018 03:48 AM
How to setup a Canon pixma MG2510 on CUPS? wes67 Linux - Newbie 2 01-08-2017 06:57 AM
Canon PIXMA MP140 and CUPS - what happened? turboscrew Linux - Hardware 6 06-23-2013 07:38 AM
Can't find Cups driver for Canon Pixma IP2200 gw1500se Mandriva 4 12-16-2010 02:34 AM
How to Install Canon Pixma IP1800 on a win 98 using CUPS? placa1783 Linux - Newbie 1 03-18-2008 02:05 PM

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

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