printer loss [susepro9.1]-mostly solved-samba the problem?
On Thu, 2005-08-04 at 12:10 -0400, Serge Naggar wrote:
Hi Johannes and others, Your analysis made a lot of sense to me and I have been trying to see where port 631 has been used:
I found that I had added port 631 to the firewall and the /etc/samba/smb.conf
I eliminated both and tried to start cupsd ... the result is not clear:
http://localhost:631/ goes howhere
west:/home/scn # cupsd cupsd: Child exited with status 98!
I am not sure what status 98 and child mean?
I also tried to get the yast printer configuation tool to complete but it is still stalling in the `load current settings´ phase of the
definition.
Is there a command/function which will let me find out where/how
Hi, Thanks for the suggestions - the immediate problem is solved. I feel that a monstrous weight has been lifted. I tried the suggestions and the printer connection is back - wonderful!!!!! what a relief! I stopped the firewall and samba so it is one of them, or both which is causing the problem? I would vote for samba3 as the culprit because the printer loss occurred on both machines on a 2 machine samba lan. I just restarted the firewall without the extra ports including 631, that I had designated - the printer still worked - so samba it must be! Please don´t go away - I would very much appreciate your help/insight to help me locate and correct the problem as the lan is important. I had used the suse-yast-samba to build samba with both machines as both client and server. They offered their printer to each other as well as files. Please let me know if you have had a problem with samba3 interfering with the printer & printer definition and how you solved it. The one machine which was upgraded to kde3.4 has a fully functional printer - the other still at kde3.3 cannot save the printer definition as cupsd dies! - so Iĺl upgrade it to kde3.4 which seems to cure that problem. I will try to bring samba3 back into the picture. I was thinking that it may not be advisable to do so through the suse-yast function - what do you think? Following, are partial results of the netstat -anp function I ran before and after the printer function and /localhost:631/ worked - the results are not too informative to me but maybe one of you can glean some info: Before removing the firewall and samba the situation was, as follows: west:/home/scn # netstat -anp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 7004/xinetd tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN 6812/smbd tcp 0 0 0.0.0.0:1030 0.0.0.0:* LISTEN 7942/artsd tcp 0 0 0.0.0.0:7 0.0.0.0:* LISTEN 7004/xinetd tcp 0 0 0.0.0.0:199 0.0.0.0:* LISTEN 4925/snmpd tcp 0 0 0.0.0.0:137 0.0.0.0:* LISTEN 6812/smbd tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 6635/rsyncd tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 7008/clamd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 5271/portmap tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 6641/cupsd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6894/master tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 5478/named tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 6812/smbd tcp 0 0 127.0.0.1:677 127.0.0.1:111 TIME_WAIT - tcp 0 0 127.0.0.1:676 127.0.0.1:111 TIME_WAIT - tcp 0 0 127.0.0.1:675 127.0.0.1:111 TIME_WAIT - After stopping samba and the firewall - but then reinstating the firewall and a working printer definition the result was: west:~ # netstat -anp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 7004/xinetd tcp 0 0 0.0.0.0:1030 0.0.0.0:* LISTEN 7942/artsd tcp 0 0 0.0.0.0:7 0.0.0.0:* LISTEN 7004/xinetd tcp 0 0 0.0.0.0:199 0.0.0.0:* LISTEN 4925/snmpd tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 6635/rsyncd tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 7008/clamd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 5271/portmap tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 11333/cupsd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6894/master tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 5478/named tcp 0 0 127.0.0.1:974 127.0.0.1:111 TIME_WAIT - tcp 0 0 127.0.0.1:975 127.0.0.1:111 TIME_WAIT - tcp 0 0 127.0.0.1:976 127.0.0.1:111 TIME_WAIT - tcp 0 0 :::873 :::* LISTEN 6635/rsyncd tcp 0 0 :::53 :::* LISTEN 5478/named tcp 0 0 :::22 :::* LISTEN 5477/sshd tcp 0 0 :::25 :::* LISTEN 6894/master tcp 0 0 ::1:953 :::* LISTEN 5478/named udp 0 0 0.0.0.0:1024 0.0.0.0:* 5478/named udp 0 0 0.0.0.0:161 0.0.0.0:* 4925/snmpd udp 0 0 192.168.1.13:53 0.0.0.0:* 5478/named udp 0 0 127.0.0.1:53 0.0.0.0:* 5478/named udp 0 0 0.0.0.0:111 0.0.0.0:* 5271/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 11333/cupsd udp 0 0 192.168.1.13:123 0.0.0.0:* 6489/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 6489/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 6489/ntpd udp 0 0 :::1025 :::* 5478/named udp 0 0 :::53 :::* 5478/named udp 0 0 :::123 :::* 6489/ntpd Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 10173 6894/master private/bsmtp unix 2 [ ACC ] STREAM LISTENING 10177 6894/master private/vscan unix 2 [ ACC ] STREAM LISTENING 10181 6894/master private/procmail unix 2 [ ACC ] STREAM LISTENING 9874 6841/X /tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 12089 7921/kdeinit: dcops /tmp/.ICE-unix/dcop7921-1123258533 unix 2 [ ACC ] STREAM LISTENING 9828 6791/kdm /var/run/xdmctl/dmctl/socket unix 2 [ ACC ] STREAM LISTENING 9877 6791/kdm /var/run/xdmctl/dmctl-:0/socket unix 19 [ ] DGRAM 6980 4813/syslogd /dev/log unix 2 [ ACC ] STREAM LISTENING 16578 9445/kdesud /tmp/ksocket-scn/kdesud_:0 unix 2 [ ACC ] STREAM LISTENING 12793 7976/soffice.bin /tmp/OSL_PIPE_1000_SingleOfficeIPC_f8cc1c783b949b281c4b3c4d728c040 unix 2 [ ] DGRAM 6984 4813/syslogd /var/lib/dhcp/dev/log unix 2 [ ] DGRAM 6986 4813/syslogd /var/lib/named/dev/log unix 2 [ ACC ] STREAM LISTENING 9397 6637/smpppd /var/run/smpppd/control unix 2 [ ACC ] STREAM LISTENING 12256 7947/kdeinit: ksmse /tmp/.ICE-unix/7947 unix 2 [ ACC ] STREAM LISTENING 12250 7942/artsd /tmp/ksocket-scn/west.snj-1f06-42f390aa unix 2 [ ACC ] STREAM LISTENING 12109 7923/kdeinit: klaun /tmp/ksocket-scn/klauncherSiHGac.slave-socket unix 2 [ ACC ] STREAM LISTENING 12540 7967/gconfd-2 /tmp/orbit-scn/linc-1f1f-0-3d3cc82d224e2 unix 2 [ ACC ] STREAM LISTENING 12548 7964/evolution-alar /tmp/orbit-scn/linc-1f1c-0-3c53c3d03316e unix 2 [ ACC ] STREAM LISTENING 12660 7973/bonobo-activat /tmp/orbit-scn/linc-1f25-0-6e87ebc6109d0 unix 2 [ ACC ] STREAM LISTENING 12560 7965/nautilus /tmp/orbit-scn/linc-1f1d-0-2e62075b372ed I tried the other suggestion but I couldn´t locate the function and the install/remove software search yields: no results. west:/home/scn # kcmshell printmgr bash: kcmshell: command not found west:/home/scn # kcnshell printmgr bash: kcnshell: command not found west:/home/scn # Where can I find the function/command? On Thu, 2005-08-04 at 14:46, Ken Schneider wrote: printer port
631 is being used?
I also feel, no proof, that the problem has to do with the interaction of samba3.0.9-2.6-suse and susepro9.1 because the printer-loss and yast-printer-definition stall occurred with both machines - each has a different printer. Both were in samba. Any thoughts? I look forward to resolving this problem. What does the command (as root) kcmshell printmgr show? Does it allow you to configure a printer? Also, remember that SuSE 9.1 required that you set a cups admin passwd with lppasswd -g sys root in order to modify settings.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
"The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
-- Cheers, Serge [Naggar Consulting]
participants (1)
-
Serge Naggar