[Pkg-cups-devel] Bug#433471: Same thing here, using Etch

Alberto Gonzalez Iniesta agi at inittab.org
Tue Feb 10 12:12:19 UTC 2009


Hi,

I've got the same problem. Server running etch:
ii  cupsys                            1.2.7-4etch6
ii  cupsys-bsd                        1.2.7-4etch6
ii  cupsys-client                     1.2.7-4etch6
ii  cupsys-common                     1.2.7-4etch6
ii  libcupsimage2                     1.2.7-4etch6
ii  libcupsys2                        1.2.7-4etch6

CUPS will start broadcasting the right port (631) but after sometime
it'll broadcast '0' as the port. Here's a tcpdump with the problem
present and a simple CUPS restart, that will solve the it.

pluto.XXXXX is an alias for the server, it's actual name is dumbo.XXXXX.
Maybe that address "mess" has something to do with it. The relevant
cupsd.conf:

------------------
ServerName pluto.XXXXX
Listen 10.XX.XX.1:631
BrowseAddress 10.XX.XX.255
# Show general information in error_log.
LogLevel info
SystemGroup lpadmin
# Allow remote access
#Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAddress @LOCAL
------------------

dumbo:~# ip a show eth0
4: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
  link/ether 00:1c:c4:5c:5e:e4 brd ff:ff:ff:ff:ff:ff
  inet 10.XX.XX.11/24 brd 10.XX.XX.255 scope global eth0  ## this one is dumbo
  inet 10.XX.XX.1/24 scope global secondary eth0  ## this one is pluto


----- tcpdump

agi at var:~$ sudo tcpdump -n -i eth0 port 631 -X -s0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
20:41:59.614070 IP 10.XX.XX.11.631 > 10.XX.XX.255.631: UDP, length 130
        0x0000:  4500 009e 0000 4000 4011 d50d 0a1c 280b  E..... at .@.....(.
        0x0010:  0a1c 28ff 0277 0277 008a eb05 6230 6365  ..(..w.w....b0ce
        0x0020:  2033 2069 7070 3a2f 2f70 6c75 746f 2e75  .3.ipp://pluto.X
        0x0030:  6469 6d61 3a30 2f70 7269 6e74 6572 732f  XXXX:0/printers/
        0x0040:  6265 7374 6961 5f63 6f6c 6f72 2022 5261  bestia_color."Ra
        0x0050:  636b 2220 224f 6365 2043 5332 3430 2220  ck"."Oce.CS240".
        0x0060:  2247 656e 6572 6963 2034 3543 2d31 2050  "Generic.45C-1.P
        0x0070:  5328 5029 2220 6a6f 622d 7368 6565 7473  S(P)".job-sheets
        0x0080:  3d6e 6f6e 652c 6e6f 6e65 206c 6561 7365  =none,none.lease
        0x0090:  2d64 7572 6174 696f 6e3d 3330 300a       -duration=300.
20:42:14.611927 IP 10.XX.XX.11.631 > 10.XX.XX.255.631: UDP, length 124
        0x0000:  4500 0098 0000 4000 4011 d513 0a1c 280b  E..... at .@.....(.
        0x0010:  0a1c 28ff 0277 0277 0084 2954 6230 6365  ..(..w.w..)Tb0ce
        0x0020:  2033 2069 7070 3a2f 2f70 6c75 746f 2e75  .3.ipp://pluto.X
        0x0030:  6469 6d61 3a30 2f70 7269 6e74 6572 732f  XXXX:0/printers/
        0x0040:  6265 7374 6961 2022 5261 636b 2220 224f  bestia."Rack"."O
        0x0050:  6365 2043 5332 3430 2220 2247 656e 6572  ce.CS240"."Gener
        0x0060:  6963 2034 3543 2d31 2050 5328 5029 2220  ic.45C-1.PS(P)".
        0x0070:  6a6f 622d 7368 6565 7473 3d6e 6f6e 652c  job-sheets=none,
        0x0080:  6e6f 6e65 206c 6561 7365 2d64 7572 6174  none.lease-durat
        0x0090:  696f 6e3d 3330 300a                      ion=300.
20:42:17.611517 IP 10.XX.XX.11.631 > 10.XX.XX.255.631: UDP, length 154
        0x0000:  4500 00b6 0000 4000 4011 d4f5 0a1c 280b  E..... at .@.....(.
        0x0010:  0a1c 28ff 0277 0277 00a2 c380 3130 3036  ..(..w.w....1006
        0x0020:  2033 2069 7070 3a2f 2f70 6c75 746f 2e75  .3.ipp://pluto.X
        0x0030:  6469 6d61 3a30 2f70 7269 6e74 6572 732f  XXXX:0/printers/
        0x0040:  6265 6c6c 6120 2252 6575 6e69 6f6e 6573  bella."Reuniones
        0x0050:  2220 2248 5020 3130 3232 2220 2248 5020  "."HP.1022"."HP.
        0x0060:  4c61 7365 724a 6574 2031 3032 3020 466f  LaserJet.1020.Fo
        0x0070:  6f6d 6174 6963 2f66 6f6f 327a 6a73 2028  omatic/foo2zjs.(
        0x0080:  7265 636f 6d6d 656e 6465 6429 2220 6a6f  recommended)".jo
        0x0090:  622d 7368 6565 7473 3d6e 6f6e 652c 6e6f  b-sheets=none,no
        0x00a0:  6e65 206c 6561 7365 2d64 7572 6174 696f  ne.lease-duratio
        0x00b0:  6e3d 3330 300a                           n=300.

## /etc/init.d/cupsys restart ##

20:42:21.902911 IP 10.XX.XX.11.631 > 10.XX.XX.255.631: UDP, length 156
        0x0000:  4500 00b8 0000 4000 4011 d4f3 0a1c 280b  E..... at .@.....(.
        0x0010:  0a1c 28ff 0277 0277 00a4 9045 3130 3036  ..(..w.w...E1006
        0x0020:  2033 2069 7070 3a2f 2f70 6c75 746f 2e75  .3.ipp://pluto.X
        0x0030:  6469 6d61 3a36 3331 2f70 7269 6e74 6572  XXXX:631/printer
        0x0040:  732f 6265 6c6c 6120 2252 6575 6e69 6f6e  s/bella."Reunion
        0x0050:  6573 2220 2248 5020 3130 3232 2220 2248  es"."HP.1022"."H
        0x0060:  5020 4c61 7365 724a 6574 2031 3032 3020  P.LaserJet.1020.
        0x0070:  466f 6f6d 6174 6963 2f66 6f6f 327a 6a73  Foomatic/foo2zjs
        0x0080:  2028 7265 636f 6d6d 656e 6465 6429 2220  .(recommended)".
        0x0090:  6a6f 622d 7368 6565 7473 3d6e 6f6e 652c  job-sheets=none,
        0x00a0:  6e6f 6e65 206c 6561 7365 2d64 7572 6174  none.lease-durat
        0x00b0:  696f 6e3d 3330 300a                      ion=300.
20:42:22.902738 IP 10.XX.XX.11.631 > 10.XX.XX.255.631: UDP, length 126
        0x0000:  4500 009a 0000 4000 4011 d511 0a1c 280b  E..... at .@.....(.
        0x0010:  0a1c 28ff 0277 0277 0086 f618 6230 6365  ..(..w.w....b0ce
        0x0020:  2033 2069 7070 3a2f 2f70 6c75 746f 2e75  .3.ipp://pluto.X
        0x0030:  6469 6d61 3a36 3331 2f70 7269 6e74 6572  XXXX:631/printer
        0x0040:  732f 6265 7374 6961 2022 5261 636b 2220  s/bestia."Rack".
        0x0050:  224f 6365 2043 5332 3430 2220 2247 656e  "Oce.CS240"."Gen
        0x0060:  6572 6963 2034 3543 2d31 2050 5328 5029  eric.45C-1.PS(P)
        0x0070:  2220 6a6f 622d 7368 6565 7473 3d6e 6f6e  ".job-sheets=non
        0x0080:  652c 6e6f 6e65 206c 6561 7365 2d64 7572  e,none.lease-dur
        0x0090:  6174 696f 6e3d 3330 300a                 ation=300.
20:42:23.902607 IP 10.XX.XX.11.631 > 10.XX.XX.255.631: UDP, length 132
        0x0000:  4500 00a0 0000 4000 4011 d50b 0a1c 280b  E..... at .@.....(.
        0x0010:  0a1c 28ff 0277 0277 008c b7ca 6230 6365  ..(..w.w....b0ce
        0x0020:  2033 2069 7070 3a2f 2f70 6c75 746f 2e75  .3.ipp://pluto.X
        0x0030:  6469 6d61 3a36 3331 2f70 7269 6e74 6572  XXXX:631/printer
        0x0040:  732f 6265 7374 6961 5f63 6f6c 6f72 2022  s/bestia_color."
        0x0050:  5261 636b 2220 224f 6365 2043 5332 3430  Rack"."Oce.CS240
        0x0060:  2220 2247 656e 6572 6963 2034 3543 2d31  "."Generic.45C-1
        0x0070:  2050 5328 5029 2220 6a6f 622d 7368 6565  .PS(P)".job-shee
        0x0080:  7473 3d6e 6f6e 652c 6e6f 6e65 206c 6561  ts=none,none.lea
        0x0090:  7365 2d64 7572 6174 696f 6e3d 3330 300a  se-duration=300.



-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3



-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3





More information about the Pkg-cups-devel mailing list