systemd :: cups.service not working

Reindl Harald h.reindl at thelounge.net
Tue Apr 10 10:25:44 UTC 2012



Am 10.04.2012 11:41, schrieb Adrian Sevcenco:
> On 04/10/12 12:33, Reindl Harald wrote:
>>
>>
>> Am 10.04.2012 11:28, schrieb Adrian Sevcenco:
>>> On 04/10/12 12:12, Reindl Harald wrote:
>>>> Am 10.04.2012 11:01, schrieb Adrian Sevcenco:
>>>>> Hi! I have a problem with starting cups .. i dont know when exactly
>>>>> the problem appeared but i had a good working cups ... the thing is
>>>>> that i still have as if i start the cups with the line from
>>>>> cups.service in a root terminal i can use my printers without
>>>>> problems .. that problem is that systemctl enable cups.service
>>>>> and sysctemctl start cups.service does not start cups.
>>> Hi!
>>>
>>>> try
>>>>
>>>> systemctl disable cups.service systemctl stop cups.service systemctl
>>>> enable cups.service systemctl start cups.service
>>>
>>> [root at sev ~]# systemctl disable cups.service
>>> rm '/etc/systemd/system/printer.target.wants/cups.service'
>>> rm '/etc/systemd/system/sockets.target.wants/cups.socket'
>>> rm '/etc/systemd/system/multi-user.target.wants/cups.path'
>>>
>>> [root at sev ~]# systemctl stop cups.service
>>>
>>> [root at sev ~]# systemctl enable cups.service
>>> ln -s '/lib/systemd/system/cups.service'
>>> '/etc/systemd/system/printer.target.wants/cups.service'
>>> ln -s '/lib/systemd/system/cups.socket'
>>> '/etc/systemd/system/sockets.target.wants/cups.socket'
>>> ln -s '/lib/systemd/system/cups.path'
>>> '/etc/systemd/system/multi-user.target.wants/cups.path'
>>>
>>> [root at sev ~]# systemctl start cups.service
>>> [root at sev ~]# systemctl status cups.service
>>> cups.service - CUPS Printing Service
>>>            Loaded: loaded (/lib/systemd/system/cups.service; enabled)
>>>            Active: failed since Tue, 10 Apr 2012 12:24:06 +0300; 1min 26s ago
>>>           Process: 10462 ExecStart=/usr/sbin/cupsd -f (code=exited,
>>> status=226/NAMESPACE)
>>>            CGroup: name=systemd:/system/cups.service
>>>
>>> and the thing is that if i start the /usr/sbin/cupsd -f it works ok ..
>>> as you see above it is not working.. any other idea?
>>
>> sorry, not really
>>
>> if there is anything in dmesg or /var/log/messages you
>>
> thx :) i have this
> Apr 10 12:38:59 sev systemd[32264]: Failed at step NAMESPACE spawning /usr/sbin/cupsd: No such file or directory
> Apr 10 12:38:59 sev systemd[1]: cups.service: main process exited, code=exited, status=226
> Apr 10 12:38:59 sev systemd[1]: Unit cups.service entered failed state.

since it is not your fault make a bugreport with you description that it
works if you start it by hand and these outputs, even if you would
find a workaround - only if it is fixed in the package other users
get it also fixed without searching



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120410/b3d5eca8/attachment.sig>


More information about the users mailing list