cups fails to start on boot after upgrade

OS opensuse 12.3 x64; KDE

Cups got automatically updated to version 1.5.4-5.11.1 and now does not start on boot. Hence hp-toolbox doesn’t start either ( I have an HP printer installed). Prior to the upgrade both cups server and hp-toolbox started on boot.

I can start cups manually using systemctl and it reports no errors - starts fine, and hp-toolkit also fires up manually without any problems.

There are no log messages of any kind referring to cups in /var/log/messages.

Does anyone know why an upgrade of cups should prevent it starting and why there is no mention of it in the log file?

Thanks

On 03/18/2014 04:16 PM, ska589 pecked at the keyboard and wrote:
> OS opensuse 12.3 x64; KDE
>
> Cups got automatically updated to version 1.5.4-5.11.1 and now does not
> start on boot. Hence hp-toolbox doesn’t start either ( I have an HP
> printer installed). Prior to the upgrade both cups server and hp-toolbox
> started on boot.
>
> I can start cups manually using systemctl and it reports no errors -
> starts fine, and hp-toolkit also fires up manually without any problems.
>
> There are no log messages of any kind referring to cups in
> /var/log/messages.
>
> Does anyone know why an upgrade of cups should prevent it starting and
> why there is no mention of it in the log file?
>
> Thanks
>
>
Asked many times, here is some help:

http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update

Ken

Thanks for the quick response Ken, but your link has a problem with it - can you re-post please with a working link?

Thanks

On 03/18/2014 05:56 PM, ska589 pecked at the keyboard and wrote:
> Thanks for the quick response Ken, but your link has a problem with it -
> can you re-post please with a working link?
>
> Thanks
>
>
Here it is again, copied to a browser and page worked.

http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update

Ken

Here’s the report from Opera when I use it…

Invalid URL

The URL http://<br /><br />http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update<br /><br /> contains characters that are not valid in the location they are found.

On 03/18/2014 08:06 PM, ionmich pecked at the keyboard and wrote:
> kensch;2631297 Wrote:
>> On 03/18/2014 05:56 PM, ska589 pecked at the keyboard and wrote:
>>> Thanks for the quick response Ken, but your link has a problem with it
>> -
>>> can you re-post please with a working link?
>>>
>>> Thanks
>>>
>>>
>> Here it is again, copied to a browser and page worked.
>>
>> ’
>>
>> ’ (http://<br /><br
>> />http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update<br
>> /><br />)http://tinyurl.com/kzqbhq6
>>
>>
>>
>> Ken
> Here’s the report from Opera when I use it…
>
>
> Invalid URL
>
> The URL http://<br /><br
> />http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update<br
> /><br /> contains characters that are not valid in the location they are
> found.
>
>

Where the hell are all the “br” crap coming from. Ah, I see the crap
forum software if fucking it up.

Here again with the “code tags”:

http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update

On 03/18/2014 10:28 PM, Ken Schneider pecked at the keyboard and wrote:
> On 03/18/2014 08:06 PM, ionmich pecked at the keyboard and wrote:
>> kensch;2631297 Wrote:
>>> On 03/18/2014 05:56 PM, ska589 pecked at the keyboard and wrote:
>>>> Thanks for the quick response Ken, but your link has a problem with it
>>> -
>>>> can you re-post please with a working link?
>>>>
>>>> Thanks
>>>>
>>>>
>>> Here it is again, copied to a browser and page worked.
>>>
>>> ’
>>>
>>> ’ (http://<br /><br
>>> />http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update<br
>>>
>>> /><br />)http://tinyurl.com/kzqbhq6
>>>
>>>
>>>
>>> Ken
>> Here’s the report from Opera when I use it…
>>
>>
>> Invalid URL
>>
>> The URL http://<br /><br
>> />http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update<br
>>
>> /><br /> contains characters that are not valid in the location they are
>> found.
>>
>>
>
> Where the hell are all the “br” crap coming from. Ah, I see the crap
> forum software if fucking it up.
>
> Here again with the “code tags”:

/Without/ any code tags.

>
> http://forums.opensuse.org/showthread.php/495399-CUPS-no-longer-starts-at-boot-after-update
>
>
>

Thanks for pointing me at the previous discussions on this topic. It doesn’t really help me much unfortunately - I still have the issue that cups won’t start on boot and I don’t understand why - unless the new version I have has a bug - but as it starts perfectly well manually, I can only think that this is a systemd boot issue rather than a cups issue.

On my system, I only have a locally connected printer - no network printers. Cups service is enabled and nothing else on my system has changed.

If there are any more inputs then please pass them on.

Thanks

I’ve been through the provided threads again and got a better idea about the issues raised.

I will wait for a bug fix through the official repos and in the mean time start cups manually on each reboot!!

Just shows the value of studying people’s replies properly!

On 03/19/2014 11:36 AM, ska589 pecked at the keyboard and wrote:
> Thanks for pointing me at the previous discussions on this topic. It
> doesn’t really help me much unfortunately - I still have the issue that
> cups won’t start on boot and I don’t understand why - unless the new
> version I have has a bug - but as it starts perfectly well manually, I
> can only think that this is a systemd boot issue rather than a cups
> issue.
>
> On my system, I only have a locally connected printer - no network
> printers. Cups service is enabled and nothing else on my system has
> changed.
>
> If there are any more inputs then please pass them on.
>
> Thanks
>
>

Do you have the file /etc/systemd/system/cups.socket with the
following content?

code:


[Unit]
Description=CUPS Printing Service Sockets

[Socket]
ListenStream=/var/run/cups/cups.sock
ListenStream=631
ListenDatagram=0.0.0.0:631
BindIPv6Only=ipv6-only

[Install]
WantedBy=sockets.target


If you don’t create it (as root) with the above content and then issue
the following commands:

code:


systemctl enable cups.service

systemctl start cups.service


Ken

Thanks Ken - that’s fixed it. It now works on boot just as it did before the upgrade.

Excellent job.

On 03/19/2014 01:32 PM, Ken Schneider pecked at the keyboard and wrote:
> On 03/19/2014 11:36 AM, ska589 pecked at the keyboard and wrote:
>> Thanks for pointing me at the previous discussions on this topic. It
>> doesn’t really help me much unfortunately - I still have the issue that
>> cups won’t start on boot and I don’t understand why - unless the new
>> version I have has a bug - but as it starts perfectly well manually, I
>> can only think that this is a systemd boot issue rather than a cups
>> issue.
>>
>> On my system, I only have a locally connected printer - no network
>> printers. Cups service is enabled and nothing else on my system has
>> changed.
>>
>> If there are any more inputs then please pass them on.
>>
>> Thanks
>>
>>
>
> Do you have the file /etc/systemd/system/cups.socket with the
> following content?
>
> code:
>
> *********************************************
>
> [Unit]
> Description=CUPS Printing Service Sockets
>
> [Socket]
> ListenStream=/var/run/cups/cups.sock
> ListenStream=631
> ListenDatagram=0.0.0.0:631
> BindIPv6Only=ipv6-only
>
> [Install]
> WantedBy=sockets.target
>
> **********************************************
>
> If you don’t create it (as root) with the above content and then issue
> the following commands:
>
> code:
>
> ********************************
>
> systemctl enable cups.service
>
> systemctl start cups.service
>
> ********************************
>
> Ken

Make sure you also enable cups.socket