You are not logged in.

#1 2013-03-27 20:02:17

w201
Member
Registered: 2012-10-04
Posts: 243

[SOLVED] Unable to Print from CUPS - DBus Errors?

Hi all-

I'm unable to print on CUPS after doing a recent system upgrade. Not excatly sure what's going on, but below is an output of the error log. Just as a side note- I have two arch machines. The one I'm having problems with has XFCE, my other arch has aweosme and cups works fine. So we can rule out the actual printer as being the problem.

A few of the errors below are attempts to cancel a test print page job and getting forbidden. Not sure why this would happen other than possibly not logging in as root, but that's not even the main issue. So yea, any help would be appreciated.

Just one more thing, I've noticed in /etc/cups that one of the config files was renamed to cupsd.conf.pacnew. Anyone know why pacman is over-writting those config files?

W [27/Mar/2013:12:37:37 -0400] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_EPSON_Stylus_Photo_R220
E [27/Mar/2013:15:37:31 -0400] Returning HTTP Forbidden for Cancel-Job (ipp://localhost/jobs/44) from localhost
E [27/Mar/2013:15:39:22 -0400] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/EPSON_Stylus_Photo_R220) from localhost
E [27/Mar/2013:15:40:34 -0400] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [27/Mar/2013:15:40:34 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [27/Mar/2013:15:41:19 -0400] Returning HTTP Forbidden for Cancel-Job (ipp://localhost/jobs/44) from localhost
E [27/Mar/2013:15:42:07 -0400] Returning HTTP Forbidden for Purge-Jobs (ipp://localhost/printers/EPSON_Stylus_Photo_R220) from localhost
E [27/Mar/2013:15:42:31 -0400] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [27/Mar/2013:15:42:31 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden

Last edited by w201 (2013-03-27 21:57:26)

Offline

#2 2013-03-27 20:31:22

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,073

Re: [SOLVED] Unable to Print from CUPS - DBus Errors?

w201 wrote:

Just one more thing, I've noticed in /etc/cups that one of the config files was renamed to cupsd.conf.pacnew. Anyone know why pacman is over-writting those config files?

In fact, it's not overwriting the config file, which is why you have a pacnew file. You need to read up a bit more on pacman and pacnew and pacsave in general.

You should merge any and all pacnews with your corresponding config files if pacman tells you that it has created a pacnew file during upgrade. Don't just replace them with newer versions though, because it can lead to bad things like locking you out of the system if you do that for certain files like group or gshadow etc.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2013-03-27 21:14:20

w201
Member
Registered: 2012-10-04
Posts: 243

Re: [SOLVED] Unable to Print from CUPS - DBus Errors?

Inxsible wrote:
w201 wrote:

Just one more thing, I've noticed in /etc/cups that one of the config files was renamed to cupsd.conf.pacnew. Anyone know why pacman is over-writting those config files?

In fact, it's not overwriting the config file, which is why you have a pacnew file. You need to read up a bit more on pacman and pacnew and pacsave in general.

You should merge any and all pacnews with your corresponding config files if pacman tells you that it has created a pacnew file during upgrade. Don't just replace them with newer versions though, because it can lead to bad things like locking you out of the system if you do that for certain files like group or gshadow etc.

You're completely right, it's not overwriting the files, hence pacnew... bad choice of words.


***EDIT***

Okay....well, I read up on pacnew and pacsave. Thanks for pointing that out, Inxsible. Merging the files solved the problem.

Thanks again!

Last edited by w201 (2013-03-27 21:57:00)

Offline

Board footer

Powered by FluxBB