cups : probleme étrange : no pages found! | resolu : maj de gs-eps

cups : probleme étrange : no pages found! | resolu : maj de gs-eps - Logiciels - Linux et OS Alternatifs

Marsh Posté le 20-02-2004 à 16:51:50    

Bonjour,
J'utilise cups depuis deja plus de 2 ans ...
L'imprimante est connecté sur un serveur. A partir d'un windows qqconque j'arrive sans probleme à imprimer, la conf du serveur n'est donc pas un probleme ...
 
Sur ma sid, j'ai du desinstaller et reinstaller celui-ci.
J'ai les packages suivant d'installés :

Code :
  1. ii  cupsys         1.1.20final-15 Common UNIX Printing System(tm) - server
  2. ii  cupsys-bsd     1.1.20final-15 Common UNIX Printing System(tm) - BSD comman
  3. ii  cupsys-client  1.1.20final-15 Common UNIX Printing System(tm) - client pro
  4. ii  libcupsimage2  1.1.20final-15 Common UNIX Printing System(tm) - image libs
  5. ii  libcupsys2     1.1.20final-15 Common UNIX Printing System(tm) - libs


 
Je rajoute l'imprimante :  
lpadmin -p hp  -E -v smb://192.168.0.1/hp -m deskjet.ppd
 
un coup de lpr  un_fichier
 
Sur l'imprimante la lumiere clignote indiquant qu'elle va lancer une impression, puis s'arrete et rien ne sort :(
 
J'ai passé les logs de cups au niveau debug sur mon client et le seul message d'erreur :  

Code :
  1. D [21/Feb/2004:16:51:32 +0100] [Job 7] /usr/lib/cups/filter/pstoraster: line 58:  1555 Segmentation fault      $bindir/gs-esp $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile"
  2. E [21/Feb/2004:16:51:32 +0100] PID 1552 stopped with status 139!
  3. E [21/Feb/2004:16:51:32 +0100] [Job 7] No pages found!


 
Donc le probleme sera avec pstoaster certe, je tente de l'installer ors ma debian me dit que ce package est remplace par cupsys et gs-est qui sont à jour ...
 
Si vous avez une idee ...
merci d'avance
 
infos complementaires :  
 
smbclient

Code :
  1. gug:~# smbclient -L 192.168.0.1
  2. Password:
  3. Domain=[RESEAU] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian]
  4.         Sharename      Type      Comment
  5.         ---------      ----      -------
  6.         ftp            Disk      Public
  7.         hp             Printer 
  8.         IPC$           IPC       IPC Service (server server (Samba 2.2.3a-12.3 for Debian))
  9.         ADMIN$         Disk      IPC Service (server server (Samba 2.2.3a-12.3 for Debian))
  10.         root           Disk      Home Directories
  11. Domain=[RESEAU] OS=[Unix] Server=[Samba 2.2.3a-12.3 for Debian]
  12.         Server               Comment
  13.         ---------            -------
  14.         GUG                  gug server (Samba 3.0.2-Debian)
  15.         SERVER               server server (Samba 2.2.3a-12.3 for Debian)
  16.         Workgroup            Master
  17.         ---------            -------
  18.         RESEAU               GUG
  19. gug:~#


 
le log complet pour une impression :  

Code :
  1. D [21/Feb/2004:16:51:27 +0100] AcceptClient() 5 from localhost:631.
  2. D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST / HTTP/1.1
  3. D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=1
  4. D [21/Feb/2004:16:51:27 +0100] CloseClient() 5
  5. D [21/Feb/2004:16:51:27 +0100] AcceptClient() 5 from localhost:631.
  6. D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST / HTTP/1.1
  7. D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=1
  8. D [21/Feb/2004:16:51:27 +0100] CloseClient() 5
  9. D [21/Feb/2004:16:51:27 +0100] AcceptClient() 5 from localhost:631.
  10. D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST / HTTP/1.1
  11. D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=0
  12. D [21/Feb/2004:16:51:27 +0100] ReadClient() 5 POST /printers/hp HTTP/1.1
  13. D [21/Feb/2004:16:51:27 +0100] print_job: auto-typing file...
  14. D [21/Feb/2004:16:51:27 +0100] print_job: request file type is text/plain.
  15. D [21/Feb/2004:16:51:27 +0100] check_quotas: requesting-user-name = 'root'
  16. D [21/Feb/2004:16:51:27 +0100] print_job: requesting-user-name = 'root'
  17. I [21/Feb/2004:16:51:27 +0100] Adding start banner page "none" to job 7.
  18. I [21/Feb/2004:16:51:27 +0100] Adding end banner page "none" to job 7.
  19. I [21/Feb/2004:16:51:27 +0100] Job 7 queued on 'hp' by 'root'.
  20. D [21/Feb/2004:16:51:27 +0100] Job 7 hold_until = 0
  21. D [21/Feb/2004:16:51:27 +0100] StartJob(7, 0x80953f8)
  22. D [21/Feb/2004:16:51:27 +0100] StartJob() id = 7, file = 0/1
  23. D [21/Feb/2004:16:51:27 +0100] job-sheets=none,none
  24. D [21/Feb/2004:16:51:27 +0100] banner_page = 0
  25. D [21/Feb/2004:16:51:27 +0100] StartJob: argv = "hp","7","root","tt","1","","/var/spool/cups/d00007-001"
  26. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
  27. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
  28. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[2]="USER=root"
  29. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[3]="CHARSET=iso-8859-1"
  30. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[4]="LANG=en"
  31. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[5]="TZ=Europe/Paris"
  32. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[6]="PPD=/etc/cups/ppd/hp.ppd"
  33. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
  34. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[8]="RIP_MAX_CACHE=8m"
  35. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[9]="TMPDIR=/var/spool/cups/tmp"
  36. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[10]="CONTENT_TYPE=text/plain"
  37. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[11]="DEVICE_URI=smb://192.168.0.1/hp"
  38. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[12]="PRINTER=hp"
  39. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[13]="CUPS_DATADIR=/usr/share/cups"
  40. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[14]="CUPS_FONTPATH=/usr/share/cups/fonts"
  41. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[15]="CUPS_SERVER=localhost"
  42. D [21/Feb/2004:16:51:27 +0100] StartJob: envp[16]="IPP_PORT=631"
  43. D [21/Feb/2004:16:51:27 +0100] StartJob: statusfds = [ 7 8 ]
  44. D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[1] = [ 9 -1 ]
  45. D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/texttops"
  46. D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[0] = [ 10 11 ]
  47. D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/texttops", 0xbffefec0, 0xbffef230, 9, 11, 8)
  48. I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/texttops (PID 1550) for job 7.
  49. D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/pstops"
  50. D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[1] = [ 9 12 ]
  51. D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/pstops", 0xbffefec0, 0xbffef230, 10, 12, 8)
  52. I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/pstops (PID 1551) for job 7.
  53. D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/pstoraster"
  54. D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[0] = [ 10 11 ]
  55. D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/pstoraster", 0xbffefec0, 0xbffef230, 9, 11, 8)
  56. I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/pstoraster (PID 1552) for job 7.
  57. D [21/Feb/2004:16:51:27 +0100] StartJob: filter = "/usr/lib/cups/filter/rastertohp"
  58. D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[1] = [ 9 12 ]
  59. D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/filter/rastertohp", 0xbffefec0, 0xbffef230, 10, 12, 8)
  60. I [21/Feb/2004:16:51:27 +0100] Started filter /usr/lib/cups/filter/rastertohp (PID 1553) for job 7.
  61. D [21/Feb/2004:16:51:27 +0100] StartJob: backend = "/usr/lib/cups/backend/smb"
  62. D [21/Feb/2004:16:51:27 +0100] StartJob: filterfds[0] = [ -1 10 ]
  63. D [21/Feb/2004:16:51:27 +0100] start_process("/usr/lib/cups/backend/smb", 0xbffefec0, 0xbffef230, 9, 10, 8)
  64. I [21/Feb/2004:16:51:27 +0100] Started backend /usr/lib/cups/backend/smb (PID 1554) for job 7.
  65. D [21/Feb/2004:16:51:27 +0100] ProcessIPPRequest: 5 status_code=0
  66. D [21/Feb/2004:16:51:27 +0100] [Job 7] Page = 595x842; 18,36 to 577,806
  67. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->num_fonts = 35
  68. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[0] = AvantGarde-Book
  69. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[1] = AvantGarde-BookOblique
  70. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[2] = AvantGarde-Demi
  71. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[3] = AvantGarde-DemiOblique
  72. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[4] = Bookman-Demi
  73. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[5] = Bookman-DemiItalic
  74. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[6] = Bookman-Light
  75. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[7] = Bookman-LightItalic
  76. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[8] = Courier
  77. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[9] = Courier-Bold
  78. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->num_fonts = 35
  79. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[0] = AvantGarde-Book
  80. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[1] = AvantGarde-BookOblique
  81. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[2] = AvantGarde-Demi
  82. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[3] = AvantGarde-DemiOblique
  83. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[4] = Bookman-Demi
  84. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[5] = Bookman-DemiItalic
  85. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[6] = Bookman-Light
  86. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[7] = Bookman-LightItalic
  87. D [21/Feb/2004:16:51:27 +0100] [Job 7] ppd->fonts[8] = Courier
  88. D [21/Feb/2004:16:51:27 +0100] [Job 7] Page = 595x842; 18,36 to 577,806
  89. D [21/Feb/2004:16:51:27 +0100] [Job 7] slowcollate=0, slowduplex=0, sloworder=0
  90. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%BoundingBox: 0 0 595 842
  91. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%Creator: texttops/CUPS v1.1.20
  92. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%CreationDate: Sat Feb 21 16:51:27 2004
  93. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%Title: tt
  94. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%For: root
  95. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%Pages: (atend)
  96. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%DocumentNeededResources: font Courier-Bold
  97. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%+ font Courier
  98. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%DocumentSuppliedResources: procset texttops 1.1 0
  99. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%+ font Courier-Bold
  100. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%+ font Courier
  101. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%EndComments
  102. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%BeginProlog
  103. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%BeginResource: font Courier-Bold
  104. D [21/Feb/2004:16:51:27 +0100] [Job 7] 0 %%CreationDate: Wed Dec 22 1999
  105. D [21/Feb/2004:16:51:27 +0100] [Job 7] Running /usr/bin/gs-esp -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -
  106. D [21/Feb/2004:16:51:27 +0100] CloseClient() 5
  107. D [21/Feb/2004:16:51:28 +0100] [Job 7] START 0 1414672 116499 1421640 132248 true 476 3 <0>
  108. D [21/Feb/2004:16:51:28 +0100] [Job 7] END PROCS 0 1414672 128676 1421640 133616 true 588 3 <0>
  109. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_std_e.ps 0 1454864 142008 1421640 134992 true 596 3 <0>
  110. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_il1_e.ps 0 1454864 144727 1421640 134992 true 597 3 <0>
  111. D [21/Feb/2004:16:51:28 +0100] [Job 7] END FONTDIR/ENCS 0 1454864 144879 1421640 134992 true 599 3 <0>
  112. D [21/Feb/2004:16:51:28 +0100] [Job 7] END DEVS 0 1469480 175728 1421640 134992 true 603 3 <0>
  113. D [21/Feb/2004:16:51:28 +0100] [Job 7] END STATD 10 1489576 186125 1421640 136604 true 607 3 <0>
  114. D [21/Feb/2004:16:51:28 +0100] [Job 7] END GS_FONTS 10 1509672 207229 1421640 136604 true 650 3 <0>
  115. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_type1.ps 10 1509672 210779 1421640 136604 true 666 3 <0>
  116. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_dps1.ps 10 1509672 212626 1421640 136604 true 668 3 <0>
  117. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_lev2.ps 10 1549864 234709 1517296 232656 true 675 3 <0>
  118. D [21/Feb/2004:16:51:28 +0100] [Job 7] BEGIN RESOURCES 10 1549864 236845 1517296 232656 true 675 4 <1>
  119. D [21/Feb/2004:16:51:28 +0100] [Job 7] END CATEGORY 10 1549864 238315 1517296 232812 true 676 5 <1>
  120. D [21/Feb/2004:16:51:28 +0100] [Job 7] END GENERIC 10 1549864 241513 1517296 232812 true 676 4 <1>
  121. D [21/Feb/2004:16:51:28 +0100] [Job 7] END FIXED 10 1549864 246844 1517296 232812 true 676 4 <1>
  122. D [21/Feb/2004:16:51:28 +0100] [Job 7] END MISC 10 1549864 251254 1517296 232812 true 676 4 <1>
  123. D [21/Feb/2004:16:51:28 +0100] [Job 7] END ENCODING 10 1569960 256434 1517296 232812 true 676 4 <1>
  124. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_res.ps 10 1569960 256585 1517296 232812 true 680 3 <0>
  125. D [21/Feb/2004:16:51:28 +0100] [Job 7] gs_typ42.ps 10 1569960 256899 1517296 232812 true 683 3 <0>
  126. D [21/Feb/2004:16:51:28 +0100] [Job 7] ./CIDFnmap 20 1569960 264799 1517296 232812 true 842 4 <3>
  127. D [21/Feb/2004:16:51:28 +0100] [Job 7] /usr/share/cups/fonts/CIDFnmap 20 1569960 264838 1517296 232812 true 842 4 <3>
  128. D [21/Feb/2004:16:51:28 +0100] [Job 7] /usr/share/gs-esp/7.07/lib/CIDFnmap 20 1569960 264882 1517296 232812 true 842 4 <3>
  129. D [21/Feb/2004:16:51:32 +0100] [Job 7] /usr/lib/cups/filter/pstoraster: line 58:  1555 Segmentation fault      $bindir/gs-esp $gsopts -sOUTPUTFILE="%stdout" -c"$profile" "$ifile"
  130. E [21/Feb/2004:16:51:32 +0100] PID 1552 stopped with status 139!
  131. E [21/Feb/2004:16:51:32 +0100] [Job 7] No pages found!
  132. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndResource
  133. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%BeginResource: font Courier
  134. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%CreationDate: Wed Dec 22 1999
  135. E [21/Feb/2004:16:51:32 +0100] PID 1553 stopped with status 1!
  136. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndResource
  137. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%BeginResource: procset texttops 1.1 0
  138. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndResource
  139. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%EndProlog
  140. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%Page: 1 1
  141. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%Page: 1 1
  142. D [21/Feb/2004:16:51:32 +0100] [Job 7] pw = 559.0, pl = 770.0
  143. D [21/Feb/2004:16:51:32 +0100] [Job 7] PageLeft = 18.0, PageRight = 577.0
  144. D [21/Feb/2004:16:51:32 +0100] [Job 7] PageTop = 806.0, PageBottom = 36.0
  145. D [21/Feb/2004:16:51:32 +0100] [Job 7] PageWidth = 595.0, PageLength = 842.0
  146. D [21/Feb/2004:16:51:32 +0100] [Job 7] 0 %%Trailer
  147. D [21/Feb/2004:16:51:32 +0100] [Job 7] Saw Trailer!
  148. D [21/Feb/2004:16:51:32 +0100] [Job 7] Saw EOF!
  149. D [21/Feb/2004:16:51:32 +0100] UpdateJob: job 7, file 0 is complete.
  150. D [21/Feb/2004:16:51:32 +0100] CancelJob: id = 7
  151. D [21/Feb/2004:16:51:32 +0100] StopJob: id = 7, force = 0
  152. D [21/Feb/2004:16:51:32 +0100] StopJob: printer state is 3


 
 
log en mode normal sur le serveur :  
 Job 302 queued on 'hp' by 'nobody'.
 Started backend /usr/lib/cups/backend/parallel (PID 2130) for job 302.
pas d'erreur en mode warn et debug ...


Message édité par GUG le 20-02-2004 à 18:33:12
Reply

Marsh Posté le 20-02-2004 à 16:51:50   

Reply

Marsh Posté le 20-02-2004 à 17:10:56    

Le plus gros soucis est le no pages found!
C'est aussi indiquer à travers l'interface web, qu'est ce que ca veut dire ??


Message édité par GUG le 20-02-2004 à 17:19:34
Reply

Marsh Posté le 20-02-2004 à 18:33:41    

Bon bah c'etait gs-eps qui merdait il vient d'etre maj et ca marche  
pas mal de temps de perdu pour ca ...

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed