Workaround: Cups error adding network printer - 'server-error-internal-error'
-1
votes
1
answer
46
views
Here is a workaround to Cups errors when adding a network printer. Hopefully a real solution will follow one day.
Using a GUI tool you try to add a printer. You expand the list of network printers and your printer is shown in the the. You select it and and go forward where you can give it a name you like and a location. Then after OK it says:
> CUPS server error
> There was an error during the CUPS operation: 'server-error-internal-error'.
If the reason is a DNS problem here is what to do.
Run the command line
ippfind
and look at the list:
$ ippfind
ipp://BRWBCF4D44.local:631/ipp/print
Here the printer respond to a broadcast UDP with the message »my DNS name is BRWBCF4D44.local
and you can contact me on that« but this is not correct. Try:
$ ping BRWBCF4D44.local
ping: BRWBCF4D44.local: Name or service not known
The problem is that the name BRWBCF4D44.local
is not known in the DNS. A quick workaround is to add this entry to your /etc/hosts
file:
$ echo 192.168.1.7 BRWBCF4D44.local | sudo tee -a /etc/hosts
Then both ping
and lpadmin
will work.
Try add the printer manually:
$ sudo lpadmin -p My_brother -E -v ipp://BRWBCF4D44.local:631/ipp/print -L Bedroom
If this work you can delete the printer again:
$ sudo lpadmin -x My_brother
Now you can add the printer with the GUI as expected.
For some unknown reason the printer thinks the domain is .local
and not .lan
. The problem must be in the DNS-server some where.
Asked by hschou
(2976 rep)
Jul 2, 2025, 01:01 PM
Last activity: Jul 13, 2025, 03:42 PM
Last activity: Jul 13, 2025, 03:42 PM