Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Samba gives unrelated CUPS errors
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Samba gives unrelated CUPS errors
12th Mar, 2013, 06:43 AM
Post: #1
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
Samba gives unrelated CUPS errors
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 ~ $
Find all posts by this user
Quote this message in a reply
12th Mar, 2013, 06:59 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Samba printing error
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

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
12th Mar, 2013, 07:23 AM
Post: #3
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Samba printing error
But I don't want to use cups, I just want to remove all those errors...
Find all posts by this user
Quote this message in a reply
12th Mar, 2013, 07:27 AM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Samba printing error
Then your title is confusing...

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
12th Mar, 2013, 05:18 PM
Post: #5
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Samba printing error
I'm sorry about the title, what do you think it should be?
Find all posts by this user
Quote this message in a reply
12th Mar, 2013, 06:50 PM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Samba printing error
"Samba gives unrelated CUPS errors"

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
12th Mar, 2013, 07:00 PM
Post: #7
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Samba gives unrelated CUPS errors
ok, title changed
Find all posts by this user
Quote this message in a reply
12th Nov, 2013, 07:48 AM
Post: #8
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Samba gives unrelated CUPS errors
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.
Find all posts by this user
Quote this message in a reply
13th Nov, 2013, 01:53 AM
Post: #9
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Samba gives unrelated CUPS errors
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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
13th Nov, 2013, 02:05 AM
Post: #10
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Samba gives unrelated CUPS errors
(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...
Find all posts by this user
Quote this message in a reply
13th Nov, 2013, 02:21 AM
Post: #11
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Samba gives unrelated CUPS errors
Then try uninstalling it -
Terminal
sudo apt-get -s remove cups.
If that doesn't throw up any errors, remove the -s

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
13th Nov, 2013, 03:27 AM
Post: #12
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Samba gives unrelated CUPS errors
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 ~ $
Find all posts by this user
Quote this message in a reply
13th Nov, 2013, 11:14 AM
Post: #13
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Samba gives unrelated CUPS errors
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.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  How to install CUPS kevinbowe2000 6 19,193 24th Mar, 2014 11:52 AM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 12th May, 2025, 05:26 AM Powered By MyBB, © 2002-2025 MyBB Group.