1 |
"Richard Fish" <bigfish@××××××××××.org> writes: |
2 |
|
3 |
> On 9/16/06, reader@×××××××.com <reader@×××××××.com> wrote: |
4 |
>> Richard, I'm sorry it seems I've really wasted lots of your time here. |
5 |
>> However I don't think this is the only problem. I really hope there |
6 |
>> is not some other moronic user miconfig... |
7 |
> |
8 |
> np. I missed it too for several messages. :-) |
9 |
> |
10 |
>> I'm still unable to print (EVEN WITH THAT CURSED URL FIXED). |
11 |
> |
12 |
> I think the problem here is that my script is screwing things up. I |
13 |
> actually had no idea what $0 would be in this case (thus the note that |
14 |
> "this is just a guess" ;-)). It looks like when cups is calling |
15 |
> smbspool, $0 is the name of the program, and not the URI of the device |
16 |
> (see man smbspool to understand why I was uncertain here!). And I am |
17 |
> changing DEVICE_URI to be whatever $0 was...which is wrong. |
18 |
> |
19 |
> So the fixed script should be |
20 |
> |
21 |
> ------ |
22 |
> #!/bin/bash |
23 |
> tmpfile=/tmp/smbspool.$$ |
24 |
> echo $0:$1:$2:$3:$4:$5:$6:$7 > $tmpfile |
25 |
> env >>$tmpfile |
26 |
> |
27 |
> /usr/bin/smbspool.bin $1 $2 $3 $4 $5 $6 >>$tmpfile |
28 |
> ------ |
29 |
> |
30 |
> But actually at this point I think you can just move smbspool.bin back |
31 |
> to smbspool, and things should work ok. |
32 |
|
33 |
Ok... and away we go... printing works now. |
34 |
|
35 |
Richard what do you make of the fact that I cannot connect to cups |
36 |
with the normal http://locahost:631? |
37 |
|
38 |
I've seen a few posts here from others who have noticed it too. |
39 |
|
40 |
http://localhost:631/admin |
41 |
|
42 |
or |
43 |
|
44 |
http://localhost:631/help |
45 |
|
46 |
Will get a connection, but in the past a simple: |
47 |
http://localhost:631 was enough. |
48 |
|
49 |
That now gets a 404 Not Found |
50 |
|
51 |
error_log has this: |
52 |
|
53 |
D [17/Sep/2006:06:40:22 -0500] cupsdReadClient: 7 Browser asked for language "en-us.utf-8"... |
54 |
D [17/Sep/2006:06:40:22 -0500] cupsdAuthorize: No authentication data provided. |
55 |
D [17/Sep/2006:06:40:22 -0500] cupsdSendError: 7 code=404 (Not Found) |
56 |
D [17/Sep/2006:06:40:23 -0500] cupsdCloseClient: 7 |
57 |
D [17/Sep/2006:06:40:23 -0500] cupsdAcceptClient: 7 from localhost:631 (IPv4) |
58 |
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 GET /cups.css HTTP/1.1 |
59 |
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 Browser asked for language "en-us.utf-8"... |
60 |
D [17/Sep/2006:06:40:23 -0500] cupsdAuthorize: No authentication data provided. |
61 |
D [17/Sep/2006:06:40:23 -0500] cupsdSendError: 7 code=404 (Not Found) |
62 |
D [17/Sep/2006:06:40:23 -0500] cupsdCloseClient: 7 |
63 |
D [17/Sep/2006:06:40:23 -0500] cupsdAcceptClient: 7 from localhost:631 (IPv4) |
64 |
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 GET /favicon.ico HTTP/1.1 |
65 |
D [17/Sep/2006:06:40:23 -0500] cupsdReadClient: 7 Browser asked for language "en-us.utf-8"... |
66 |
D [17/Sep/2006:06:40:23 -0500] cupsdAuthorize: No authentication data provided. |
67 |
D [17/Sep/2006:06:40:23 -0500] cupsdSendError: 7 code=404 (Not Found) |
68 |
D [17/Sep/2006:06:40:23 -0500] cupsdCloseClient: 7 |
69 |
|
70 |
-- |
71 |
gentoo-user@g.o mailing list |