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@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@sev ~]# systemctl stop cups.service

[root@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@sev ~]# systemctl start cups.service

[root@sev ~]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address
    State       PID/Program name
tcp        0      0 127.0.0.1:25                0.0.0.0:*
    LISTEN      1282/master
tcp        0      0 0.0.0.0:60000               0.0.0.0:*
    LISTEN      1209/sshd

[root@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 ..

there are in newer fedora versions (you did not say which you are
yeah sorry ... it is fedora 16 x86_64 with all updates installed

using, if you have upgraded or anything about your setup) there are
cups.path and cups.socket also involved which should be enabled with
the above way
as you see above it is not working.. any other idea?

Thanks a lot!
Adrian





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to