Error "Unable to lookup host 'usb'-Unknown host" o

Linux distribution specific questions
Post Reply
Repent
Posts: 3
Joined: Fri Mar 09, 2007 11:49 pm

Post by Repent »

Hi I have no idea what happened here, I did install a new ubuntu
software update that may have something to do with it I'm not
sure. please find below the messages I receive and my log file.


Unable to lookup host 'usb'-Unknown host.

Printer not connected

TurboPrint. log

lp -d tp0 /tmp/tp7746_1.tmp
FATAL ERROR:
control::printer_control: can't open port - printer connected?
Report at end of pdrivecontrol_class::release_printer
29 inifile::open(buffer)
28 inifile::open(buffer)
5308 inifile::open(buffer)
30754 inifile::open(buffer)
256000 spoolsystem::open: remember_buffer
30754 inifile::open(buffer)
Total memory usage=322873
lp -o raw -d tp0 /tmp/tp9201_1.tmp
FATAL ERROR:
control::printer_control: can't open port - printer connected?
lp -d tp0 /tmp/tp6248_1.tmp
FATAL ERROR:
control::printer_control: can't open port - printer connected?
lp -d tp0 /tmp/tp17853_1.tmp
lp -d tp0 /tmp/tp17970_1.tmp
lp -d tp0 /tmp/tp5116_1.tmp
lp -d tp0 /tmp/tp6880_1.tmp
lp -d tp0 /usr/share/turboprint/dump/testpage-letter.ps
lp -d tp0 /tmp/tp7835_1.tmp
lp -d tp0 /tmp/tp7835_3.tmp
lp -d tp0 /tmp/tp4980_1.tmp
lp -d tp0 /tmp/tp4980_3.tmp
lp -d tp0 /tmp/tp4980_5.tmp
lp -d tp0 /tmp/tp5319_1.tmp
lp -d tp0 /tmp/tp5319_3.tmp
FATAL ERROR:
control::printer_control: can't open port - printer connected?
Report at end of pdrivecontrol_class::release_printer
29 inifile::open(buffer)
28 inifile::open(buffer)
5308 inifile::open(buffer)
30754 inifile::open(buffer)
256000 spoolsystem::open: remember_buffer
30754 inifile::open(buffer)
Total memory usage=322873
lp -o raw -d tp0 /tmp/tp14106_1.tmp
Report at end of pdrivecontrol_class::release_printer
29 inifile::open(buffer)
28 inifile::open(buffer)
5308 inifile::open(buffer)
30754 inifile::open(buffer)
256000 spoolsystem::open: remember_buffer
30754 inifile::open(buffer)
Total memory usage=322873
lp -o raw -d tp0 /tmp/tp14106_2.tmp

Thank You
Joe Caulfield
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet »

There is a proflem with USB port access on some Ubuntu installations:
I have a similar problem on an MP600.

I solved it by checking the permissions of /dev/usb*

Turned out that cupsys runs as user "cupsys", which needs to be in group plugdev. This is on Ubuntu Feisty. So check

ls -l /dev/usb*
ps aux |grep cups
grep plugdev /etc/group

If that is the case for you, you need to

adduser cupsys plugdev
If the command

sudo adduser cupsys plugdev

(enter from a terminal window; password will be requested)
doesn't help - can you include the log file /var/log/cups/error_log after trying to print?
pramclub
Posts: 1
Joined: Sat Sep 08, 2007 7:27 pm

Post by pramclub »

After four months using TurboPrint on Ubuntu 7.04, Canon IP3000, I'm suddenly getting this error message too.

My error log has only this:
E [07/Sep/2007:13:56:46 +0100] Creating missing directory "/var/run/cups/certs"
E [07/Sep/2007:13:58:59 +0100] Creating missing directory "/var/run/cups/certs"
E [08/Sep/2007:08:47:42 +0100] Creating missing directory "/var/run/cups/certs"

I can print a test page from System > printers with no problems, but not from TurboPrint configure. My printer is connected directly to my PC with USB - I have no network.

TIA for any advice.
Post Reply