[Bug 1020048] [NEW] after certain time printing to cups stops working

Launchpad Bug Tracker 1020048 at bugs.launchpad.net
Tue Mar 25 18:54:00 UTC 2014


You have been subscribed to a public bug by Ryan Tandy (rtandy):

== Problem ==
In our institution we are running only printers through a cups server. while freshly opened document prints well, after some time (few minutes) clicking "print file directly" and menu item "print" do not work any more. after close and open again, thing prints correctly. i have checked what exactly is going on in such cases and logs on the cups server don't show any submissions and/or errors so that the thing is obviously stopped at the level of libreoffice.

== Analysis ==
LibreOffice loses it's TCP connection to CUPS after exactly 5 minutes of inactivity and does not manage to reconnect. To reproduce: print something (to a real printer or cups-pdf), wait 6 minutes not printing anything, and print again. Then, nothing is printed. You can watch the TCP connection using
netstat -tpn | grep soffice
While it's working, it looks like this:
tcp        0      0 127.0.0.1:48810         127.0.0.1:631           ESTABLISHED 13976/soffice.bin
After 5 minutes, that connection is gone permanently.

WORKAROUND: To set the timeout to 24 hours add this line to the top of /etc/cups/cupsd.conf :
Timeout 62400

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libreoffice 1:3.5.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jul  2 12:29:31 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" Release amd64 (20120425)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_PAPER=en_GB.UTF-8
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: df-libreoffice
     Importance: Undecided
         Status: Invalid

** Affects: cups (Ubuntu)
     Importance: High
         Status: Fix Released

** Affects: libreoffice (Ubuntu)
     Importance: High
         Status: Invalid

** Affects: cups (Ubuntu Precise)
     Importance: Undecided
         Status: Confirmed

** Affects: libreoffice (Ubuntu Precise)
     Importance: Undecided
         Status: Invalid


** Tags: amd64 apport-bug patch precise
-- 
after certain time printing to cups stops working
https://bugs.launchpad.net/bugs/1020048
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list