[Samba] Suddenly one printer stops to print

Fabien Chevalier fabien.chevalier at supelec.fr
Wed Feb 18 17:43:20 GMT 2004


Hi all,

I'm still a young man having trouble with his fresh new Samba 3 setup.

I've got another small issue with Samba.

Our Samba 3.0.2-2 (Debian Sarge) is acting as a PDC, but also hosts a few
printers shares, with cups.

Suddenly today only ONE of our printers stopped to work.
From an XP Pro SP1 Client, we cannot print anymore.
An attempt to print a test page fails, and here is what the logs at debug 10 gives
to us. 


[2004/02/18 18:25:01, 10] printing/nt_printing.c:nt_printing_getsec(4796)
  secdesc_ctr for ISTR0017 has 3 aces:
[2004/02/18 18:25:01, 10] printing/nt_printing.c:nt_printing_getsec(4805)
  S-1-1-0 0 2 0xe0000000
[2004/02/18 18:25:01, 10] printing/nt_printing.c:nt_printing_getsec(4805)
  S-1-5-21-50507076-2264231353-679752913-500 0 9 0x10000000
[2004/02/18 18:25:01, 10] printing/nt_printing.c:nt_printing_getsec(4805)
  S-1-5-21-50507076-2264231353-679752913-500 0 2 0x10000000
[2004/02/18 18:25:01, 9] printing/nt_printing.c:get_a_printer_2(3340)
  Unpacked printer [ISTR0017] name [\\str-don-01\ISTR0017] running driver [ISTR0017]
[2004/02/18 18:25:01, 10] printing/nt_printing.c:get_a_printer(4023)
  get_a_printer: [ISTR0017] level 2 returning WERR_OK
[2004/02/18 18:25:01, 5] printing/print_cups.c:cups_printername_ok(322)
  cups_printername_ok("ISTR0017")
[2004/02/18 18:25:01, 10] printing/printing.c:print_job_start(1946)
  print_job_start: Queue ISTR0017 number of jobs (0), max printjobs = 1000
[2004/02/18 18:25:01, 0] printing/printing.c:allocate_print_jobid(1843)
  allocate_print_jobid: failed to allocate a print job for queue ISTR0017
[2004/02/18 18:25:01, 3] printing/printing.c:print_job_start(2011)
  print_job_start: returning fail. Error = No space left on device
[2004/02/18 18:25:01, 5] rpc_parse/parse_prs.c:prs_debug(82)
  000000 spoolss_io_r_startdocprinter
[2004/02/18 18:25:01, 5] rpc_parse/parse_prs.c:prs_uint32(635)


The failing function is allocate_print_jobid, with the following code

	if (i > 2) {
		DEBUG(0, ("allocate_print_jobid: failed to allocate a print job for queue %s\n",
				printername ));
		/* Probably full... */
		errno = ENOSPC;
		return False;
	}

But i can say that my disk is NOT full.

Any clue?

Regards,

Fabien Chevalier



More information about the samba mailing list