sudo cat /etc/cups/cupsd.conf|egrep -i "listen|web|browsing"
# Only **listen** for connections from the local machine.
**Listen** localhost:631
**Listen** /run/cups/cups.sock
**Browsing** On
# **Web** interface setting...
**Web**Interface Yes
# 2022-06-13,19:29:14 modify_cupsd_conf **Browsing** On
and
[FONT=monospace]**#** systemctl status cups
○ cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Mon 2022-06-13 19:29:28 EDT; 32min ago
TriggeredBy: **×** cups.path
**×** cups.socket
Docs: man:cupsd(8)
Process: 14675 ExecStart=/usr/sbin/cupsd -l **(code=exited, status=1/FAILURE)**
Main PID: 14675 (code=exited, status=1/FAILURE)
CPU: 60ms
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: cups.service: Scheduled restart job, restart counter is at 25.
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: Stopped CUPS Scheduler.
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: **Dependency failed for CUPS Scheduler.**
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: **cups.service: Job cups.service/start failed with result 'dependency'.**
I’m running [FONT=monospace]openSUSE Tumbleweed 20220611
I have no printers directly attached to this computer. There are 2 printers directly attached to my lan and one connected to my server
What is the CUPS scheduler dependency?
[/FONT]
[/FONT]
Something to check
ls -l /etc/cups/cupsd.conf*
What does the following report?
sudo cupsd -t
jinnicky:
sudo cat /etc/cups/cupsd.conf|egrep -i "listen|web|browsing"
# Only **listen** for connections from the local machine.
**Listen** localhost:631
**Listen** /run/cups/cups.sock
**Browsing** On
# **Web** interface setting...
**Web**Interface Yes
# 2022-06-13,19:29:14 modify_cupsd_conf **Browsing** On
and
[FONT=monospace]**#** systemctl status cups
○ cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Mon 2022-06-13 19:29:28 EDT; 32min ago
TriggeredBy: **×** cups.path
**×** cups.socket
Docs: man:cupsd(8)
Process: 14675 ExecStart=/usr/sbin/cupsd -l **(code=exited, status=1/FAILURE)**
Main PID: 14675 (code=exited, status=1/FAILURE)
CPU: 60ms
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: cups.service: Scheduled restart job, restart counter is at 25.
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: Stopped CUPS Scheduler.
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: **Dependency failed for CUPS Scheduler.**
Jun 13 19:29:28 new-rr-wifi.ewart.homelinux.net systemd[1]: **cups.service: Job cups.service/start failed with result 'dependency'.**
I’m running [FONT=monospace]openSUSE Tumbleweed 20220611
I have no printers directly attached to this computer. There are 2 printers directly attached to my lan and one connected to my server
What is the CUPS scheduler dependency?[/FONT][/FONT]
Systemd tells all:
**6700K:~ #** systemctl list-dependencies cups.service
cups.service
○ ├─cups.socket
**●** ├─system.slice
**●** └─sysinit.target
**●** ├─dev-hugepages.mount
**●** ├─dev-mqueue.mount
**●** ├─dracut-shutdown.service
○ ├─grub2-once.service
**●** ├─kmod-static-nodes.service
**●** ├─plymouth-read-write.service
○ ├─plymouth-start.service
**●** ├─proc-sys-fs-binfmt_misc.automount
**●** ├─sys-fs-fuse-connections.mount
**●** ├─sys-kernel-config.mount
**●** ├─sys-kernel-debug.mount
**●** ├─sys-kernel-tracing.mount
**●** ├─systemd-ask-password-console.path
○ ├─systemd-binfmt.service
○ ├─systemd-boot-system-token.service
○ ├─systemd-firstboot.service
○ ├─systemd-hwdb-update.service
○ ├─systemd-journal-catalog-update.service
**●** ├─systemd-journal-flush.service
**●** ├─systemd-journald.service
○ ├─systemd-machine-id-commit.service
**●** ├─systemd-modules-load.service
**●** ├─systemd-random-seed.service
**●** ├─systemd-sysctl.service
○ ├─systemd-sysusers.service
**●** ├─systemd-tmpfiles-setup-dev.service
**●** ├─systemd-tmpfiles-setup.service
**●** ├─systemd-udev-trigger.service
**●** ├─systemd-udevd.service
○ ├─systemd-update-done.service
**●** ├─systemd-update-utmp.service
**●** ├─cryptsetup.target
**●** ├─integritysetup.target
**●** ├─local-fs.target
**●** │ ├─-.mount
**●** │ ├─\x2esnapshots.mount
**●** │ ├─backup\x2dhome.mount
**●** │ ├─boot-efi.mount
**●** │ ├─boot-grub2-i386\x2dpc.mount
**●** │ ├─boot-grub2-x86_64\x2defi.mount
**●** │ ├─home.mount
**●** │ ├─opt.mount
**●** │ ├─root.mount
**●** │ ├─srv.mount
**●** │ ├─systemd-remount-fs.service
**●** │ ├─tmp.mount
**●** │ ├─usr-local.mount
**●** │ └─var.mount
**●** ├─swap.target
**●** └─veritysetup.target
**6700K:~ #**
Cups is disabled on host 6700K:
**6700K:~ #** systemctl list-unit-files cups*
UNIT FILE STATE VENDOR PRESET
cups.path disabled enabled
cups-browsed.service **disabled disabled **
cups-lpd@.service static -
cups.service disabled enabled
cups-lpd.socket **disabled disabled **
cups.socket **disabled ****enabled **
6 unit files listed.
**6700K:~ #** systemctl list-units cups*
UNIT LOAD ACTIVE SUB DESCRIPTION
**0 loaded units listed.** Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
**6700K:~ #**
I’m getting:
**#** systemctl list-dependencies cups.service
cups.service
**×** ├─cups.path
**×** ├─cups.socket
**●** ├─system.slice
**●** └─sysinit.target
**●** ├─dev-hugepages.mount
**●** ├─dev-mqueue.mount
**●** ├─dracut-shutdown.service
**●** ├─kmod-static-nodes.service
**●** ├─lvm2-lvmpolld.socket
**●** ├─lvm2-monitor.service
**●** ├─plymouth-read-write.service
○ ├─plymouth-start.service
**●** ├─proc-sys-fs-binfmt_misc.automount
**●** ├─sys-fs-fuse-connections.mount
**●** ├─sys-kernel-config.mount
**●** ├─sys-kernel-debug.mount
**●** ├─sys-kernel-tracing.mount
○ ├─systemd-ask-password-console.path
○ ├─systemd-binfmt.service
○ ├─systemd-boot-system-token.service
○ ├─systemd-firstboot.service
○ ├─systemd-hwdb-update.service
○ ├─systemd-journal-catalog-update.service
**●** ├─systemd-journal-flush.service
**●** ├─systemd-journald.service
○ ├─systemd-machine-id-commit.service
**●** ├─systemd-modules-load.service
**●** ├─systemd-random-seed.service
**●** ├─systemd-sysctl.service
○ ├─systemd-sysusers.service
**●** ├─systemd-tmpfiles-setup-dev.service
**●** ├─systemd-tmpfiles-setup.service
**●** ├─systemd-udev-trigger.service
**●** ├─systemd-udevd.service
○ ├─systemd-update-done.service
**●** ├─systemd-update-utmp.service
**●** ├─cryptsetup.target
**●** ├─integritysetup.target
**●** ├─local-fs.target
**●** │ ├─-.mount
**●** │ ├─\x2esnapshots.mount
**●** │ ├─boot-efi.mount
**●** │ ├─boot-grub2-i386\x2dpc.mount
**●** │ ├─boot-grub2-x86_64\x2defi.mount
**●** │ ├─home.mount
**●** │ ├─oldroot-home.mount
**●** │ ├─oldroot.mount
**●** │ ├─opt.mount
**●** │ ├─root.mount
**●** │ ├─srv.mount
**●** │ ├─systemd-remount-fs.service
**●** │ ├─tmp.mount
**●** │ ├─usr-local.mount
**●** │ └─var.mount
**●** ├─swap.target
**●** │ └─dev-disk-by\x2duuid-2f45a992\x2d37ff\x2d4702\x2db914\x2d8e08b8c83a43.swap
**●** └─veritysetup.target
There seems to be a problem with cups.path and cups.socket
**#** systemctl list-unit-files cups*
UNIT FILE STATE VENDOR PRESET
cups.path enabled enabled
cups-browsed.service **enabled ****disabled **
cups-lpd@.service static -
cups.service enabled enabled
cups-lpd.socket **disabled disabled **
cups.socket **enabled enabled **
6 unit files listed.
I tried enabling cups-lpd.socket which changed its state in systemctl list-unit-files cups* to enabled. Still got “Failed to start CUPS Scheduler”
I’m running on an Intel(R) Core™ i9-9900K CPU @ 3.60GHz (CoffeeLake-S) with 64GB of memory (62.5GB after the i915 VGA takes some of it)
I got:
ls -l /etc/cups/cupsd.conf*
-rw-r--r-- 1 root root 6454 Jun 13 19:29 /etc/cups/cupsd.conf
-rw-r--r-- 1 root root 6403 Apr 10 21:46 /etc/cups/cupsd.conf.yast2save
and
Unknown SystemGroup "lpadmin" on line 19 of /etc/cups/cups-files.conf.
"/etc/cups/cups-files.conf" contains errors.
lpadmin was not in /etc/group so I added it as a systemgroup and added lpadmin to my ID.
That was the problem. I have successfully started CUPS and added one of the printers directly to the lan.
Thanks for your help.
jinnicky:
I got:
ls -l /etc/cups/cupsd.conf*
-rw-r--r-- 1 root root 6454 Jun 13 19:29 /etc/cups/cupsd.conf
-rw-r--r-- 1 root root 6403 Apr 10 21:46 /etc/cups/cupsd.conf.yast2save
and
Unknown SystemGroup "lpadmin" on line 19 of /etc/cups/cups-files.conf.
"/etc/cups/cups-files.conf" contains errors.
lpadmin was not in /etc/group so I added it as a systemgroup and added lpadmin to my ID.
That was the problem. I have successfully started CUPS and added one of the printers directly to the lan.
Thanks for your help.
By default it is “SystemGroup root”. Anyway, glad to have been of assistance!