Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Delta: We're Amtrak with wings. -- David Letterman


computers / alt.os.linux.mageia / Re: cups and "Removing document files"

SubjectAuthor
* cups and "Removing document files"William Unruh
`* Re: cups and "Removing document files"David W. Hodgins
 `* Re: cups and "Removing document files"William Unruh
  `* Re: cups and "Removing document files"Jim Whitby
   `* Re: cups and "Removing document files"William Unruh
    `* Re: cups and "Removing document files"David W. Hodgins
     `- Re: cups and "Removing document files"William Unruh

1
cups and "Removing document files"

<schsh6$phm$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3931&group=alt.os.linux.mageia#3931

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia
Subject: cups and "Removing document files"
Date: Mon, 12 Jul 2021 17:01:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <schsh6$phm$1@dont-email.me>
Injection-Date: Mon, 12 Jul 2021 17:01:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9dc66bf3a3c9ff153b3e0000f7b83e06";
logging-data="26166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+g/mM8H6Rx9wqnFnN4gf3W"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:3jK69F2ZKjL2GKxgnUABoWBD1t4=
 by: William Unruh - Mon, 12 Jul 2021 17:01 UTC

Cups is dumping error messages into my /var/log/cups/error_log file

D [12/Jul/2021:09:48:37 -0700] [Job 143] Removing document files.
D [12/Jul/2021:09:48:37 -0700] cupsdMarkDirty(---J-)
D [12/Jul/2021:09:48:37 -0700] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"

But none of the files are actually removed from /var/spool/cups

Since I have about 20 cxxxxxx type files in /var/spool/cups it cycles
through these about 1 ever 10 sec giving me the above errors for each
of them.
I have put
PreserveJobHistory Yes
into /etc/cups/cupsd.conf
and restarted, but it makes no difference.

What can I do to stop this nonesense

Re: cups and "Removing document files"

<op.06fke3fva3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3932&group=alt.os.linux.mageia#3932

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia
Subject: Re: cups and "Removing document files"
Date: Mon, 12 Jul 2021 14:31:41 -0400
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <op.06fke3fva3w0dxdave@hodgins.homeip.net>
References: <schsh6$phm$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="e9728c611596a6f854d552fda03a1bc6";
logging-data="11048"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ib7ANFKYUaBS/tIH47wOLkOW6nNxRp/w="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:nuosESD4oLzpqahP6QEsWRFhdl0=
 by: David W. Hodgins - Mon, 12 Jul 2021 18:31 UTC

On Mon, 12 Jul 2021 13:01:27 -0400, William Unruh <unruh@invalid.ca> wrote:

> Cups is dumping error messages into my /var/log/cups/error_log file
>
> D [12/Jul/2021:09:48:37 -0700] [Job 143] Removing document files.
> D [12/Jul/2021:09:48:37 -0700] cupsdMarkDirty(---J-)
> D [12/Jul/2021:09:48:37 -0700] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"

Try running (as root) ...

systemctl stop cups.service
chgrp -cR lp /var/spool/cups
systemctl start cups.service
lpq

If the lpq then shows there are stopped jobs use lprm to remove them with
"lprm job-id(s)" replacing job-id(s) by the job numbers shown by lpq.

Regards Dave Hodgins

--
Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
email replies.

Re: cups and "Removing document files"

<scibp3$20j$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3934&group=alt.os.linux.mageia#3934

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia
Subject: Re: cups and "Removing document files"
Date: Mon, 12 Jul 2021 21:21:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <scibp3$20j$2@dont-email.me>
References: <schsh6$phm$1@dont-email.me>
<op.06fke3fva3w0dxdave@hodgins.homeip.net>
Injection-Date: Mon, 12 Jul 2021 21:21:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9dc66bf3a3c9ff153b3e0000f7b83e06";
logging-data="2067"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18aqd2c1ZuVI/M8wegmlbvz"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:zw45jfGsflVnXheuiomKfOUpME4=
 by: William Unruh - Mon, 12 Jul 2021 21:21 UTC

On 2021-07-12, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
> On Mon, 12 Jul 2021 13:01:27 -0400, William Unruh <unruh@invalid.ca> wrote:
>
>> Cups is dumping error messages into my /var/log/cups/error_log file
>>
>> D [12/Jul/2021:09:48:37 -0700] [Job 143] Removing document files.
>> D [12/Jul/2021:09:48:37 -0700] cupsdMarkDirty(---J-)
>> D [12/Jul/2021:09:48:37 -0700] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
>
> Try running (as root) ...
>
> systemctl stop cups.service
> chgrp -cR lp /var/spool/cups
> systemctl start cups.service
> lpq
>
> If the lpq then shows there are stopped jobs use lprm to remove them with
> "lprm job-id(s)" replacing job-id(s) by the job numbers shown by lpq.

Unfortunately both /var/spool/cups and all files in it are already group
lp.

sudo ls -la /var/spool/cups
total 836
drwx--x--- 3 root lp 4096 Jul 12 09:44 .
drwxr-xr-x 12 root root 4096 Feb 21 2020 ..
-rw------- 1 root lp 1074 Apr 20 07:28 c00106
-rw------- 1 root lp 1045 Apr 20 11:44 c00107
-rw------- 1 root lp 1074 Apr 20 08:45 c00108
-rw------- 1 root lp 825 Apr 20 09:26 c00109
-rw------- 1 root lp 1074 Apr 20 09:11 c00110
-rw------- 1 root lp 1118 May 12 11:01 c00111
-rw------- 1 root lp 1114 May 24 14:11 c00112
....

And lpq -a shows empty.

sudo lpq -a
no entries

Should /var/spool/cups be readable/writeable by lp?
The above permission were what was installed by Mageia

Note that the above permissions are identical to those on another Mga8
machine where I do not get those error messages.

>
> Regards Dave Hodgins
>

Re: cups and "Removing document files"

<nnd$34b0f03c$2199a58d@5c5855c8716aee75>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3935&group=alt.os.linux.mageia#3935

  copy link   Newsgroups: alt.os.linux.mageia
From: new...@spockmail.net (Jim Whitby)
Subject: Re: cups and "Removing document files"
Newsgroups: alt.os.linux.mageia
References: <schsh6$phm$1@dont-email.me>
<op.06fke3fva3w0dxdave@hodgins.homeip.net> <scibp3$20j$2@dont-email.me>
User-Agent: Pan/0.146 (Hic habitat felicitas; 8107378
git@gitlab.gnome.org:GNOME/pan.git)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <nnd$34b0f03c$2199a58d@5c5855c8716aee75>
Organization: XSUsenet
Date: Tue, 13 Jul 2021 01:09:23 +0200
Path: i2pn2.org!i2pn.org!news.niel.me!aioe.org!news.mixmin.net!feed.abavia.com!abe001.abavia.com!abp001.abavia.com!reader.xsusenet.com!not-for-mail
Lines: 53
Injection-Date: Tue, 13 Jul 2021 01:09:23 +0200
Injection-Info: reader.xsusenet.com; mail-complaints-to="abuse@xsusenet.com"
 by: Jim Whitby - Mon, 12 Jul 2021 23:09 UTC

On Mon, 12 Jul 2021 21:21:39 +0000, William Unruh wrote:

> On 2021-07-12, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>> On Mon, 12 Jul 2021 13:01:27 -0400, William Unruh <unruh@invalid.ca>
>> wrote:
>>
>>> Cups is dumping error messages into my /var/log/cups/error_log file
>>>
>>> D [12/Jul/2021:09:48:37 -0700] [Job 143] Removing document files.
>>> D [12/Jul/2021:09:48:37 -0700] cupsdMarkDirty(---J-)
>>> D [12/Jul/2021:09:48:37 -0700] cupsdSetBusyState: newbusy="Dirty
>>> files", busy="Dirty files"
>>
>> Try running (as root) ...
>>
>> systemctl stop cups.service chgrp -cR lp /var/spool/cups systemctl
>> start cups.service lpq
>>
>> If the lpq then shows there are stopped jobs use lprm to remove them
>> with "lprm job-id(s)" replacing job-id(s) by the job numbers shown by
>> lpq.
>
> Unfortunately both /var/spool/cups and all files in it are already group
> lp.
>
> sudo ls -la /var/spool/cups total 836 drwx--x--- 3 root lp 4096 Jul
> 12 09:44 .
> drwxr-xr-x 12 root root 4096 Feb 21 2020 ..
> -rw------- 1 root lp 1074 Apr 20 07:28 c00106 -rw------- 1 root lp
> 1045 Apr 20 11:44 c00107 -rw------- 1 root lp 1074 Apr 20 08:45
> c00108 -rw------- 1 root lp 825 Apr 20 09:26 c00109 -rw------- 1
> root lp 1074 Apr 20 09:11 c00110 -rw------- 1 root lp 1118 May
> 12 11:01 c00111 -rw------- 1 root lp 1114 May 24 14:11 c00112 ...
>
> And lpq -a shows empty.
>
> sudo lpq -a no entries
>
> Should /var/spool/cups be readable/writeable by lp?
> The above permission were what was installed by Mageia
>
> Note that the above permissions are identical to those on another Mga8
> machine where I do not get those error messages.

Interesting. The group lp cannot read or write to these files.
Maybe changing the mode to 660 would help?

>
>
>> Regards Dave Hodgins
>>

Re: cups and "Removing document files"

<scinm1$aib$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3936&group=alt.os.linux.mageia#3936

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia
Subject: Re: cups and "Removing document files"
Date: Tue, 13 Jul 2021 00:44:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <scinm1$aib$1@dont-email.me>
References: <schsh6$phm$1@dont-email.me>
<op.06fke3fva3w0dxdave@hodgins.homeip.net> <scibp3$20j$2@dont-email.me>
<nnd$34b0f03c$2199a58d@5c5855c8716aee75>
Injection-Date: Tue, 13 Jul 2021 00:44:49 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8439075ad7d69a03aba332a4b62e8310";
logging-data="10827"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GsG0lVmdWqx6utls9aYAv"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:lZP8/zHX0bQIYP0l3aBwJ+uxpS4=
 by: William Unruh - Tue, 13 Jul 2021 00:44 UTC

On 2021-07-12, Jim Whitby <news@spockmail.net> wrote:
> On Mon, 12 Jul 2021 21:21:39 +0000, William Unruh wrote:
>
>> On 2021-07-12, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
>>> On Mon, 12 Jul 2021 13:01:27 -0400, William Unruh <unruh@invalid.ca>
>>> wrote:
>>>
>>>> Cups is dumping error messages into my /var/log/cups/error_log file
>>>>
>>>> D [12/Jul/2021:09:48:37 -0700] [Job 143] Removing document files.
>>>> D [12/Jul/2021:09:48:37 -0700] cupsdMarkDirty(---J-)
>>>> D [12/Jul/2021:09:48:37 -0700] cupsdSetBusyState: newbusy="Dirty
>>>> files", busy="Dirty files"
>>>
>>> Try running (as root) ...
>>>
>>> systemctl stop cups.service chgrp -cR lp /var/spool/cups systemctl
>>> start cups.service lpq
>>>
>>> If the lpq then shows there are stopped jobs use lprm to remove them
>>> with "lprm job-id(s)" replacing job-id(s) by the job numbers shown by
>>> lpq.
>>
>> Unfortunately both /var/spool/cups and all files in it are already group
>> lp.
>>
>> sudo ls -la /var/spool/cups total 836 drwx--x--- 3 root lp 4096 Jul
>> 12 09:44 .
>> drwxr-xr-x 12 root root 4096 Feb 21 2020 ..
>> -rw------- 1 root lp 1074 Apr 20 07:28 c00106 -rw------- 1 root lp
>> 1045 Apr 20 11:44 c00107 -rw------- 1 root lp 1074 Apr 20 08:45
>> c00108 -rw------- 1 root lp 825 Apr 20 09:26 c00109 -rw------- 1
>> root lp 1074 Apr 20 09:11 c00110 -rw------- 1 root lp 1118 May
>> 12 11:01 c00111 -rw------- 1 root lp 1114 May 24 14:11 c00112 ...
>>
>> And lpq -a shows empty.
>>
>> sudo lpq -a no entries
>>
>> Should /var/spool/cups be readable/writeable by lp?
>> The above permission were what was installed by Mageia
>>
>> Note that the above permissions are identical to those on another Mga8
>> machine where I do not get those error messages.
>
> Interesting. The group lp cannot read or write to these files.
> Maybe changing the mode to 660 would help?
>
Yes. It is the same on two different computers, one of which does not
give those error messages, and the other which does. I tried to change
the permission to rwxrwx--- with root.lp, but that makes no difference
either.

Re: cups and "Removing document files"

<op.06f2nctha3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3937&group=alt.os.linux.mageia#3937

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia
Subject: Re: cups and "Removing document files"
Date: Mon, 12 Jul 2021 21:05:26 -0400
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <op.06f2nctha3w0dxdave@hodgins.homeip.net>
References: <schsh6$phm$1@dont-email.me>
<op.06fke3fva3w0dxdave@hodgins.homeip.net> <scibp3$20j$2@dont-email.me>
<nnd$34b0f03c$2199a58d@5c5855c8716aee75> <scinm1$aib$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="17768047b7047e96ec2d39e50e0016c3";
logging-data="25751"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T+3BIK1pDLnio8s/IktS/bM61aMnaob0="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:V/cLnMzzsUYHO9Kr7LFGgx46hEY=
 by: David W. Hodgins - Tue, 13 Jul 2021 01:05 UTC

On Mon, 12 Jul 2021 20:44:49 -0400, William Unruh <unruh@invalid.ca> wrote:
> Yes. It is the same on two different computers, one of which does not
> give those error messages, and the other which does. I tried to change
> the permission to rwxrwx--- with root.lp, but that makes no difference
> either.

Try running the lpq command again with those permissions.

Regards, Dave Hodgins

--
Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
email replies.

Re: cups and "Removing document files"

<scj4tv$81g$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=3938&group=alt.os.linux.mageia#3938

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.mageia
Subject: Re: cups and "Removing document files"
Date: Tue, 13 Jul 2021 04:30:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <scj4tv$81g$1@dont-email.me>
References: <schsh6$phm$1@dont-email.me>
<op.06fke3fva3w0dxdave@hodgins.homeip.net> <scibp3$20j$2@dont-email.me>
<nnd$34b0f03c$2199a58d@5c5855c8716aee75> <scinm1$aib$1@dont-email.me>
<op.06f2nctha3w0dxdave@hodgins.homeip.net>
Injection-Date: Tue, 13 Jul 2021 04:30:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8439075ad7d69a03aba332a4b62e8310";
logging-data="8240"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mSgoI89FuTjzvVFYmPq/Z"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:sZuJlvMtAYFlo+Vgy5BetJjAJ6I=
 by: William Unruh - Tue, 13 Jul 2021 04:30 UTC

On 2021-07-13, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:
> On Mon, 12 Jul 2021 20:44:49 -0400, William Unruh <unruh@invalid.ca> wrote:
>> Yes. It is the same on two different computers, one of which does not
>> give those error messages, and the other which does. I tried to change
>> the permission to rwxrwx--- with root.lp, but that makes no difference
>> either.
>
> Try running the lpq command again with those permissions.

Yes, I did.
No change. Nothing waiting to print.

However I did discover that something (not msec) is changing the
permissions back to 710
>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor