Gentoo Archives: gentoo-amd64

From: Peter Ruskin <peter.ruskin@×××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Problem with cups
Date: Thu, 29 Jun 2006 23:10:50
Message-Id: 200606300008.27313.peter.ruskin@dsl.pipex.com
In Reply to: Re: [gentoo-amd64] Problem with cups by Robert Longbottom
1 On Thursday 29 June 2006 22:26, Robert Longbottom wrote:
2 > On Thu, 2006-06-29 at 17:26 +0100, Peter Ruskin wrote:
3 > > I've struggled long enough - now I'll ask for help.
4 > >
5 > > I've just built a new amd64 box and can't get cups to print. I
6 > > added "debug" to cupsd.conf and this is what I get in the log:
7 > >
8 > > I [29/Jun/2006:16:00:30 +0100] Listening to
9 > > /var/run/cups/cups.sock on fd 2...
10 > > E [29/Jun/2006:16:00:30 +0100] cupsdStartBrowsing: Unable to
11 > > bind broadcast socket - Address already in use.
12 > >
13 Cups is OK now. My fault...I had privoxy running and forgot to tell
14 firefox "no proxy for localhost".
15 > >
16 > >
17 > > I looked in b.g.o and didn't notice anything similar. It's the
18 > > same with two versions of cups I tried and the same setup works
19 > > fine on my x86 box. I know nothing about sockets, but I get a
20 > > similar indication when trying to run ntop:
21 > >
22 > > Thu Jun 29 17:24:21 2006 Now running as requested user
23 > > 'nobody' (65534:65534)
24 > > Thu Jun 29 17:24:21 2006 **FATAL_ERROR** ....open
25 > > of /var/lib/ntop/prefsCache.db failed: File open error
26 > > Thu Jun 29 17:24:21 2006 1. Is another instance of ntop
27 > > running? Thu Jun 29 17:24:21 2006 2. Make sure that the use
28 > > you specified can write in the target directory
29 >
30 > Have you checked permissions in /var/ ? Just seems odd that both
31 > are trying to create sockets there and both are failing.
32 >
33 >
34 > Robert.
35
36 Good spot Robert; I had similar problems with /var/lib/mysql: after
37 copying files from a working distribution the perms changed from
38 mysql to root (too easy to copy files with konqueror!).
39
40 But I made doubly sure here - unmerged ntop, deleted /var/lib/ntop
41 then remerged. The files are all owned by nobody:nobody and on
42 first run ntop creates files not emerged. Now, although the ntop
43 service now runs, my browser cannot connect to localhost:3000.
44
45 --
46 Peter
47 ========================================================================
48 Gentoo Linux: Portage 2.1-r1. kernel-2.6.17-gentoo.
49 2006 x86_64 AMD Athlon(tm) 64. gcc(GCC): 3.4.6.
50 KDE: 3.5.2. Qt: 3.3.6.
51 ========================================================================
52 --
53 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: Problem with cups Duncan <1i5t5.duncan@×××.net>