From me at todhackett.com Fri Mar 1 14:05:27 2013 From: me at todhackett.com (me) Date: Fri, 1 Mar 2013 06:05:27 -0800 Subject: [K12OSN] Launch FF on start up Message-ID: <20130301134624.M95568@todhackett.com> Hi All I have been trying to get FireFox to launch on the TC at startup. LDM_REMOTECMD doesn't seem to do the trick so I started playing with a bash script. FF would start but I would get THREE instances. Ideas? Also, I never did get a printer loaded on any of the TC's - I could print to it from the bash screen - 'cp [file] /dev/lp0 or /dev/usblp0' or something like that as I don't remember just now. I still needed printers so I used some of the 'extra' TC's that I had laying around for print servers. XPe seems to handle this just fine. One has three printers attached - parallel and 2 usb's. I did have problems with Fedora 17 and the cupsd daemon - seems that whomever has not configured the 'Authentication' correctly and it would never print; with "Waiting for Authentication" in the queue. Geesh, what to do? I was getting ready to throw my hands in the air and pitch the TC's .. then it dawned on me that Fedora 14 was the LTSP OS and I made that a print server too. With the exception of launching an app at start up, everything is working just fine! So if you have an answer for that, it would be peachy! todh -- Todd Hackett Chief Bottle Washer PoBox 1168 Libby, MT 59923 406.293.3843 From dean.jones at oregonstate.edu Fri Mar 1 16:15:43 2013 From: dean.jones at oregonstate.edu (Dean Jones) Date: Fri, 1 Mar 2013 08:15:43 -0800 Subject: [K12OSN] Launch FF on start up In-Reply-To: <20130301134624.M95568@todhackett.com> References: <20130301134624.M95568@todhackett.com> Message-ID: You can launch applications using the window managers method for starting a program at login, instead of trying to use an LTSP specific command. On Fri, Mar 1, 2013 at 6:05 AM, me wrote: > Hi All > > I have been trying to get FireFox to launch on the TC at startup. > LDM_REMOTECMD doesn't > seem to do the trick so I started playing with a bash script. FF would > start but I would > get THREE instances. Ideas? > > Also, I never did get a printer loaded on any of the TC's - I could print > to it from the > bash screen - 'cp [file] /dev/lp0 or /dev/usblp0' or something like that > as I don't > remember just now. I still needed printers so I used some of the 'extra' > TC's that I > had laying around for print servers. XPe seems to handle this just fine. > One has three > printers attached - parallel and 2 usb's. I did have problems with Fedora > 17 and the > cupsd daemon - seems that whomever has not configured the 'Authentication' > correctly and > it would never print; with "Waiting for Authentication" in the queue. > Geesh, what to > do? I was getting ready to throw my hands in the air and pitch the TC's > .. then it > dawned on me that Fedora 14 was the LTSP OS and I made that a print server > too. > > With the exception of launching an app at start up, everything is working > just fine! So > if you have an answer for that, it would be peachy! > > todh > > -- > Todd Hackett Chief Bottle Washer > PoBox 1168 > Libby, MT 59923 > 406.293.3843 > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cisna-barry at wc235.k12.il.us Mon Mar 4 12:11:55 2013 From: cisna-barry at wc235.k12.il.us (Barry Cisna) Date: Mon, 04 Mar 2013 06:11:55 -0600 Subject: [K12OSN] Launch FF on start up Message-ID: <1362399115.17809.24.camel@localhost> Todd, Not sure about doing FF on a particular thin client MAC address but for a particular user do: SYSTEM,>PRFERENCES,>STARTUP APPLICATIONS,>ADD,> 'Firefox-/usr/bin/firefox - firefox', in dialogue boxes. For a locally attached usb printer the following works in the lts.conf file ( providing the printer is confirmed to work plugged into the actual server itself, of course) [00:16:76:44:8E:DC] #mac address of attached TC PRINTER_0_DEVICE=/dev/usblp0 Take Care, Barry From radek at bursztynowski.waw.pl Mon Mar 4 15:21:19 2013 From: radek at bursztynowski.waw.pl (Radek Bursztynowski) Date: Mon, 4 Mar 2013 16:21:19 +0100 Subject: [K12OSN] Local priner problem Message-ID: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> Hello All, Today I try the first time to use local printer connected to thin client, and no effect. My LTSP server is CentOS 6.3 x86_64. My local printer connected to thin client via USB is Samsung ML-2165. This printer connected to the server directly works very well. The first I checked is thin client sees this printer. Using Ctrl+F6 I switched to the shell and: # tail -f /var/log/messages I can see that printer is connected to /dev/usblt0 I checked jetpipe: # ps aux | grep jetpipe and I can see: root 3463 0.0 0.0 760 pts/1 S+ 14:49 0:00 grep jetpipe Thin client configuration in lts.conf: [E0:69:95:65:A1:EB] # Nettop D510 LIKE = CentOS PRINTER_0_DEVICE = "/dev/usblp0" PRINTER_0_PORT = 9100 PRINTER_TYPE = U Thin client receives from DHCP IP address 192.168.1.10 # Netbook D510 host d510 { option host-name "d510"; hardware ethernet E0:69:95:65:A1:EB; fixed-address 192.168.1.10; ### LTSP 5 option root-path "192.168.1.230:/opt/ltsp/i386"; next-server 192.168.1.230; filename "/ltsp/i386/pxelinux.0"; ### Koniec LTSP 5 } Finally I added printer using system-config-printer: socket://192.168.1.10:9100 And nothing. I checked archives this issue and I found this post: https://www.redhat.com/archives/k12osn/2012-September/msg00009.html Follow this advice I deleted old jetpipe from thin client chroot and I renamed p910nd in jetpipe. Still nothing. I can see the message that the printer could be not connected. What should I to do to use local printer. Any advice will be priceless. Best regards, Radek -------------- next part -------------- An HTML attachment was scrubbed... URL: From julius at turtle.com Mon Mar 4 16:07:06 2013 From: julius at turtle.com (julius at turtle.com) Date: Mon, 04 Mar 2013 11:07:06 -0500 Subject: [K12OSN] Local priner problem In-Reply-To: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: <62f4ef8282183bae3c9652e496e4df18b5bc0785@webmail.turtle.com> Radek, same server as yours,? this is what works for me like a charm: ? ??????? PRINTER_0_TYPE=S ??????? PRINTER_0_DEVICE="/dev/usb/lp0" ??????? PRINTER_0_WRITE_ONLY=Y Check the /dev files. I use "Write only" because I don't want or need the chatter. The printer type is really serial as in "Universal Serial Bus". ?A good way to test for the properly created printer process is: telnet 192.168.1.10 9100. you should get: Connected to 192.168.1.10. Escape character is '^]'. Julius ----- Original Message ----- From: "Support list for open source software in schools." To: Cc: Sent:Mon, 4 Mar 2013 16:21:19 +0100 Subject:[K12OSN] Local priner problem Hello All, Today I try the first time to use local printer connected to thin client, and no effect. My LTSP server is CentOS 6.3 x86_64. My local printer connected to thin client via USB is Samsung ML-2165. This printer connected to the server directly works very well. The first I checked is thin client sees this printer. Using Ctrl+F6 I switched to the shell and: # tail -f /var/log/messages I can see that printer is connected to /dev/usblt0 I checked jetpipe: # ps aux | grep jetpipe and I can see: root? 3463? 0.0?? 0.0?? 760? pts/1? S+? 14:49? 0:00? grep jetpipe Thin client configuration in lts.conf: [E0:69:95:65:A1:EB]??????????????? # Nettop D510 ??? LIKE?????????????????????????????????? = CentOS ??? PRINTER_0_DEVICE????????? = "/dev/usblp0" ??? PRINTER_0_PORT???????????? = 9100 ??? PRINTER_TYPE????????????????? = U Thin client receives from DHCP IP address 192.168.1.10 # Netbook D510 ? host d510 { ??? option host-name "d510"; ??? hardware ethernet??? E0:69:95:65:A1:EB; ??? fixed-address 192.168.1.10; ??? ### LTSP 5 ??? option root-path "192.168.1.230:/opt/ltsp/i386"; ??? next-server 192.168.1.230; ??? filename??????? "/ltsp/i386/pxelinux.0"; ??? ### Koniec LTSP 5 ? } Finally I added printer using system-config-printer: socket://192.168.1.10:9100 And nothing. I checked archives this issue and I found this post: https://www.redhat.com/archives/k12osn/2012-September/msg00009.html Follow this advice I deleted old jetpipe from thin client chroot and I renamed p910nd in jetpipe. Still nothing. I can see the message that the printer could be not connected. What should I to do to use local printer. Any advice will be priceless. Best regards, Radek This email is confidential and intended solely for the use of the individual to whom it is addressed. Please note, any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Turtle & Hughes, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From santiago.mera at dusa.com.uy Mon Mar 4 17:56:09 2013 From: santiago.mera at dusa.com.uy (Santiago Mera) Date: Mon, 4 Mar 2013 15:56:09 -0200 (UYST) Subject: [K12OSN] Local priner problem In-Reply-To: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> References: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: <223575026.17982.1362419769647.JavaMail.root@dusa.com.uy> Hello Radek, I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). I solved this by installing the python-daemon package in the chroot. I'm still unable to print to a printer connected to the thin client via the parallel port though. Hope this helps. ---- Ing. Santiago Mera Droguer?a Uruguay S.A. Tel: (+598) 2408 7505 int. 264 ----- Original Message ----- From: "Radek Bursztynowski" To: k12osn at redhat.com Sent: Monday, March 4, 2013 1:21:19 PM Subject: [K12OSN] Local priner problem Hello All, Today I try the first time to use local printer connected to thin client, and no effect. My LTSP server is CentOS 6.3 x86_64. My local printer connected to thin client via USB is Samsung ML-2165. This printer connected to the server directly works very well. The first I checked is thin client sees this printer. Using Ctrl+F6 I switched to the shell and: # tail -f /var/log/messages I can see that printer is connected to /dev/usblt0 I checked jetpipe: # ps aux | grep jetpipe and I can see: root 3463 0.0 0.0 760 pts/1 S+ 14:49 0:00 grep jetpipe Thin client configuration in lts.conf: [E0:69:95:65:A1:EB] # Nettop D510 LIKE = CentOS PRINTER_0_DEVICE = "/dev/usblp0" PRINTER_0_PORT = 9100 PRINTER_TYPE = U Thin client receives from DHCP IP address 192.168.1.10 # Netbook D510 host d510 { option host-name "d510"; hardware ethernet E0:69:95:65:A1:EB; fixed-address 192.168.1.10; ### LTSP 5 option root-path "192.168.1.230:/opt/ltsp/i386"; next-server 192.168.1.230; filename "/ltsp/i386/pxelinux.0"; ### Koniec LTSP 5 } Finally I added printer using system-config-printer: socket://192.168.1.10:9100 And nothing. I checked archives this issue and I found this post: https://www.redhat.com/archives/k12osn/2012-September/msg00009.html Follow this advice I deleted old jetpipe from thin client chroot and I renamed p910nd in jetpipe. Still nothing. I can see the message that the printer could be not connected. What should I to do to use local printer. Any advice will be priceless. Best regards, Radek _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see -------------- next part -------------- An HTML attachment was scrubbed... URL: From radek at bursztynowski.waw.pl Mon Mar 4 18:55:29 2013 From: radek at bursztynowski.waw.pl (Radek Bursztynowski) Date: Mon, 4 Mar 2013 19:55:29 +0100 Subject: [K12OSN] Local priner problem In-Reply-To: <223575026.17982.1362419769647.JavaMail.root@dusa.com.uy> References: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: <1362423329.12620.2.camel@alpaga.bursztynowski.waw.pl> Hello, Many thanks to Julius and Santiago. I will use your advice tomorrow at the my lab and I report the results. Best regards, Radek > Hello Radek, > > I have the same server as yours. The first time I tried to print > locally I had the similar problems (jetpipe wasn't running). > > > I solved this by installing the python-daemon package in the chroot. > I'm still unable to print to a printer connected to the thin client > via the parallel port though. > > > Hope this helps. > > > ---- > Ing. Santiago Mera > Droguer?a Uruguay S.A. > Tel: (+598) 2408 7505 int. 264 > > > > > > ______________________________________________________________________ > From: "Radek Bursztynowski" > To: k12osn at redhat.com > Sent: Monday, March 4, 2013 1:21:19 PM > Subject: [K12OSN] Local priner problem > > > Hello All, > > > Today I try the first time to use local printer connected to thin > client, and no effect. > > > My LTSP server is CentOS 6.3 x86_64. > My local printer connected to thin client via USB is Samsung ML-2165. > This printer connected to the server directly works very well. > > > The first I checked is thin client sees this printer. > Using Ctrl+F6 I switched to the shell and: > # tail -f /var/log/messages > I can see that printer is connected to /dev/usblt0 > I checked jetpipe: > # ps aux | grep jetpipe > > > and I can see: > root 3463 0.0 0.0 760 pts/1 S+ 14:49 0:00 grep jetpipe > > > Thin client configuration in lts.conf: > [E0:69:95:65:A1:EB] # Nettop D510 > LIKE = CentOS > PRINTER_0_DEVICE = "/dev/usblp0" > PRINTER_0_PORT = 9100 > PRINTER_TYPE = U > > > Thin client receives from DHCP IP address 192.168.1.10 > # Netbook D510 > host d510 { > option host-name "d510"; > hardware ethernet E0:69:95:65:A1:EB; > fixed-address 192.168.1.10; > > > ### LTSP 5 > option root-path "192.168.1.230:/opt/ltsp/i386"; > next-server 192.168.1.230; > filename "/ltsp/i386/pxelinux.0"; > ### Koniec LTSP 5 > } > > > Finally I added printer using system-config-printer: > socket://192.168.1.10:9100 > > > And nothing. > > > I checked archives this issue and I found this post: > https://www.redhat.com/archives/k12osn/2012-September/msg00009.html > > > Follow this advice I deleted old jetpipe from thin client chroot and I > renamed p910nd in jetpipe. > > > Still nothing. I can see the message that the printer could be not > connected. > > > What should I to do to use local printer. > Any advice will be priceless. > > > Best regards, > Radek > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see > > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see From burke at thealmquists.net Mon Mar 4 19:30:55 2013 From: burke at thealmquists.net (Burke Almquist) Date: Mon, 4 Mar 2013 13:30:55 -0600 Subject: [K12OSN] Local priner problem In-Reply-To: <223575026.17982.1362419769647.JavaMail.root@dusa.com.uy> References: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> <223575026.17982.1362419769647.JavaMail.root@dusa.com.uy> Message-ID: <1ADA13B8-6951-44CF-81A0-3753D4EF9DB9@thealmquists.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: > Hello Radek, > I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). > > I solved this by installing the python-daemon package in the chroot. > I'm still unable to print to a printer connected to the thin client via the parallel port though. > I think for parallel port printers you need to use PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" PRINTER_TYPE = P instead of U or S -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS =rekW -----END PGP SIGNATURE----- From julius at turtle.com Mon Mar 4 19:42:34 2013 From: julius at turtle.com (julius at turtle.com) Date: Mon, 04 Mar 2013 14:42:34 -0500 Subject: [K12OSN] Local priner problem In-Reply-To: <1ADA13B8-6951-44CF-81A0-3753D4EF9DB9@thealmquists.net> Message-ID: <3ab225fc9f0c0cad6065549690043d5f5f5526ca@webmail.turtle.com> Device depends on what is in the /dev directory. I have /dev/usb/lp0 In my experience the parallel printers just refused to work julius ----- Original Message ----- From: "Support list for open source software in schools." To:"Support list for open source software in schools." Cc: Sent:Mon, 4 Mar 2013 13:30:55 -0600 Subject:Re: [K12OSN] Local priner problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: > Hello Radek, > I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). > > I solved this by installing the python-daemon package in the chroot. > I'm still unable to print to a printer connected to the thin client via the parallel port though. > I think for parallel port printers you need to use PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" PRINTER_TYPE = P instead of U or S -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS =rekW -----END PGP SIGNATURE----- _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see This email is confidential and intended solely for the use of the individual to whom it is addressed. Please note, any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Turtle & Hughes, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From santiago.mera at dusa.com.uy Mon Mar 4 19:54:17 2013 From: santiago.mera at dusa.com.uy (Santiago Mera) Date: Mon, 4 Mar 2013 17:54:17 -0200 (UYST) Subject: [K12OSN] Local priner problem In-Reply-To: <1ADA13B8-6951-44CF-81A0-3753D4EF9DB9@thealmquists.net> References: <14085575.541362410479195.JavaMail.root@poczta.bursztynowski.waw.pl> <223575026.17982.1362419769647.JavaMail.root@dusa.com.uy> <1ADA13B8-6951-44CF-81A0-3753D4EF9DB9@thealmquists.net> Message-ID: <1725887802.21572.1362426857675.JavaMail.root@dusa.com.uy> Yes, that would usually be the case I think. What happened to us with parallel printers is that we see no device in the /dev directory that corresponds to the printer (no /dev/lp0 or similar). So no matter what you put in PRINTER_0_DEVICE, jetpipe will complain about not finding the device and dies. We ended up not bothering about parallel printing and are now using serial or usb. ---- Ing. Santiago Mera Droguer?a Uruguay S.A. Tel: (+598) 2408 7505 int. 264 ----- Original Message ----- From: "Burke Almquist" To: "Support list for open source software in schools." Sent: Monday, March 4, 2013 5:30:55 PM Subject: Re: [K12OSN] Local priner problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: > Hello Radek, > I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). > > I solved this by installing the python-daemon package in the chroot. > I'm still unable to print to a printer connected to the thin client via the parallel port though. > I think for parallel port printers you need to use PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" PRINTER_TYPE = P instead of U or S -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS =rekW -----END PGP SIGNATURE----- _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see -------------- next part -------------- An HTML attachment was scrubbed... URL: From radek at bursztynowski.waw.pl Tue Mar 5 13:11:25 2013 From: radek at bursztynowski.waw.pl (Radek Bursztynowski) Date: Tue, 5 Mar 2013 14:11:25 +0100 Subject: [K12OSN] Local priner problem Message-ID: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> Thanks a lot for all help, but still nothing. Let me explain my today exercise. The first I used Julius's advice: PRINTER_0_TYPE=S PRINTER_0_DEVICE="/dev/usb/lp0" # /dev/usblp0 is symbolic link to /dev/usb/lp0 PRINTER_0_WRITE_ONLY=Y Nothing. telnet 192.168.1.10:9100 connection refused. So, I started on thin client (shell console) jetpipe manually. Now telnet 192.168.1.10 9100 connects, but still I couldn't print. So I added /usr/sbin/jetpipe to /etc/rc.d/rc.local. Now every time telnet 192.168.1.10 9100 connects, but the printer doesn't print. I changed PRINTER_0_TYPE=S with "U", still nothing. I installed using chroot python-daemon, still nothing. ps aux | grep python* shows that any python process isn't running. But very interesting - when I added this printer connected to thin client using system-config-printer on my LTSP server and I try to print test page, I can read the messages that printer is connected, next - the file sent to the printer, next "waiting for finishing printing job", and next "ready to use". But my printer didn't print anything. The advice with /dev/lp0 I tried too - still noting. When I try to add this printer on Windows computer using TCP/IP port (192.168.1.10:9100) I can see the message, that the printer is not connected (still telnet 192.168.1.10 9100 connects). Any other advice, please? Best regards, Radek ----- Original Message ----- From: "Santiago Mera" Sent: Mon, 3/4/2013 8:54pm To: "Support list for open source software in schools." Subject: Re: [K12OSN] Local priner problem Yes, that would usually be the case I think.What happened to us with parallel printers is that we see no device in the /dev directory that corresponds to the printer (no /dev/lp0 or similar). So no matter what you put in PRINTER_0_DEVICE, jetpipe will complain about not finding the device and dies. We ended up not bothering about parallel printing and are now using serial or usb. ---- Ing. Santiago Mera Droguer?a Uruguay S.A. Tel: (+598) 2408 7505 int. 264 From: "Burke Almquist" To: "Support list for open source software in schools." Sent: Monday, March 4, 2013 5:30:55 PM Subject: Re: [K12OSN] Local priner problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: > Hello Radek, > I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). > > I solved this by installing the python-daemon package in the chroot. > I'm still unable to print to a printer connected to the thin client via the parallel port though. > I think for parallel port printers you need to use PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" PRINTER_TYPE = P instead of U or S -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS =rekW -----END PGP SIGNATURE----- _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see ; From santiago.mera at dusa.com.uy Tue Mar 5 14:58:58 2013 From: santiago.mera at dusa.com.uy (Santiago Mera) Date: Tue, 5 Mar 2013 12:58:58 -0200 (UYST) Subject: [K12OSN] Local priner problem In-Reply-To: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> References: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: <639221686.11068.1362495538000.JavaMail.root@dusa.com.uy> When starting jetpipe manually on the thin client shell, you could try the -d option (debug). This may give you additional information as to why it's not printing... ---- Ing. Santiago Mera Droguer?a Uruguay S.A. Tel: (+598) 2408 7505 int. 264 ----- Original Message ----- From: "Radek Bursztynowski" To: "Support list for open source software in schools." , "Support list for open source software in schools." Sent: Tuesday, March 5, 2013 11:11:25 AM Subject: Re: [K12OSN] Local priner problem Thanks a lot for all help, but still nothing. Let me explain my today exercise. The first I used Julius's advice: PRINTER_0_TYPE=S PRINTER_0_DEVICE="/dev/usb/lp0" # /dev/usblp0 is symbolic link to /dev/usb/lp0 PRINTER_0_WRITE_ONLY=Y Nothing. telnet 192.168.1.10:9100 connection refused. So, I started on thin client (shell console) jetpipe manually. Now telnet 192.168.1.10 9100 connects, but still I couldn't print. So I added /usr/sbin/jetpipe to /etc/rc.d/rc.local. Now every time telnet 192.168.1.10 9100 connects, but the printer doesn't print. I changed PRINTER_0_TYPE=S with "U", still nothing. I installed using chroot python-daemon, still nothing. ps aux | grep python* shows that any python process isn't running. But very interesting - when I added this printer connected to thin client using system-config-printer on my LTSP server and I try to print test page, I can read the messages that printer is connected, next - the file sent to the printer, next "waiting for finishing printing job", and next "ready to use". But my printer didn't print anything. The advice with /dev/lp0 I tried too - still noting. When I try to add this printer on Windows computer using TCP/IP port (192.168.1.10:9100) I can see the message, that the printer is not connected (still telnet 192.168.1.10 9100 connects). Any other advice, please? Best regards, Radek ----- Original Message ----- From: "Santiago Mera" Sent: Mon, 3/4/2013 8:54pm To: "Support list for open source software in schools." Subject: Re: [K12OSN] Local priner problem Yes, that would usually be the case I think.What happened to us with parallel printers is that we see no device in the /dev directory that corresponds to the printer (no /dev/lp0 or similar). So no matter what you put in PRINTER_0_DEVICE, jetpipe will complain about not finding the device and dies. We ended up not bothering about parallel printing and are now using serial or usb. ---- Ing. Santiago Mera Droguer?a Uruguay S.A. Tel: (+598) 2408 7505 int. 264 From: "Burke Almquist" To: "Support list for open source software in schools." Sent: Monday, March 4, 2013 5:30:55 PM Subject: Re: [K12OSN] Local priner problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: > Hello Radek, > I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). > > I solved this by installing the python-daemon package in the chroot. > I'm still unable to print to a printer connected to the thin client via the parallel port though. > I think for parallel port printers you need to use PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" PRINTER_TYPE = P instead of U or S -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS =rekW -----END PGP SIGNATURE----- _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see ; _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see -------------- next part -------------- An HTML attachment was scrubbed... URL: From burke at thealmquists.net Tue Mar 5 19:13:27 2013 From: burke at thealmquists.net (Burke Almquist) Date: Tue, 5 Mar 2013 13:13:27 -0600 Subject: [K12OSN] Local priner problem In-Reply-To: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> References: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: It seems you were able to connect to port 9100, so the print server part must be working. You said the printer is a Parallel Port one, correct? If that is the case, you need to make sure your client is loading the parallel port driver kernel module and the /dev/lp0 exists. From brcisna at eazylivin.net Tue Mar 5 19:16:39 2013 From: brcisna at eazylivin.net (Barry R Cisna) Date: Tue, 05 Mar 2013 13:16:39 -0600 Subject: [K12OSN] Launch FF on start up Message-ID: <1362510999.4009.13.camel@server1.eazylivin.net> Todd, In regards to your locally attached printer. This is ltsp v5 you are using correct? 1) If your client ends up with an ip address of 172.31.100.101 >From the server can you do a,, telnet 172.31.100.101 9100 ,, and get a connect? If you don't get this connect you will have to keep scraping,,until you get this successful. 2) What brand of printer is this? Have you had it connected to the actual server and it works OK connected locally to your k12linux server? Take Care, Barry From me at todhackett.com Tue Mar 5 19:43:00 2013 From: me at todhackett.com (me) Date: Tue, 5 Mar 2013 11:43:00 -0800 Subject: [K12OSN] Printers was ---Re: Launch FF on start up In-Reply-To: <1362510999.4009.13.camel@server1.eazylivin.net> References: <1362510999.4009.13.camel@server1.eazylivin.net> Message-ID: <20130305192938.M7324@todhackett.com> Hi Barry On Tue, 05 Mar 2013 13:16:39 -0600, Barry R Cisna wrote > Todd, > > In regards to your locally attached printer. > This is ltsp v5 you are using correct? believe so > > 1) If your client ends up with an ip address of 172.31.100.101 > >From the server can you do a,, > telnet 172.31.100.101 9100 > ,, and get a connect? > If you don't get this connect you will have to keep scraping,,until you > get this successful. > Actually I do not use the supplied address block. I have a DHCP server setup to work with the TC's ( 192.168...stuff ). When I was playing with the printers awhile back, I did try to telnet to'm without luck. The end result is it was easier and faster to use a couple of the extra TC's that I have. They are running XPe and I made them print servers. One even has three printers connected: 2 USB and 1 Parallel. Sure a dirty hack sorta, but it works and I don't have to jump through hoops to get K12 printers working and can move on to other things. > 2) What brand of printer is this? > Have you had it connected to the actual server and it works OK connected > locally to your k12linux server? Ithaca BankJet and PosJet; both USB and Parallel. Can't test the Parallel on the server as there is no port for that, but the USB ones did install and work just fine. todh > > Take Care, > Barry > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see -- Todd Hackett Chief Bottle Washer PoBox 1168 Libby, MT 59923 406.293.3843 From radek at bursztynowski.waw.pl Tue Mar 5 21:36:04 2013 From: radek at bursztynowski.waw.pl (Radek Bursztynowski) Date: Tue, 5 Mar 2013 22:36:04 +0100 Subject: [K12OSN] Local priner problem In-Reply-To: References: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: <1362519364.20504.67.camel@alpaga.bursztynowski.waw.pl> The printer is connected to thin client via USB. So, should I install cups package in the chroot and run cups service on thin client? Best regards, Radek -- > It seems you were able to connect to port 9100, so the print server part must be working. > You said the printer is a Parallel Port one, correct? If that is the case, you need to make sure your client is loading the parallel port driver kernel module and the /dev/lp0 exists. > > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see From burke at thealmquists.net Tue Mar 5 22:18:55 2013 From: burke at thealmquists.net (burke at thealmquists.net) Date: Tue, 05 Mar 2013 16:18:55 -0600 Subject: [K12OSN] Local priner problem Message-ID: Dumb question, but did you reboot your thin client after you made the changes to the lts.conf file? Radek Bursztynowski wrote: >The printer is connected to thin client via USB. > >So, should I install cups package in the chroot and run cups service on >thin client? > >Best regards, >Radek > > >-- >> It seems you were able to connect to port 9100, so the print server part must be working. >> You said the printer is a Parallel Port one, correct? If that is the case, you need to make sure your client is loading the parallel port driver kernel module and the /dev/lp0 exists. >> >> >> _______________________________________________ >> K12OSN mailing list >> K12OSN at redhat.com >> https://www.redhat.com/mailman/listinfo/k12osn >> For more info see > > >_______________________________________________ >K12OSN mailing list >K12OSN at redhat.com >https://www.redhat.com/mailman/listinfo/k12osn >For more info see From julius at turtle.com Tue Mar 5 23:44:15 2013 From: julius at turtle.com (julius at turtle.com) Date: Tue, 05 Mar 2013 18:44:15 -0500 Subject: [K12OSN] Local priner problem In-Reply-To: <1362519364.20504.67.camel@alpaga.bursztynowski.waw.pl> Message-ID: <92aacba39e5ef02ba098ac57825e5bb401feeedf@webmail.turtle.com> No, you don't need cups in the lts tree. The print services run on the server. Julius ----- Original Message ----- From: "Radek Bursztynowski" "Support list for open source software in schools." To:"Support list for open source software in schools." Cc: Sent:Tue, 5 Mar 2013 22:36:04 +0100 Subject:Re: [K12OSN] Local priner problem The printer is connected to thin client via USB. So, should I install cups package in the chroot and run cups service on thin client? Best regards, Radek -- > It seems you were able to connect to port 9100, so the print server part must be working. > You said the printer is a Parallel Port one, correct? If that is the case, you need to make sure your client is loading the parallel port driver kernel module and the /dev/lp0 exists. > > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see This email is confidential and intended solely for the use of the individual to whom it is addressed. Please note, any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Turtle & Hughes, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaap at jbril.net Wed Mar 6 09:05:16 2013 From: jaap at jbril.net (Jaap Bril) Date: Wed, 06 Mar 2013 10:05:16 +0100 Subject: [K12OSN] Local priner problem In-Reply-To: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> References: <19301325.671362489085561.JavaMail.root@poczta.bursztynowski.waw.pl> Message-ID: <513706CC.8070309@jbril.net> Debug of [..]/sbin/jetpipe revealed line 50: only '/dev/tty..' are serial, devicetype 'S'. Other names will be parralel devicetype 'P'. jetpipe: > 50 if devicename[:8] == '/dev/tty':*# This should catch regular serial and USB serial* [..] > 59 self.devicetype = 'S' > 60 else: > 61 self.device = open(devicename, 'wb') > 62 self.devicetype = 'P' I 'eliminated' this error and useing '/dev/usb/lp0' jetpipe threw an exception: serial.serialutil.SerialException("Could not configure port:(25, 'Inappropriate ioctl for device') The comment on line 307 (serialposix.py) might be your answer. > 305 try: > 306 iflag, oflag, cflag, lflag, ispeed, ospeed, cc = termios.tcgetattr(self.fd) > 307 except termios.error, msg:*# if a port is nonexistent but has a /dev file, it'll fail here* > 308 raise SerialException("Could not configure port: %s" % msg) Why the prot would be nonexistent I do not know; /dev/usb/lp0 gets created when a printer is connected to a usb port. Jaap On 03/05/2013 02:11 PM, Radek Bursztynowski wrote: > Thanks a lot for all help, but still nothing. Let me explain my today exercise. > > The first I used Julius's advice: > PRINTER_0_TYPE=S > PRINTER_0_DEVICE="/dev/usb/lp0" # /dev/usblp0 is symbolic link to /dev/usb/lp0 > PRINTER_0_WRITE_ONLY=Y > > Nothing. > telnet 192.168.1.10:9100 > connection refused. > > So, I started on thin client (shell console) jetpipe manually. > > Now telnet 192.168.1.10 9100 > connects, but still I couldn't print. > > So I added /usr/sbin/jetpipe to /etc/rc.d/rc.local. Now every time telnet 192.168.1.10 9100 connects, but the printer doesn't print. > > I changed PRINTER_0_TYPE=S with "U", still nothing. > > I installed using chroot python-daemon, still nothing. > ps aux | grep python* > shows that any python process isn't running. > > But very interesting - when I added this printer connected to thin client using system-config-printer on my LTSP server and I try to print test page, I can read the messages that printer is connected, next - the file sent to the printer, next "waiting for finishing printing job", and next "ready to use". But my printer didn't print anything. > > The advice with /dev/lp0 I tried too - still noting. > > > > When I try to add this printer on Windows computer using TCP/IP port (192.168.1.10:9100) I can see the message, that the printer is not connected (still telnet 192.168.1.10 9100 connects). > > Any other advice, please? > > Best regards, > Radek > > > ----- Original Message ----- > From: "Santiago Mera" > Sent: Mon, 3/4/2013 8:54pm > To: "Support list for open source software in schools." > Subject: Re: [K12OSN] Local priner problem > > Yes, that would usually be the case I think.What happened to us with parallel printers is that we see no device in the /dev directory that corresponds to the printer (no /dev/lp0 or similar). So no matter what you put in PRINTER_0_DEVICE, jetpipe will complain about not finding the device and dies. > We ended up not bothering about parallel printing and are now using serial or usb. > ---- > Ing. Santiago Mera > Droguer?a Uruguay S.A. > Tel: (+598) 2408 7505 int. 264 > > From: "Burke Almquist" > To: "Support list for open source software in schools." > Sent: Monday, March 4, 2013 5:30:55 PM > Subject: Re: [K12OSN] Local priner problem > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: > >> Hello Radek, >> I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). >> >> I solved this by installing the python-daemon package in the chroot. >> I'm still unable to print to a printer connected to the thin client via the parallel port though. >> > I think for parallel port printers you need to use > PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" > PRINTER_TYPE = P instead of U or S > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools -http://gpgtools.org > > iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 > wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS > =rekW > -----END PGP SIGNATURE----- > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see; > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jaap.vcf Type: text/x-vcard Size: 110 bytes Desc: not available URL: From radek at bursztynowski.waw.pl Wed Mar 6 09:25:08 2013 From: radek at bursztynowski.waw.pl (Radek Bursztynowski) Date: Wed, 6 Mar 2013 10:25:08 +0100 Subject: [K12OSN] Local priner problem - SOLVED Message-ID: <10987965.761362561908472.JavaMail.root@poczta.bursztynowski.waw.pl> Hello All, Many thanks to All who sent me advice. Owing to this I solved this problem. For forcing my printer to cooperation I made: lts.conf PRINTER_0_DEVICE = /dev/usb/lp0 PRINTER_0_PORT = 9100 PRINTER_TYPE = S and jetpipe process is started as follow: /usr./sbin/jetpipe -f /dev/usb/lp0 My printer prints with original jetpipe included in thin client, and with p910nd package got from http://p910nd.sourceforge.net/ That's all. Thanks again for any help. Best regards, Radek ---- Debug of [..]/sbin/jetpipe revealed line 50: only '/dev/tty..' are serial, devicetype 'S'. Other names will be parralel devicetype 'P'. jetpipe: 50 if devicename[:8] == '/dev/tty': # This should catch regular serial and USB serial [..] 59 self.devicetype = 'S' 60 else: 61 self.device = open(devicename, 'wb') 62 self.devicetype = 'P' I 'eliminated' this error and useing '/dev/usb/lp0' jetpipe threw an exception: serial.serialutil.SerialException("Could not configure port:(25, 'Inappropriate ioctl for device') The comment on line 307 (serialposix.py) might be your answer. 305 try: 306 iflag, oflag, cflag, lflag, ispeed, ospeed, cc = termios.tcgetattr(self.fd) 307 except termios.error, msg: # if a port is nonexistent but has a /dev file, it'll fail here 308 raise SerialException("Could not configure port: %s" % msg) Why the prot would be nonexistent I do not know; /dev/usb/lp0 gets created when a printer is connected to a usb port. Jaap On 03/05/2013 02:11 PM, Radek Bursztynowski wrote: Thanks a lot for all help, but still nothing. Let me explain my today exercise. The first I used Julius's advice: PRINTER_0_TYPE=S PRINTER_0_DEVICE="/dev/usb/lp0" # /dev/usblp0 is symbolic link to /dev/usb/lp0 PRINTER_0_WRITE_ONLY=Y Nothing. telnet 192.168.1.10:9100 connection refused. So, I started on thin client (shell console) jetpipe manually. Now telnet 192.168.1.10 9100 connects, but still I couldn't print. So I added /usr/sbin/jetpipe to /etc/rc.d/rc.local. Now every time telnet 192.168.1.10 9100 connects, but the printer doesn't print. I changed PRINTER_0_TYPE=S with "U", still nothing. I installed using chroot python-daemon, still nothing. ps aux | grep python* shows that any python process isn't running. But very interesting - when I added this printer connected to thin client using system-config-printer on my LTSP server and I try to print test page, I can read the messages that printer is connected, next - the file sent to the printer, next "waiting for finishing printing job", and next "ready to use". But my printer didn't print anything. The advice with /dev/lp0 I tried too - still noting. When I try to add this printer on Windows computer using TCP/IP port (192.168.1.10:9100) I can see the message, that the printer is not connected (still telnet 192.168.1.10 9100 connects). Any other advice, please? Best regards, Radek ----- Original Message ----- From: "Santiago Mera" Sent: Mon, 3/4/2013 8:54pm To: "Support list for open source software in schools." Subject: Re: [K12OSN] Local priner problem Yes, that would usually be the case I think.What happened to us with parallel printers is that we see no device in the /dev directory that corresponds to the printer (no /dev/lp0 or similar). So no matter what you put in PRINTER_0_DEVICE, jetpipe will complain about not finding the device and dies. We ended up not bothering about parallel printing and are now using serial or usb. ---- Ing. Santiago Mera Droguer?a Uruguay S.A. Tel: (+598) 2408 7505 int. 264 From: "Burke Almquist" To: "Support list for open source software in schools." Sent: Monday, March 4, 2013 5:30:55 PM Subject: Re: [K12OSN] Local priner problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 4, 2013, at 11:56 AM, Santiago Mera wrote: Hello Radek, I have the same server as yours. The first time I tried to print locally I had the similar problems (jetpipe wasn't running). I solved this by installing the python-daemon package in the chroot. I'm still unable to print to a printer connected to the thin client via the parallel port though. I think for parallel port printers you need to use PRINTER_0_DEVICE = "/dev/lp0" instead of "/dev/usblp0" PRINTER_TYPE = P instead of U or S -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlE09nAACgkQxWV7OPa/g5EwBwCfZfiH96eoLgxZSBiUzl3Wtxw5 wtQAniN2yp+lxDZ2Ysf8IowNYZYN9GvS =rekW -----END PGP SIGNATURE----- _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see ; _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see _______________________________________________ K12OSN mailing list K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn For more info see ; From brcisna at eazylivin.net Sat Mar 16 11:31:08 2013 From: brcisna at eazylivin.net (Barry R Cisna) Date: Sat, 16 Mar 2013 06:31:08 -0500 Subject: [K12OSN] OT apache troubleshoot Message-ID: <1363433468.10406.37.camel@server1.eazylivin.net> Hello All, # off topic FYI. I did search the Apache forums and couldn't really find a definite solution. On my home CentOS 6.x / K12Linux server I do run Apache server with about 6 sites running for various people I know that they maintain simply as a hobby type thing for themselves. I run Joomla as the CMS for convenience which has worked very well since the get-go. Problem: Without having done any updates to the server for sometime and no monkeying around with configuration files on the Apache part anyway. Some times now when running top I seen many instances of http in the mix and each process about 25% memory,,,which of course does make the server itself get eventually slow. This is about an 4 month old brand new medium grade hardware,but nothing 'enterprise grade" FWIW. In the past I always did see about 10-12 instances of httpd running when I run ' ps aux|grep httpd' but never have seen 6-8 instances running when I run top. I guess due to the fact I have never seen this in top before,(and consequently the server getting somewhat slow),I have never really looked into this or have read up any on the http 'forking process'. If I simply shut off the httpd service for 10 mins then restart later,,these of course disappear. I am not sure what to think in regards to troubleshooting and tracing what causes this behaviour. All 6 websites have run (on my previous server hardware) and I never did have this happen. Sorry for the long post Thank You, Barry From me at todhackett.com Sat Mar 16 18:41:55 2013 From: me at todhackett.com (Todd Hackett) Date: Sat, 16 Mar 2013 12:41:55 -0600 Subject: [K12OSN] OT apache troubleshoot In-Reply-To: <1363433468.10406.37.camel@server1.eazylivin.net> References: <1363433468.10406.37.camel@server1.eazylivin.net> Message-ID: <5144BCF3.3070101@todhackett.com> Hi Barry PID USER PR NI VIRT RES SHR S %cpu %Mem Time+ COMMAND 2789 daemon 30 10 261m 12m 3428 S 0.0 0.3 0:01.77httpd 2923 daemon 30 10 258m 9120 3440 S 0.0 0.2 0:00.97 httpd 3106 daemon 30 10 258m 9048 3396 S 0.0 0.2 0:01.15 httpd 3501 daemon 30 10 258m 8992 3328 S 0.0 0.2 0:00.57 httpd 3891 daemon 30 10 258m 9036 3388 S 0.0 0.2 0:00.79 httpd 3930 daemon 30 10 258m 8764 3132 S 0.0 0.2 0:00.05 httpd 4021 daemon 30 10 257m 8764 3328 S 0.0 0.2 0:00.28 httpd 4717 daemon 30 10 257m 8704 3312 S 0.0 0.2 0:01.01 httpd 4719 daemon 30 10 258m 9012 3364 S 0.0 0.2 0:00.89 httpd 4726 daemon 30 10 258m 8372 3028 S 0.0 0.2 0:00.01 httpd uptime is 965 days The above is a production server with many websites ... Are you sure it is 25% and not 0.2 or 0.3%? You can limit the number of processes to spawn; on my test server at home .. I typically use 2 to 4 depending. If it is a BIG memory concern, drop that to 1 or 2 and see how it goes. I have seen up to 25 children running at busy times and it doesn't seem to slow things down. ( dual 64Bit 3.6Gig Xeon's hyper-threading; with 8Gig of memory, scsi raid ) You didn't mention your server: Memory, Disk system; and the apache version. todh On 03/16/2013 05:31 AM, Barry R Cisna wrote: > Hello All, > > # off topic > > FYI. I did search the Apache forums and couldn't really find a definite > solution. > > On my home CentOS 6.x / K12Linux server I do run Apache server with > about 6 sites running for various people I know that they maintain > simply as a hobby type thing for themselves. I run Joomla as the CMS for > convenience which has worked very well since the get-go. > > Problem: > Without having done any updates to the server for sometime and no > monkeying around with configuration files on the Apache part anyway. > Some times now when running top I seen many instances of http in the mix > and each process about 25% memory,,,which of course does make the server > itself get eventually slow. > > This is about an 4 month old brand new medium grade hardware,but nothing > 'enterprise grade" FWIW. > > In the past I always did see about 10-12 instances of httpd running when > I run ' ps aux|grep httpd' but never have seen 6-8 instances running > when I run top. > I guess due to the fact I have never seen this in top before,(and > consequently the server getting somewhat slow),I have never really > looked into this or have read up any on the http 'forking process'. > > If I simply shut off the httpd service for 10 mins then restart > later,,these of course disappear. I am not sure what to think in regards > to troubleshooting and tracing what causes this behaviour. All 6 > websites have run (on my previous server hardware) and I never did have > this happen. > Sorry for the long post > > Thank You, > Barry > > > > > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see > -- Todd Hackett System Administrator POBox 1168 Libby, Montana 59923 406.293.3843 http://www.todhackett.com Network and Server Administration. Secure Firewall management. Antispam/antivirus eMail. Managed Web Hosting. Like trains? http://www.soundrail.com Got Stuff? http://www.libbystuff.com From brcisna at eazylivin.net Sun Mar 17 15:33:28 2013 From: brcisna at eazylivin.net (Barry R Cisna) Date: Sun, 17 Mar 2013 10:33:28 -0500 Subject: [K12OSN] OT apache troubleshoot Message-ID: <1363534408.15329.31.camel@server1.eazylivin.net> Tod, Apache 2.2.15 32-bit CentOS 6.3 AMD E-350 Zacate APU 8 GB ram Sata-3 Here is a paste from 'top -u apache' PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2013 apache 20 0 56296 25m 6040 S 0.0 0.3 0:02.90 httpd 2014 apache 20 0 57320 26m 6096 S 0.0 0.3 0:03.95 httpd 2015 apache 20 0 56260 25m 5484 S 0.0 0.3 0:02.83 httpd 28504 apache 20 0 45600 11m 872 S 0.0 0.2 0:00.01 httpd 28505 apache 20 0 56268 25m 5504 S 0.0 0.3 0:08.05 httpd 28506 apache 20 0 56284 26m 6116 S 0.0 0.3 0:07.55 httpd 28507 apache 20 0 56268 25m 5540 S 0.0 0.3 0:08.47 httpd 28508 apache 20 0 56416 25m 5536 S 0.0 0.3 0:07.06 httpd 28509 apache 20 0 56296 25m 5532 S 0.0 0.3 0:04.99 httpd 28510 apache 20 0 57292 25m 5540 S 0.0 0.3 0:08.66 httpd 28511 apache 20 0 56268 25m 5536 S 0.0 0.3 0:07.11 httpd 28512 apache 20 0 57320 26m 5536 S 0.0 0.3 0:05.82 httpd The server is running fine like this. ,,, When I noticed the server starting to get sluggish and the load average was around 8.00- 9.00,,when I run 'top' with no parameters I would see httpd entries about 6-8 times and yes it showed around 25% mem usage each. I have never even seen httpd listed when running top before(with no extra parameters). This has only happened about 3 times,and it seems like it happened after a power outage at my house.Probably just a coincedence? Since I posted this and shut off httpd for 10 mins then restarted I have never again seen httpd even listed in top ( this seems to be 'normal") with no parameters. Just wonder what makes httpd load the server in this fashion and what spawns it? Thanks, Barry From jim.kinney at gmail.com Sun Mar 17 15:53:32 2013 From: jim.kinney at gmail.com (Jim Kinney) Date: Sun, 17 Mar 2013 11:53:32 -0400 Subject: [K12OSN] OT apache troubleshoot In-Reply-To: <1363534408.15329.31.camel@server1.eazylivin.net> References: <1363534408.15329.31.camel@server1.eazylivin.net> Message-ID: You need to run other performance tools to get a better picture than just top. Iostat will show drive access. Check apache logs to look for web crawlers. A bad link that causes a process loop can eat your system. A power blink that causes a small file corruption can generate similar symptoms. On Mar 17, 2013 11:36 AM, "Barry R Cisna" wrote: > Tod, > > Apache 2.2.15 > 32-bit CentOS 6.3 > AMD E-350 Zacate APU > 8 GB ram > Sata-3 > > Here is a paste from 'top -u apache' > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > 2013 apache 20 0 56296 25m 6040 S 0.0 0.3 0:02.90 > httpd > 2014 apache 20 0 57320 26m 6096 S 0.0 0.3 0:03.95 > httpd > 2015 apache 20 0 56260 25m 5484 S 0.0 0.3 0:02.83 > httpd > 28504 apache 20 0 45600 11m 872 S 0.0 0.2 0:00.01 > httpd > 28505 apache 20 0 56268 25m 5504 S 0.0 0.3 0:08.05 > httpd > 28506 apache 20 0 56284 26m 6116 S 0.0 0.3 0:07.55 > httpd > 28507 apache 20 0 56268 25m 5540 S 0.0 0.3 0:08.47 > httpd > 28508 apache 20 0 56416 25m 5536 S 0.0 0.3 0:07.06 > httpd > 28509 apache 20 0 56296 25m 5532 S 0.0 0.3 0:04.99 > httpd > 28510 apache 20 0 57292 25m 5540 S 0.0 0.3 0:08.66 > httpd > 28511 apache 20 0 56268 25m 5536 S 0.0 0.3 0:07.11 > httpd > 28512 apache 20 0 57320 26m 5536 S 0.0 0.3 0:05.82 httpd > > The server is running fine like this. > ,,, > > When I noticed the server starting to get sluggish and the load average > was around 8.00- 9.00,,when I run 'top' with no parameters I would see > httpd entries about 6-8 times and yes it showed around 25% mem usage > each. I have never even seen httpd listed when running top before(with > no extra parameters). This has only happened about 3 times,and it seems > like it happened after a power outage at my house.Probably just a > coincedence? > > Since I posted this and shut off httpd for 10 mins then restarted I have > never again seen httpd even listed in top ( this seems to be 'normal") > with no parameters. > Just wonder what makes httpd load the server in this fashion and what > spawns it? > > Thanks, > Barry > > > _______________________________________________ > K12OSN mailing list > K12OSN at redhat.com > https://www.redhat.com/mailman/listinfo/k12osn > For more info see > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lesmikesell at gmail.com Sun Mar 17 16:02:58 2013 From: lesmikesell at gmail.com (Les Mikesell) Date: Sun, 17 Mar 2013 11:02:58 -0500 Subject: [K12OSN] OT apache troubleshoot In-Reply-To: References: <1363534408.15329.31.camel@server1.eazylivin.net> Message-ID: On Sun, Mar 17, 2013 at 10:53 AM, Jim Kinney wrote: > You need to run other performance tools to get a better picture than just > top. Iostat will show drive access. Check apache logs to look for web > crawlers. A bad link that causes a process loop can eat your system. A power > blink that causes a small file corruption can generate similar symptoms. > php and other embedded program code will run as apache even though the web server framework itself rarely uses much CPU. You might be able to tell from the httpd logs what kind application requests you are getting, and sometimes you can use 'strace -p process_id' to get some idea of what the running code is doing - at least the system call portion. If it is just in a compute loop you wouldn't see that. Also note that security vulnerabilities are pretty common in php web apps. Someone may have injected code you didn't expect. -- Les Mikesell lesmikesell at gmail.com From jvermeulen at cawdekempen.be Thu Mar 21 10:19:17 2013 From: jvermeulen at cawdekempen.be (Johan Vermeulen) Date: Thu, 21 Mar 2013 11:19:17 +0100 Subject: [K12OSN] updates for K12 Message-ID: <514ADEA5.5020709@cawdekempen.be> dear All, on my Centos boxes I have the k12linux repo always enabled, but have never seen updates. Am I doing something wrong of are there simply no updates? Greetings ?. -- Johan Vermeulen IT-medewerker Opensource Software is the future.