Forum
Samba gives unrelated CUPS errors - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: Samba gives unrelated CUPS errors (/thread-614.html)



Samba gives unrelated CUPS errors - effemmeffe - 12th Mar, 2013 06:43 AM

I got a lot of error in my syslog:

Mar 11 21:38:24 xbian smbd[23983]: [2013/03/11 21:38:24.672990, 0] printing/print_cups.c:110(cups_connect)
Mar 11 21:38:24 xbian smbd[23983]: Unable to connect to CUPS server localhost:631 - Connection refused
Mar 11 21:38:24 xbian smbd[23306]: [2013/03/11 21:38:24.676635, 0] printing/print_cups.c:487(cups_async_callback)
Mar 11 21:38:24 xbian smbd[23306]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

My samba configuration:
xbian@xbian ~ $ cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
usershare allow guests = yes
security=share
follow symlinks = yes
wide links = yes
unix extensions = no
lock directory = /var/cache/samba

load printers = no
disable spoolss = yes


[xbian]
browsable = yes
read only = no
guest ok = yes
path = /home/xbian
force user = xbian

[Library]
browsable = yes
read only = no
guest ok = yes
path = /media/Tera/Library
force user = xbian
create mask = 0775
force create mode = 0775
directory mask = 0775
force directory mode = 0775

[Portatile]
browsable = yes
read only = no
guest ok = yes
path = /media/Portatile
force user = xbian

[Tera]
browsable = yes
read only = no
guest ok = yes
path = /media/Tera
force user = xbian
xbian@xbian ~ $


RE: Samba printing error - CurlyMo - 12th Mar, 2013 06:59 AM

We don't officially support CUPS (configuration) but if you manage to get it running, let us know what packages/configuration you needed. Than we will add it to our samba package and you still contributed Wink


RE: Samba printing error - effemmeffe - 12th Mar, 2013 07:23 AM

But I don't want to use cups, I just want to remove all those errors...


RE: Samba printing error - CurlyMo - 12th Mar, 2013 07:27 AM

Then your title is confusing...


RE: Samba printing error - effemmeffe - 12th Mar, 2013 05:18 PM

I'm sorry about the title, what do you think it should be?


RE: Samba printing error - CurlyMo - 12th Mar, 2013 06:50 PM

"Samba gives unrelated CUPS errors"


RE: Samba gives unrelated CUPS errors - effemmeffe - 12th Mar, 2013 07:00 PM

ok, title changed


RE: Samba gives unrelated CUPS errors - effemmeffe - 12th Nov, 2013 07:48 AM

Forgot about this: any solution? I still get a lot of unrelated CUPS errors...
How do I disable CUPS?
I'm on the last beta.


RE: Samba gives unrelated CUPS errors - IriDium - 13th Nov, 2013 01:53 AM

Have you just tried uninstalling it? I wonder if when you installed samba, you accepted CUPS in the process?

or CUPS will still have it's own configuration file, so edit that so that it "sort of" works.


RE: Samba gives unrelated CUPS errors - effemmeffe - 13th Nov, 2013 02:05 AM

(13th Nov, 2013 01:53 AM)IriDium Wrote:  Have you just tried uninstalling it? I wonder if when you installed samba, you accepted CUPS in the process?

or CUPS will still have it's own configuration file, so edit that so that it "sort of" works.

I used xbian-config to install samba, no question asked.
I don't need it, I'd like to have the syslog clean of its garbage, I don't know how to "sort of" make it works...


RE: Samba gives unrelated CUPS errors - IriDium - 13th Nov, 2013 02:21 AM

Then try uninstalling it -
Terminal
sudo apt-get -s remove cups.
If that doesn't throw up any errors, remove the -s


RE: Samba gives unrelated CUPS errors - effemmeffe - 13th Nov, 2013 03:27 AM

No luck:
Terminal

xbian@xbian ~ $ sudo apt-get -s remove cups
[sudo] password for xbian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'cups' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
xbian@xbian ~ $



RE: Samba gives unrelated CUPS errors - mk01 - 13th Nov, 2013 11:14 AM

cups is standard linux printing engine and somehow become like part of base install Sad(

btw: my beta2 install is fine without cups (apt-get purge cups). and I have also samba installed. currently the minimum possible is libcups2 installed. but exactly this is also where the support for other programs and your logging moved.

try to check those smb.conf switches against samba documentation:

cups server =
cups encrypt = No
cups connection timeout = 30
printing = cups
cups options =

maybe you find out how to limit the flooding to minimum.