unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Alexander Asteroth <alexander.asteroth@h-brs.de>
To: help-guix@gnu.org
Subject: Issues with CUPS
Date: Fri, 03 Dec 2021 15:29:21 +0100	[thread overview]
Message-ID: <87sfv9yaax.fsf@h-brs.de> (raw)

Dear Daniel and Tobias,

I'm having trouble with cups on guix-system as well. I added it to the
system with

> (service  cups-service-type
>           (cups-configuration
>    	(web-interface? #t)
>    	(extensions (list cups-filters hplip-minimal))))

When the system is restarted and I try to access cups via localhost:631,
after clicking on some (admin) link to add a printer (or similar) it
takes 2minutes (exactly) for the page to show up. In
/var/log/cups/access_log and .../error_log numerrous repeated entries

> ==> /var/log/cups/access_log <==
> localhost - root [03/Dec/2021:15:26:11 +0100] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 0 - -
> localhost - - [03/Dec/2021:15:26:11 +0100] "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
>
> ==> /var/log/cups/error_log <==
> I [03/Dec/2021:15:26:11 +0100] [Client 313] Started "/gnu/store/9vm70ai4914w283sghx3vdz7gqja53j3-cups-server-bin/lib/cups/cgi-bin/admin.cgi" (pid=1341, file=166)

are found.

At some point is says:

> ==> /var/log/cups/access_log <==
> localhost - root [03/Dec/2021:15:26:11 +0100] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 0 - -
>
> ==> /var/log/cups/error_log <==
> W [03/Dec/2021:15:26:11 +0100] Max clients reached, holding new connections...
>
> ==> /var/log/cups/access_log <==
> localhost - - [03/Dec/2021:15:26:11 +0100] "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
>
> ==> /var/log/cups/error_log <==
> I [03/Dec/2021:15:26:11 +0100] Resuming new connection processing...
> W [03/Dec/2021:15:26:11 +0100] Max clients reached, holding new connections...
> I [03/Dec/2021:15:26:11 +0100] Resuming new connection processing...
> W [03/Dec/2021:15:26:11 +0100] Max clients reached, holding new connections...
> I [03/Dec/2021:15:26:11 +0100] Resuming new connection processing...
> W [03/Dec/2021:15:26:11 +0100] Max clients reached, holding new connections...
> I [03/Dec/2021:15:26:11 +0100] [Client 401] Started "/gnu/store/9vm70ai4914w283sghx3vdz7gqja53j3-cups-server-bin/lib/cups/cgi-bin/admin.cgi" (pid=1363, file=210)
>
> ==> /var/log/cups/access_log <==
> localhost - root [03/Dec/2021:15:26:11 +0100] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 0 - -
>
> ==> /var/log/cups/error_log <==
> I [03/Dec/2021:15:28:11 +0100] Resuming new connection processing...

As you can see, the first messages all happen instantly and after the
max client message there is a 2 min pause.

I have also another problem related to my printer wich is a Samsung
SCX-472x-series (accessed over ethernet). On openprinting.org the
suggested driver is
(https://www.openprinting.org/printer/Samsung/Samsung-SCX-472x) from
Samsung. So far I used it on debian and arch and it worked perfect, but
I thik it's non-GPL.

I can import only the ppd file for my printer but this refers to some
filter
/gnu/store/2q9cn98ahgba3fjgvjlnlvb4j928z17j-cups-server-bin/lib/cups/filter/rastertospl
which is not present in guix (but would be installed by the Samsung
installer to some place noexistent in guix). 

Any idea how to prodeed to get my printing working?

Cheers,

	Alex


             reply	other threads:[~2021-12-03 15:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 14:29 Alexander Asteroth [this message]
2021-12-03 20:25 ` Issues with CUPS Tobias Geerinckx-Rice
2021-12-03 20:54   ` Tobias Geerinckx-Rice
2021-12-04 10:32   ` Alexander Asteroth
2021-12-04 10:57     ` Tobias Geerinckx-Rice
2021-12-04 11:28   ` Daniel Meißner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfv9yaax.fsf@h-brs.de \
    --to=alexander.asteroth@h-brs.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).