You are not logged in.

#1 2014-11-03 09:30:35

rea
Member
Registered: 2014-03-21
Posts: 21

Failed to restart ccpd.service: Unit cups.service failed to load!

As cups.service has been renamed to `org.cups.cupsd.service`, ccpd is stil using cups.service!
I've installed capt-src driver to activate my LBP Canon printer.

sudo systemctl start org.cups.cupsd.service ---> Worked
sudo systemctl start ccpd.service ----> Oops! NOT worked sad

This is the error that I get when I try to start ccpd:

Failed to restart ccpd.service: Unit cups.service failed to load: No such file or directory.

Offline

#2 2014-11-03 10:21:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Failed to restart ccpd.service: Unit cups.service failed to load!

You should let the maintainer of the AUR package know. You can find his e-mail at the top of the PKGBUILD.

Offline

#3 2014-11-18 12:42:10

Aerion
Member
From: London
Registered: 2014-11-18
Posts: 22

Re: Failed to restart ccpd.service: Unit cups.service failed to load!

As an immediate fix, simply edit the service file:

# nano /usr/lib/systemd/system/ccpd.service

to read

[Unit]
Description=Canon CAPT daemon
Requires=org.cups.cupsd.service
After=org.cups.cupsd.service

[Service]
Type=forking
ExecStart=/usr/bin/ccpd

[Install]
WantedBy=printer.target

Reload systemd, scanning for new or changed units:

# systemctl daemon-reload

and start the CAPT daemon:

# systemctl start ccpd.service

The CAPT daemon should now be running with two instances:

# systemctl status ccpd.service
● ccpd.service - Canon CAPT daemon
   Loaded: loaded (/usr/lib/systemd/system/ccpd.service; enabled)
   Active: active (running) since Mon 2014-11-17 17:27:06 GMT; 18h ago
 Main PID: 282 (ccpd)
   CGroup: /system.slice/ccpd.service
           ├─282 /usr/bin/ccpd
           ├─400 /usr/bin/ccpd
           └─401 captmoncnabg --data-write-fd=4 --data-read-fd=11 --cmd-write-fd=12 --cmd-read-fd=15 --output-fd=-1 --input-fd=-1 --printer-uri=net:192.168.1.100

I don't know if you have contacted the package maintainer as suggested, but I have left a comment on the capt-src AUR page to say that the service file needs to be updated.

Please mark the thread as solved if this fixes your problem smile


Previously registered as MrE.

Offline

Board footer

Powered by FluxBB