-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cups hang and shutdown #1736
Comments
CUPS.org User: mike This is an old bug from before 1.2.0 - please verify that you are running 1.2.1! |
CUPS.org User: spurnelle It's a compiled version of cups-1.2.1 over a cups 1.1.23 RPM package. |
CUPS.org User: mike Fixed in Subversion repository. Please test the attached patch... |
CUPS.org User: mike This STR has not been updated by the submitter for two or more weeks and has been closed as required by the CUPS Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR. |
"cupsd.conf": "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $"Sample configuration file for the Common UNIX Printing System (CUPS)scheduler. See "man cupsd.conf" for a complete description of thisfile.Log general information in error_log - change "info" to "debug" fortroubleshooting...LogLevel debug Administrator user group...SystemGroup sys rootOnly listen for connections from the local machine.Listen 127.0.0.1:631 Show shared printers on the local network.Browsing Off ServerAdmin root@coradm01.int-corman.be ServerKey /etc/openssl/keys/coradm01.cor.soparind.bongrain.key Default authentication type, when authentication is required...DefaultAuthType BasicRestrict access to the server...Order Deny,Allow Deny From All Allow localhost Allow From 10.217.4.0/255.255.252.0Restrict access to the admin pages...<Location /admin> Encryption RequiredOrder Deny,Allow Restrict access to configuration files...<Location /admin/conf> Set the default printer/job policies...# Job-related operations must be done by the owner or an adminstrator... # Require user @owner @System Order deny,allow Allow From localhost Allow From 10.217.4.0/255.255.252.0All administration operations require an adminstrator to authenticate...AuthType Basic # Require user @System Order deny,allow Allow From localhost Allow From 10.217.4.0/255.255.252.0Only the owner or an administrator can cancel or authenticate a job...Require user @owner @System Order deny,allow Order deny,allowPreserveJobFiles No End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $". |
"str1736.patch": Index: client.c--- client.c (revision 5612) if (con->filename)
- fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);con->pipe_pid = pipe_command(con, fd, &(con->file), command, options, root);
cupsdLogMessage(CUPSD_LOG_INFO, "Started "%s" (pid=%d)", command, Index: job.c--- job.c (revision 5612) - filterfds[1][0] = open("/dev/null", O_RDONLY);
- "Unable to open "/dev/null" - %s.", strerror(errno));- cupsdAddPrinterHistory(printer);
- "Job canceled because the server could not open /dev/null.");
- }- fcntl(filterfds[1][0], F_SETFD, fcntl(filterfds[1][0], F_GETFD) | FD_CLOEXEC);
- 1, filterfds[1][0], filterfds[1][1]);for (i = 0, slot = 0, filter = (mime_filter_t *)cupsArrayFirst(filters);
- O_WRONLY | O_CREAT | O_TRUNC, 0600);
- "Unable to open "/dev/null" - %s.", strerror(errno));- cupsdAddPrinterHistory(printer);
- "Job canceled because the server could not open a file.");
- }
- fcntl(filterfds[slot][1], F_GETFD) | FD_CLOEXEC);
|
Version: 1.2.1
CUPS.org User: spurnelle
cups after a certain operating time stops on an error :
E [01/Jun/2006:08:16:08 +0200] Unable to open "/dev/null" - Too many open files.
After that cups finishes
Information:
OS : RedHat Enterprise Linux 4 ES U4
version gcc 3.4.5 20051201 (Red Hat 3.4.5-2)
The text was updated successfully, but these errors were encountered: