Cups http://localhost:631/admin gone missing

On 2013-04-05 23:26, Angelbeast wrote:
>
> Okay so i have to come back to this again. How do i set cups to run when
> i boot up? I have to restart it manually each time…

Try this:


su -
chkconfig cups
chkconfig cups on


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Thank you…I’ll give it a try next time i reboot. But one more thing if i may…Do you happen to know what this means?

Idle - "File "/usr/lib/cups/filter/brfaxfilter" has insecure permissions (0100777/uid=0/gid=0)."

It’s in the printer status of the cups web interface

On 2013-04-06 01:06, Angelbeast wrote:

> Thank you…I’ll give it a try next time i reboot.

You have to do it before you reboot, then reboot to see if it holds.

> But one more thing
> if i may…Do you happen to know what this means?
>
>
> Code:
> --------------------
> Idle - “File “/usr/lib/cups/filter/brfaxfilter” has insecure permissions (0100777/uid=0/gid=0).”
> --------------------
>
>
> It’s in the printer status of the cups web interface

Never seen it. But google has some hits on ubuntu forums:


http://ubuntuforums.org/archive/index.php/t-1368410.html

I have not read what it says, though.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

It looks like i still have to restart it each time…blargh!

What does the following report after boot?

sudo systemctl status cups.service

For reference, I get

cups.service - CUPS Printing Service
          Loaded: loaded (/lib/systemd/system/cups.service; enabled)
          Active: active (running) since Sun, 14 Apr 2013 10:07:44 +1200; 2h 19min ago
        Main PID: 1982 (cupsd)
          CGroup: name=systemd:/system/cups.service
                  └ 1982 /usr/sbin/cupsd -f

Apr 14 10:07:44 linux-akl.site cupsd[1982]: No SubscriptionPrivateValues defined in policy authenticat...lts.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No limit for Validate-Job defined in policy allowallforany...und.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No limit for Cancel-Jobs defined in policy allowallforanyb...und.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No limit for Cancel-My-Jobs defined in policy allowallfora...und.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No limit for Close-Job defined in policy allowallforanybod...und.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No limit for CUPS-Get-Document defined in policy allowallf...und.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No JobPrivateAccess defined in policy allowallforanybody -...lts.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No JobPrivateValues defined in policy allowallforanybody -...lts.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No SubscriptionPrivateAccess defined in policy allowallfor...lts.
Apr 14 10:07:44 linux-akl.site cupsd[1982]: No SubscriptionPrivateValues defined in policy allowallfor...lts.

Let’s take a look at this too

ls -l /etc/systemd/system/printer.target.wants/cups.service

It should report similar to this

lrwxrwxrwx 1 root root 34 Apr 14 12:13 /etc/systemd/system/printer.target.wants/cups.service -> ///lib/systemd/system/cups.service

Heya deano! Thanks for replying. Here’s the output for the fist command…

cups.service - CUPS Printing Service          Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
          Active: inactive (dead)
          CGroup: name=systemd:/system/cups.service


Apr 13 14:55:03 linux-qe38.site cupsd[3040]: No SubscriptionPrivateAccess de....
Apr 13 14:55:03 linux-qe38.site cupsd[3040]: No SubscriptionPrivateValues de....
Apr 14 16:27:57 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 14 16:28:28 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 15 15:29:32 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 15 15:30:03 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 15 15:41:59 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 15 15:42:30 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 17 02:17:45 linux-qe38.site systemd[1]: Started CUPS Printing Service.
Apr 17 02:18:16 linux-qe38.site systemd[1]: Started CUPS Printing Service.
ron@linux-qe38:~> 

And the second…

lrwxrwxrwx 1 root root 36 Mar 19 05:09 /etc/systemd/system/printer.target.wants/cups.service -> /usr/lib/systemd/system/cups.service

Okay, so can you also check the status of

systemctl status cups.path cups.socket

Okey dokey

cups.path - CUPS Printer Service Spool          Loaded: loaded (/usr/lib/systemd/system/cups.path; enabled)
          Active: active (waiting) since Sat, 2013-04-20 05:24:50 EDT; 42min ago




cups.socket - CUPS Printing Service Sockets
          Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled)
          Active: active (listening) since Sat, 2013-04-20 05:24:50 EDT; 42min ago
          CGroup: name=systemd:/system/cups.socket

Well, that all looks okay. I’m not sure why the cups. service does not stay running. It does on mine. However, when it is enabled, it should at start on demand when you have a print job for example. Your printer is network-attached, is that correct? I recall this bug report (openSUSE 12.2), which may still manifest for some network printer situations. I have a mixture of printer configs, for home and work machines, usb and network-attached, that I connect to, and don’t experience this problem.