Xerox Phaser 6130n Detected & Installed Perfectly in 8.10 Intrepid, but will detect but not install in 9.04 Jaunty via System/Admin/Printing/CUPS gui.

Asked by jackson

Hello,

I did clean installs of Ubuntu 9.04 Jaunty on two family machines, but a Xerox Phaser 6130n printer that is connected on one Ubuntu machine via USB, and which installed and ran perfectly in 8.10 Intrepid is now getting a message at the end of the CUPS dialog --
"CUPS server error -- There was an error during the CUPS operation: 'server-error-internal-error'."

In 8.10 Intrepid our Xerox 6130n printer was easy to install via System/Administration/Printing using the CUPS gui dialog. It installed the foo driver, since the printer did install, I was able to go in and upgrade to the .ppd for Linux that Xerox offers, no problem.

Now, when trying to install the printer after a clean install of 9.04 Jaunty -

a) the "Xerox 6130n printer connected via USB" is recognized immediately
b) the "Search For Drivers" bar runs with no apparent issue
c) the next dialog box appears with printer names and location, no problem
d) when then click "Apply", I get the error message "CUPS server error -- There was an error during the CUPS operation: 'server-error-internal-error'."

I've run the software updates for CUPS, that didn't help. I've searched the database here and didn't see anything like this.

Any help would be most appreciated, the printer is used for school projects. I'm not a technical expert,

Thanks

jackson

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu cups Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
jackson (jack-whitley) said :
#1

As additional information, I copied the Xerox ppd file for the 6130 to /usr/lib/cups/filter/ and tried to install the printer again.

Again

- the printer was detected perfectly
- the "Search For Drivers" ran with no apparent issue
- the name dialog appeared correct
- but when I clicked "Apply", I got the same "CUPS server error -- There was an error during the CUPS operation: 'server-error-internal-error'."

I'm stumped, in my prior Intrepid 8.10, the same hardware was was detected, installed, and worked perfectly, all I've changed is to a clean install of Jaunty 9.04.

Any help would be greatly appreciated. If I can provide any information, if you can spell out the commands completely, I'll be happy to try.

Thanks again,

jackson

Revision history for this message
jackson (jack-whitley) said :
#2

Hello all,

I've not receive a response here yet, so went looking in other forums. A very kind person suggested I try copying the Xerox 6130n PPD file to /usr/share/cups/model. That path doesn't exist in Ubuntu 9.04 Jaunty, but this path does, so I copied the PPD file to /usr/share/cups/drivers. There were no other drivers in this file, so I also tried to copy the PPD to /usr/share/cups/drv. Unfortunately, the problem still persists.

The recent results are immediately below, lettered for reference, along with some diagnostic information I was able to pull out of the Ubuntu 9.04 CUPS GUI troubleshooting wizard -

1) In Ubuntu 9.04, there is no path /usr/share/cups/model , but there is a path /usr/share/cups/drivers , so I copied the xerox 6130n .ppd there and in /usr/share/cups/drv

2) I then ran the GUI via System/Admin/Printing and the "Printer Configuration - Local Host" dialog launched (this Xerox 6130n printer offers two connection options, local via USB or networked, I use local USB, and this installed and ran perfectly in Ubuntu 8.04 and 8.10)

3) From there, the following same behavior occured

a) the "Xerox 6130n printer connected via USB" is recognized immediately
b) the "Search For Drivers" bar runs with no apparent issue (but doesn't offer the opportunity to prospect a driver file)
c) the next dialog box appears with printer names and location, no problem
d) when then click "Apply", I get the error message "CUPS server error -- There was an error during the CUPS operation: 'server-error-internal-error'."

I also ran new May 4, 2009 updates for CUPS in Ubuntu 9.04 and tried again, that did not help.

I then ran the troubleshooting wizard and was able to copy the following output information. It sees and properly names the printer, but will not install it due to the error message in "d" above.
---------------------------------------------------------------------------------

Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dests_available': [], 'cups_queue_listed': False}
Page 3 (Local or remote?):
{'printer_is_remote': False}
Page 4 (Choose device):
{'cups_device_attributes': {'device-class': u'direct',
                            'device-id': u'MFG:Xerox;CMD:Adobe PostScript 3, PCL;MDL:Phaser 6130N;DES:Xerox Phaser 6130 Color Laser Printer, PostScript 3, Letter/A4 Size;CLS:PRINTER;STS:AAAMBAD/AP8AAAAAAAQAA2QDZAMoA1ADZAMAA2QDQBoAAAAAsIYAAAAAAAAAAAAAIQYAEAAAAAAQ',
                            'device-info': u'Xerox Phaser 6130N USB #1',
                            'device-make-and-model': u'Xerox Phaser 6130N'},
 'cups_device_listed': True,
 'cups_device_uri': 'usb://Xerox/Phaser%206130N'}
Page 5 (Locale issues):
{'printer_page_size': None,
 'system_locale_lang': None,
 'user_locale_ctype': 'en_US',
 'user_locale_messages': 'en_US'}
----------------------------------------------------------------------------------

I'm in over my head technically, but am trying to be tenacious. The challenge is the Xerox 6130n printer is never making it to an installed state, which doesn't help troubleshooting. If anyone could offer help or pointers to the correct place to get help, it would be most appreciated.

Thanks again,

jackson

Revision history for this message
Jeruvy (jeruvy) said :
#3

Hello,

I couldn't see anything wrong with the driver install that seems ok according to your findings.

Cups seems to be what is having the problem, and reviewing the error it does not seem to be Xerox nor Ubuntu related.

Lets get some info on this.

1. Get more debugging in the log. Edit the cupsd.conf file:

 $ gksudo gedit /etc/cups/cupsd.conf

and change the LogLevel line to read:

  LogLevel debug2

2. Stop CUPS clear the log and start over

  /etc/init.d/cupsys stop

Clear out the error log:

 $ cd /var/log/cups
 $ sudo touch emptyfile
If you want to backup the error_log before clearing it:
 $ sudo cp error_log error_log.bak
Then continue, keep in mind this above file may be very large and not needed in the long term.
 $ sudo mv emptyfile error_log

3. Start CUPS:

  /etc/init.d/cupsys start

Then try installing again.

When it fails, post the /var/log/cups/error_log file here.

Revision history for this message
jackson (jack-whitley) said :
#4

Hello Jeruvy,

First, thanks very much for your response, it is very helpful and most appreciated.

Before I try to provide the information you requested, let me add a bit of new info -

e - as the CUPS Gui printer install kept failing per the sequence outlined in "a" through "d" above, I noticed in the CUPS Gui troubleshooter wizard output the device URI for my printer - << cups_device_uri': 'usb://Xerox/Phaser%206130N >>

f - So I fired up the GUI again, and started the "New Printer Configuration" routine, except that this time I manually pasted the device URI in the block available for "Other". After doing this, then clicking "Forward" I was for the first time taken to a screen that allowed me to prospect for the Xerox 6130n.ppd, install it, and also apparently successfully install the printer. But there are still issues, per the following -

g - I think in my earlier description above, I was mistaken in thinking that seeing the "Searching For Driver" bar run meant the driver was actually retrieved and used. I never before was taken to the screen to select the location for the driver until "f" above.

h - I say this because now, after getting the printer installed with the workaround, there is strange printing behavior that I never experienced with the same printer in CUPS on 8.10 Intrepid, in that every vector image file or .png I created in either Inkscape or GIMP that has transparency in it, whether a background or within the drawing, when I try to print a given image file, any transparency area prints as solid black, including transparent backgrounds. This has never happened in my 3 years using Ubuntu. This incorrect substitution of solid black for transparency in my image files includes trying to print these images directly from Eye Of Gnome, directly from Inkscape, or directly from GIMP. Strangely though, I loaded GTK-based GQViewer, and the images print perfectly.

i - After describing my initial issues on the CUPS general mailing list, I got the following helpful reply, among others, from Helge - "obviously Ubuntu 9.x installs a hacked version of CUPS which uses nonstandard (in the sense of CUPS) locations for looking for PPDs. I suspect the Ubuntu distrib supplies a printer setup and management
application of its own, and it may be that CPS' own setup workflow is therefore broken.............I guess you need to ask the Ubuntu folks for help here."

So with that additional information provided, I also uninstalled the 6130n I used the forced URI install on, and tried to work through the commands you provided, but I got stuck on the second one, see below -

Lets get some info on this.

1. Get more debugging in the log. Edit the cupsd.conf file:

 $ gksudo gedit /etc/cups/cupsd.conf

and change the LogLevel line to read:

  LogLevel debug2 << successfully completed - jackson>>

2. Stop CUPS clear the log and start over

  /etc/init.d/cupsys stop << this command I'm not sure about, when I $ gksudo edit and browse the file path you provide , I don't find a file called "cupsys" in which to add "stop". Are you saying I should create a "cupsys" file in the "init.d" directory, and put "stop" in it, or is this a command I am supposed to somehow run in terminal? My apologies, but you'll have to spell it out for me. I'll hold off on the below pending this answer. Thanks again very much for the help >>

Clear out the error log:

 $ cd /var/log/cups
 $ sudo touch emptyfile
If you want to backup the error_log before clearing it:
 $ sudo cp error_log error_log.bak
Then continue, keep in mind this above file may be very large and not needed in the long term.
 $ sudo mv emptyfile error_log

3. Start CUPS:

  /etc/init.d/cupsys start

Then try installing again.

When it fails, post the /var/log/cups/error_log file here.

Revision history for this message
Keith Howanitz (howanitz) said :
#5

I was having the same problem with a Xerox Phaser 6300.

Maybe the gutenprint drivers did not get installed properly with Jaunty?

Anyway, I was able to install the printer by choosing the LPD printer install option, and then choosing the ps driver for the printer instead of the gutenprint driver option. (Choosing the gutenprint option gives the same error as the more automated method where you do not choose a PPD driver.)

Revision history for this message
Keith Howanitz (howanitz) said :
#6

Here is the error log, but I think you can reproduce the error for yourself by trying to manually install a printer with the phaser gutenprint PPD driver.

E [12/May/2009:11:18:53 -0500] [CGI] Could not determine driver name for Xerox-Phaser_6300DN-gutenprint.ppd!
E [12/May/2009:11:18:53 -0500] PID 7824 (/usr/lib/cups/daemon/cups-driverd) stopped with status 9!
E [12/May/2009:11:19:14 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [12/May/2009:11:19:16 -0500] [CGI] Could not determine driver name for Xerox-Phaser_6300DN-gutenprint.ppd!
E [12/May/2009:11:19:16 -0500] copy_model: empty PPD file!
E [12/May/2009:11:19:16 -0500] PID 7828 (/usr/lib/cups/daemon/cups-driverd) stopped with status 9!
E [12/May/2009:11:24:30 -0500] cupsdAuthorize: Local authentication certificate not found!
E [12/May/2009:11:24:31 -0500] [CGI] Could not determine driver name for Xerox-Phaser_6300DN-gutenprint.ppd!
E [12/May/2009:11:24:32 -0500] PID 8079 (/usr/lib/cups/daemon/cups-driverd) stopped with status 9!
E [12/May/2009:11:26:03 -0500] cupsdAuthorize: Local authentication certificate not found!
E [12/May/2009:11:26:05 -0500] [CGI] Could not determine driver name for Xerox-Phaser_6300DN-gutenprint.ppd!
E [12/May/2009:11:26:05 -0500] PID 8094 (/usr/lib/cups/daemon/cups-driverd) stopped with status 9!
E [12/May/2009:11:26:16 -0500] cupsdAuthorize: Local authentication certificate not found!
E [12/May/2009:11:26:16 -0500] CUPS-Add-Modify-Printer: Unauthorized
E [12/May/2009:11:26:18 -0500] [CGI] Could not determine driver name for Xerox-Phaser_6300DN-gutenprint.ppd!
E [12/May/2009:11:26:18 -0500] copy_model: empty PPD file!
E [12/May/2009:11:26:18 -0500] PID 8098 (/usr/lib/cups/daemon/cups-driverd) stopped with status 9!

Can you help with this problem?

Provide an answer of your own, or ask jackson for more information if necessary.

To post a message you must log in.