cannot login to cups

I’ve reviewed http://forums.opensuse.org/english/get-technical-help-here/network-internet/397084-cups-password-2.html
I’ve run “lppasswd” to allow every user id on the system (private box). It seems to work fine, but none of root, admin, and my id are accepted. It thinks for several seconds on “admin”, but still says, “Nope. Not going to let you” anyway. I’ve edited /etc/cups/cupsd.conf to ensure that every “<Location” stanza says both “Allow localhost” and “Allow 127.0.0.2”. I’ve set “SystemGroup” to “sys root lp dev users”.

So, I’ve wasted 1.5 hours on this dang thing all because HP said I need to update. All I want to do is convince it that the only printer is the default printer and that 8.5 inch by 11 inch paper is not A4. It should not be so hard. :frowning: Thank you!

On 2013-08-16 18:16, bkorb wrote:

> So, I’ve wasted 1.5 hours on this dang thing all because HP said I need
> to update.

HP?

Are you sure that you have openSUSE? HP installs SLED, and that has a
different forum.

Try this:


cer@Telcontar:~> cat /etc/SuSE-release
openSUSE 12.3 (x86_64)
VERSION = 12.3
CODENAME = Dartmouth
cer@Telcontar:~>

Please paste it complete, from initial prompt to final prompt, using
code tags (the ‘#’ button).
Posting in
Code Tags - A Guide


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I am reasonably sure I know that I have an HP printer and I don’t have SuSE Linux Enterprise Server installed.
I am also sure that the HP Device Manager auto-updater asked.

# head -n 4000 ../SuSE-*
==> ../SuSE-brand <==
openSUSE
VERSION = 12.3

==> ../SuSE-release <==
openSUSE 12.3 (x86_64)
VERSION = 12.3
CODENAME = Dartmouth

post-10-minute PS:

Meanwhile, continuing to squander time occasionally, I got led to this file: /var/log/cups/error_log

[FONT=arial]and the text: [/FONT]

E [16/Aug/2013:11:18:18 -0700] cupsdAuthorize: Local authentication certificate not found!!

I do wich I knew why it could not find the certificate. It used to be able to before today’s update.

However, YaST did get the thing set as default now. The 60 second startup/shutdown times pale in comparison to the time I’ve spent trying to authenticate myself to Cups. Using YaST to manage the pint queues is like hunting varmets with a howitzer. It is not to scale.

/etc/init.d/cups restart isn’t a happy camper either:

E [16/Aug/2013:11:25:18 -0700] Unable to remove /var/run/cups/certs/0!
E [16/Aug/2013:11:25:18 -0700] Unable to finalize "/var/cache/cups/job.cache": No such file or directory
E [16/Aug/2013:11:25:18 -0700] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [16/Aug/2013:11:25:18 -0700] Unable to bind broadcast socket - Address already in use.
E [16/Aug/2013:11:25:27 -0700] Browsing=1
E [16/Aug/2013:11:25:27 -0700] BrowseLocalProtocols=0
E [16/Aug/2013:11:25:27 -0700] BrowseRemoteProtocols=1
E [16/Aug/2013:11:25:27 -0700] BROWSE_CUPS=1
E [16/Aug/2013:11:25:27 -0700] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [16/Aug/2013:11:25:27 -0700] Unable to bind socket for address 127.0.0.1:631 - Address already in use.

On 2013-08-16 20:06, bkorb wrote:
>
> I am reasonably sure I know that I have an HP printer and I don’t have
> SuSE Linux Enterprise Server installed.
> I am also sure that the HP Device Manager auto-updater asked.
>
> Code:
> --------------------
> # head -n 4000 …/SuSE-*
> ==> …/SuSE-brand <==
> openSUSE
> VERSION = 12.3
>
> ==> …/SuSE-release <==
> openSUSE 12.3 (x86_64)
> VERSION = 12.3
> CODENAME = Dartmouth
> --------------------

Well, I’m baffled, I don’t know what that HP thing is, nor what it does.
And I don’t see any recent update related to cups :-? Last one I see is
dated June 7th.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-08-16 20:26, bkorb wrote:

> I do wich I knew why it could not find the certificate. It used to be
> able to before today’s update.

Are you using https with cups, perchance?


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-08-16 20:36, bkorb wrote:
>
> /etc/init.d/cups restart isn’t a happy camper either:
>
> Code:
> --------------------
> E [16/Aug/2013:11:25:18 -0700] Unable to remove /var/run/cups/certs/0!
> E [16/Aug/2013:11:25:18 -0700] Unable to finalize “/var/cache/cups/job.cache”: No such file or directory
> E [16/Aug/2013:11:25:18 -0700] Unable to bind socket for address [v1.::1]:631 - Address already in use.
> E [16/Aug/2013:11:25:18 -0700] Unable to bind broadcast socket - Address already in use.
> E [16/Aug/2013:11:25:27 -0700] Browsing=1
> E [16/Aug/2013:11:25:27 -0700] BrowseLocalProtocols=0
> E [16/Aug/2013:11:25:27 -0700] BrowseRemoteProtocols=1
> E [16/Aug/2013:11:25:27 -0700] BROWSE_CUPS=1
> E [16/Aug/2013:11:25:27 -0700] Unable to bind socket for address [v1.::1]:631 - Address already in use.
> E [16/Aug/2013:11:25:27 -0700] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
> --------------------

Try stopping cups first, and then have a look at “/var/run/cups/” with
“systemctl stop cups.service”.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)