Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #228779 > unrolled thread

cups: Empty Basic password

Started byRainer Dorsch <ml@bokomoko.de>
First post2020-11-19 17:00 +0100
Last post2020-11-20 14:40 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  cups: Empty Basic password Rainer Dorsch <ml@bokomoko.de> - 2020-11-19 17:00 +0100
    Re: cups: Empty Basic password l0f4r0@tuta.io - 2020-11-19 22:30 +0100
      Re: cups: Empty Basic password Rainer Dorsch <ml@bokomoko.de> - 2020-11-19 22:40 +0100
    Re: cups: Empty Basic password Brian <ad44@cityscape.co.uk> - 2020-11-20 14:40 +0100

#228779 — cups: Empty Basic password

FromRainer Dorsch <ml@bokomoko.de>
Date2020-11-19 17:00 +0100
Subjectcups: Empty Basic password
Message-ID<BcUvL-3rI-1@gated-at.bofh.it>
Hello,

I am running a cups server which works as expected, but I just realized that 
the error log show a tremendous amount of entries:

root@home:~# tail /var/log/cups/error_log 
E [19/Nov/2020:16:14:00 +0100] [Client 49726] Empty Basic password. 
E [19/Nov/2020:16:14:00 +0100] [Client 49729] Empty Basic password. 
E [19/Nov/2020:16:14:00 +0100] [Client 49732] Empty Basic password. 
E [19/Nov/2020:16:14:01 +0100] [Client 49735] Empty Basic password. 
E [19/Nov/2020:16:14:01 +0100] [Client 49738] Empty Basic password. 
E [19/Nov/2020:16:14:01 +0100] [Client 49741] Empty Basic password. 
E [19/Nov/2020:16:14:01 +0100] [Client 49744] Empty Basic password. 
E [19/Nov/2020:16:14:01 +0100] [Client 49747] Empty Basic password. 
E [19/Nov/2020:16:14:02 +0100] [Client 49750] Empty Basic password. 
E [19/Nov/2020:16:14:02 +0100] [Client 49753] Empty Basic password. 
root@home:~# 

Digging further, I realized that cupsd keeps one core of the server busy

 PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                                                                          
28032 root      20   0   82452  14572   5828 R  98.0   0.7  50:14.12 cupsd                                                                                                                                                                                                                            

The error log entries stops, if I poweroff another Debian system with cups 
running as a client

rd@h370:~$ cat /etc/cups/client.conf 
ServerName 192.168.7.1
rd@h370:~$ 

On the client side, I do not see corresponding log entries:

rd@h370:~$ cat /var/log/cups/error_log
E [19/Nov/2020:07:43:29 +0100] Missing value on line 1561 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 1612 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 2542 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 5366 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 5379 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 5392 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 6235 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 6261 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:43:29 +0100] Missing value on line 6274 of /var/cache/cups/
job.cache.
E [19/Nov/2020:07:51:45 +0100] [Client 3] Returning IPP client-error-bad-
request for Create-Printer-Subscriptions (/) from localhost.
E [19/Nov/2020:11:59:23 +0100] [Client 5] Returning IPP client-error-bad-
request for Create-Printer-Subscriptions (/) from localhost.
E [19/Nov/2020:14:33:28 +0100] [Client 6] Returning IPP client-error-bad-
request for Create-Printer-Subscriptions (/) from localhost.
E [19/Nov/2020:15:52:09 +0100] [Client 16] Returning IPP client-error-bad-
request for Create-Printer-Subscriptions (/) from localhost.
rd@h370:~$ 

Is there anything wrong with my setup? As I wrote before, I see no functional 
problem.

Any advice or hint is welcome.

Thanks
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/

[toc] | [next] | [standalone]


#228784

Froml0f4r0@tuta.io
Date2020-11-19 22:30 +0100
Message-ID<BcZF7-6Ly-1@gated-at.bofh.it>
In reply to#228779
Hi,

19 nov. 2020 à 16:20 de ml@bokomoko.de:

> Is there anything wrong with my setup? As I wrote before, I see no functional 
> problem.
>
You have python-cups installed right?
What is its version?

Has the user been added to lpadmin?
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667995

There is also another potential solution at https://ubuntuforums.org/archive/index.php/t-2055965.html but I'm not sure it's recommended...

Best regards,
l0f4r0

[toc] | [prev] | [next] | [standalone]


#228785

FromRainer Dorsch <ml@bokomoko.de>
Date2020-11-19 22:40 +0100
Message-ID<BcZOO-6OZ-17@gated-at.bofh.it>
In reply to#228784
Am Donnerstag, 19. November 2020, 22:20:37 CET schrieb l0f4r0@tuta.io:
> Hi,
> 
> 19 nov. 2020 à 16:20 de ml@bokomoko.de:
> > Is there anything wrong with my setup? As I wrote before, I see no
> > functional problem.
> 
> You have python-cups installed right?

No, neither on cups server, nor on cups client

rd@home:~$ apt-cache policy python-cups
python-cups:
  Installed: (none)
  Candidate: 1.9.73-2+b1
  Version table:
     1.9.73-2+b1 500
        500 http://ftp.de.debian.org/debian buster/main armhf Packages
rd@home:~$ logout
Connection to bc closed.
rd@h370:~$ apt-cache policy python-cups
python-cups:
  Installiert:           (keine)
  Installationskandidat: 1.9.73-2+b1
  Versionstabelle:
     1.9.73-2+b1 500
        500 http://ftp-stud.hs-esslingen.de/debian buster/main amd64 Packages
rd@h370:~$ 

> What is its version?

Not installed, both systems client and server are Debian buster.

> 
> Has the user been added to lpadmin?
> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667995

Which user? My user on the client yes:

rd@h370:~$ groups
rd adm dialout fax cdrom floppy sudo dip video plugdev users lpadmin scanner 
docker vboxusers i2psvc wireshark sispmctl
rd@h370:~$ 


> > 
> There is also another potential solution
> at https://ubuntuforums.org/archive/index.php/t-2055965.html but I'm not
> sure it's recommended...

Not sure if I understand this one.

The problem became worse, it seems to be intermittent, it is gone right now 
(but I am sure it will eventually come back).

Thanks
Rainer

> Best regards,
> l0f4r0


-- 
Rainer Dorsch
http://bokomoko.de/

[toc] | [prev] | [next] | [standalone]


#228804

FromBrian <ad44@cityscape.co.uk>
Date2020-11-20 14:40 +0100
Message-ID<BdeNQ-7Db-19@gated-at.bofh.it>
In reply to#228779
On Thu 19 Nov 2020 at 16:20:25 +0100, Rainer Dorsch wrote:

> The error log entries stops, if I poweroff another Debian system with cups 
> running as a client
> 
> rd@h370:~$ cat /etc/cups/client.conf 
> ServerName 192.168.7.1
> rd@h370:~$

Why not use a more modern printing technique? client.conf is deperecated.
See client.conf(5) and

https://lists.cups.org/pipermail/cups/2015-October/055525.html

-- 
Brian. 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web