![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
Ok sending again, I'm hoping someone has ran into this an knows a solution or maybe give me some pointers on the below problem with cups. jack I'm using suse 9.1 here on our production server with samba running. Its seems several times a month printing will stop to one or all of the printers I have attached via network to this server. To solve the problem I kill all cupsd, then go into the queue an delete all old an current print jobs in the queue, then restart cupsd. Then I go an send a test print job from server to one or two of the printer an everything works again til the next time it happens. It was only happening once a month but now it seems to happen more often. Just wondering if anyone has seen this problem an know a fix. Its not that hard to go thrue the procedure I go thrue above for me but I'm im gone then my boss tends to forgit what to do . He has pretty much left it up to me with the linux server an know very little about it. thanks in advance. jack malone Network Administrator EAST TEXAS LIGHTHOUSE FOR THE BLIND dba HORIZON INDUSTRIES 903-595-3444 http://www.horizonind.com
![](https://seccdn.libravatar.org/avatar/9eaec8ef6e1bb27da5ae2c86af89e1d9.jpg?s=120&d=mm&r=g)
On Tue, 9 Nov 2004 01:34, Jack Malone wrote:
I'm using suse 9.1 here on our production server with samba running. Its seems several times a month printing will stop to one or all of the printers I have attached via network to this server. To solve the problem I kill all cupsd, then go into the queue an delete all old an current print jobs in the queue, then restart cupsd. Then I go an send a test print job from server to one or two of the printer an everything works again til the next time it happens. It was only happening once a month but now it seems to happen more often. Just wondering if anyone has seen this problem an know a fix. Its not that hard to go thrue the procedure I go thrue above for me but I'm im gone then my boss tends to forgit what to do . He has pretty much left it up to me with the linux server an know very little about it.
A friend of mine is having this problem. When cups stops printing, I think you will find /usr/bin/enable <printer> (you will have to use the full path else bash will complain) will get the printers working again without restarting cups. Secondly you could try using the IPP protocol from the Window boxes instead of using samba for printing. I believe this may prevent the printer stopping for unknown reasons. -- Regards, Graham Smith ---------------------------------------------------------
![](https://seccdn.libravatar.org/avatar/52a38d96872b33394d689fc1a59bc068.jpg?s=120&d=mm&r=g)
On Monday 08 November 2004 16:48, Graham Smith wrote:
On Tue, 9 Nov 2004 01:34, Jack Malone wrote:
I'm using suse 9.1 here on our production server with samba running. Its seems several times a month printing will stop to one or all of the printers I have attached via network to this server. To solve the problem I kill all cupsd, then go into the queue an delete all old an current print jobs in the queue, then restart cupsd. Then I go an send a test print job from server to one or two of the printer an everything works again til the next time it happens. It was only happening once a month but now it seems to happen more often. Just wondering if anyone has seen this problem an know a fix. Its not that hard to go thrue the procedure I go thrue above for me but I'm im gone then my boss tends to forgit what to do . He has pretty much left it up to me with the linux server an know very little about it.
A friend of mine is having this problem. When cups stops printing, I think you will find /usr/bin/enable <printer> (you will have to use the full path else bash will complain) will get the printers working again without restarting cups.
Secondly you could try using the IPP protocol from the Window boxes instead of using samba for printing. I believe this may prevent the printer stopping for unknown reasons.
-- Regards,
Graham Smith ---------------------------------------------------------
Mine berfs over some PDF files. And cant be reset wo clearing the whole spool manually and forcefully restart cups, and sometimes even the whole printerserver. Never found the problem tho :( -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
At 10:57 AM 11/8/2004, Rikard Johnels wrote:
A friend of mine is having this problem. When cups stops printing, I think you will find /usr/bin/enable <printer> (you will have to use the full path else bash will complain) will get the printers working again without restarting cups.
Secondly you could try using the IPP protocol from the Window boxes instead of using samba for printing. I believe this may prevent the printer stopping for unknown reasons.
-- Regards,
Graham Smith ---------------------------------------------------------
Mine berfs over some PDF files. And cant be reset wo clearing the whole spool manually and forcefully restart cups, and sometimes even the whole printerserver. Never found the problem tho :(
--
/Rikard
-
Thats what im doing now, clearing the queue out an restarting cupsd. I'm going to try out what the other guy suggested next time one of them stops. if that want work i might just have to setup ipp on eatch workstation as in his second option. Do not really want to do that since it server will queue up jobs for all users an only have the one queue. with the ipp option it seems you will have a queue on each machine that is setup for i. I'm not sure if its pdf files here stopping it but it could be since we do use some pdf files here in our online storage system we developed. jack
![](https://seccdn.libravatar.org/avatar/dcefdbf1fbe7737b010a3a806d826ae2.jpg?s=120&d=mm&r=g)
Thats what im doing now, clearing the queue out an restarting cupsd. I'm going to try out what the other guy suggested next time one of them stops. if that want work i might just have to setup ipp on eatch workstation as in his second option. Do not really want to do that since it server will queue up jobs for all users an only have the one queue. with the ipp option it seems you will have a queue on each machine that is setup for i.
I'm not sure if its pdf files here stopping it but it could be since we do use some pdf files here in our online storage system we developed.
On occasion I've had similar problems with certain file types (or other printer driver/hardware problems) hanging up a printer. Usually if you delete the files in tmp and/or the first print job you can restart cups and save the rest of the queued jobs. Doesn't solve the problem but might make your users happier :-) Jeff
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
A friend of mine is having this problem. When cups stops printing, I think you will find /usr/bin/enable <printer> (you will have to use the full path else bash will complain) will get the printers working again without restarting cups.
Secondly you could try using the IPP protocol from the Window boxes instead of using samba for printing. I believe this may prevent the printer stopping for unknown reasons.
Hey Graham, the ipp setup is new to me. what do I need to do to set this up so the windows clients can print this way. I want to try it out an see if it solves my problem. thanks jack
![](https://seccdn.libravatar.org/avatar/9eaec8ef6e1bb27da5ae2c86af89e1d9.jpg?s=120&d=mm&r=g)
On Tue, 9 Nov 2004 06:46, Jack Malone wrote:
A friend of mine is having this problem. When cups stops printing, I think you will find /usr/bin/enable <printer> (you will have to use the full path else bash will complain) will get the printers working again without restarting cups.
Secondly you could try using the IPP protocol from the Window boxes instead of using samba for printing. I believe this may prevent the printer stopping for unknown reasons.
Hey Graham, the ipp setup is new to me. what do I need to do to set this up so the windows clients can print this way. I want to try it out an see if it solves my problem.
thanks
jack
Jack, Firstly regarding the lockups with cups, try using lpstat -t to see the status of your printers before killing cups. If the printers are disabled (as I found on my friends box) use the command /usr/bin/enable <printer> I don't have any Window boxes here, so haven't got a working URL here. I found the following on the net which should be sufficient to get you going. If you use google you will find quite a few hits. http://www.linuxquestions.org/questions/showthread.php?s=&forumid=55&threadid=247114 ======================================================= Connect to the linux server with IPP. Just make sure that cupsd.conf accepts ip's in your LAN, accepts raw. Configure your windows client by add network printer. URL = http://serverhostname:631/name_of_printer Map the server name to the server name's ip address in c:\windows\system32\drivers\etc\hosts then install the driver on the win box, and it should start working. Samba is not necessary at all except for file sharing. ==================================================== You may have to change the URL given above to URL = http://serverhostname:631/printers/<printer> Change /printers/ to the class of printer if you are using that option. If you install the native printer driver on XP you must make sure that Cups is configured to print raw data. Look at /etc/cups/mime.convs and mime.types The other thing you may try is to install the Adobe postscript drivers on XP instead of the native printer driver. I suggest you experiment with one Windows box and see which of the above is better. -- Regards, Graham Smith ---------------------------------------------------------
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
jack
Jack,
Firstly regarding the lockups with cups, try using lpstat -t
Ok I will try that the next time I have a problem. Thanks
to see the status of your printers before killing cups. If the printers are disabled (as I found on my friends box) use the command /usr/bin/enable <printer> I found the following on the net which should be sufficient to get you going. If you use google you will find quite a few hits.
I did google an ask.com an guess I was not using a good search phrase. found likes to ipp stuff an some links that were no longer working though. again thanks will check into this tomorrow an give it a try on my main machine at work as a trial. I usually do that before I deploy it out on other machines. again thanks for the info jack
![](https://seccdn.libravatar.org/avatar/3725dd0598d6195365aac595306ce501.jpg?s=120&d=mm&r=g)
Jack Malone wrote:
Ok sending again, I'm hoping someone has ran into this an knows a solution or maybe give me some pointers on the below problem with cups.
jack
I'm using suse 9.1 here on our production server with samba running. Its seems several times a month printing will stop to one or all of the printers I have attached via network to this server. To solve the problem I kill all cupsd, then go into the queue an delete all old an current print jobs in the queue, then restart cupsd. Then I go an send a test print job from server to one or two of the printer an everything works again til the next time it happens. It was only happening once a month but now it seems to happen more often. Just wondering if anyone has seen this problem an know a fix. Its not that hard to go thrue the procedure I go thrue above for me but I'm im gone then my boss tends to forgit what to do . He has pretty much left it up to me with the linux server an know very little about it.
I've experienced the very same problem with 9.1. My solution was to log on to the cups server via any browser (http://servername:631/printers, and to restart the printer. So queued jobs were not lost. I don't have an explanation as to why this is happening, and also find that it should not happen. I've just upgraded to 9.2, and have not seen this happen - yet... FX
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
I've experienced the very same problem with 9.1.
My solution was to log on to the cups server via any browser (http://servername:631/printers, and to restart the printer. So queued jobs were not lost. I don't have an explanation as to why this is happening, and also find that it should not happen.
Thanks to all for the suggestions on fixing cups problem. I will try an log onto the cups server an restart the printer next time now that I know how to do it an have a log in setup for lppasswd. I running our server on a backup machine now since i had a hardware problem with our raid array an am rebuilding the server at this point. will try 9.2 on the new machine if we do not choose to go with suse enterprise server 9 on it. again thanks to all jack
participants (5)
-
FX Fraipont
-
Graham Smith
-
Jack Malone
-
Jeffrey Laramie
-
Rikard Johnels