I have gone into https://wiki.ubuntu.com/DebuggingPrintingProblems and 
tried to follow the instructions of the "CUPS error_log" section.

Step 1.
I can't do it. Can't find "Save debugging information for 
troubleshooting" on  "System" -> "Administration" -> "Printing". I have 
System Setting --> Printers --> Help --> Troubleshoot --> Forward. I get 
the message
CUPS Service Stopped
The CUPS print speel does not appear to be running. To correct this, 
choose System-Administration-Services from main menu and look for 'cups' 
service.
My difficulty is there isn't such a path to follow. The is no 
Administration icon.

Step 2:
@Eliot:~$ cupsctl LogLevel=debug
cupsctl: Unable to connect to server: Bad file descriptor

Step 3:
Skipped - Not applicable.

Step4: I have gone into /etc/cups/cupsd.conf and manually uncommented 
LogLevel....
Original:
# Deactivate CUPS' internal logrotating, as we provide a better one, 
especially
# LogLevel debug2 gets usable now
MaxLogSize 0
Presently:
# Deactivate CUPS' internal logrotating, as we provide a better one, 
especially
LogLevel debug2 gets usable now
MaxLogSize 0
@Eliot:~$ $ sudo /etc/init.d/cups restart
$: command not found
The file is there. I believe Ubuntu16.04 is using systemd. I tried this 
and got the below failure message.
@Eliot:~$ sudo systemctl restart /etc/systemd/system/cups.service
Failed to restart etc-systemd-system-cups.service.mount: Unit 
etc-systemd-system-cups.service.mount not found.

Unable to do Step 5,6, 7, 8.


On 03/02/2017 05:32, Till Kamppeter wrote:
> Your syslog contains:
>
> Feb 2 22:36:43 Eliot udev-configure-printer[5761]: failed to connect to
> CUPS server; giving up
>
> and you also get
>
> @Eliot:~$ lpinfo -v
> lpinfo: Bad file descriptor
>
> Seems that there is a problem with the CUPS daemon not starting.
>
> Please run the command
>
> ls -l /var/run/cups/cups.sock
>
> and post the output here.
>
> Also attach your files /etc/cups/cupsd.conf and /etc/cups/cups-
> files.conf.
>
> Go to
>
> https://wiki.ubuntu.com/DebuggingPrintingProblems
>
> and follow the instructions of the "CUPS error_log" section.
>
> Please attach the files one by one, do not compress them and do not
> package them together, thanks.
>
> ** Changed in: cups (Ubuntu)
>         Status: New => Incomplete
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1661287

Title:
  Canon printer failed to connect with CUPS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1661287/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to