You are not logged in.

#1 2005-11-23 23:06:26

SkankinSasquatch
Member
Registered: 2005-05-03
Posts: 44

CUPS and hplip

Ever since the switch to hplip I've been getting some weird boot issues. For one, CUPS takes a REDICULOUS amount of time to start now (I'm talking 5-7 minutes). It does start correctly however, which is puzzling. Furthermore, hpiod and hpssd start quickly and just fine, but upon a reboot or shutting down they fail to close (assumingly because they crash?). I've put hplip in the daemons list before cups so that isn't the problem. My configuration for cups now is I'm connecting to an HP psc 2715 on a windows box to do printing using the samba backend. The only log file that I could find any mention of errors with CUPS or hplip was errors.log which said:

Nov 23 06:28:04 leetbox hpiod: unable to bind socket 0: Cannot assign requested
Nov 23 06:40:47 leetbox Buffer I/O error on device hdc, logical block 10329
Nov 23 13:02:16 leetbox hpiod: invalid message:unable to connect hpssd socket 50
Nov 23 13:02:20 leetbox hpiod: invalid message:
Nov 23 13:02:20 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev
Nov 23 13:02:20 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev
Nov 23 13:02:20 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev
Nov 23 13:02:20 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev
Nov 23 13:02:27 leetbox hpiod: invalid message:
Nov 23 13:02:27 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev
Nov 23 13:02:27 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev
Nov 23 13:02:27 leetbox hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev

This is a little too cryptic for me. Any ideas on what the problem could be?

Offline

#2 2005-11-24 06:46:13

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,321

Re: CUPS and hplip

you need portmap installed and loaded before hplip
pacman -S portmap, then it should work.

Offline

#3 2005-11-28 02:37:52

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: CUPS and hplip

tpowa wrote:

you need portmap installed and loaded before hplip
pacman -S portmap, then it should work.

hplip wont start for me even with portmap running. I can still print fine though. I dont even know what hplip is realy.

Offline

#4 2006-01-12 21:42:25

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,863

Re: CUPS and hplip

I got the same messages, decided to set cups up to use the device directly, removed hplip from the daemons and can print fine without it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2006-01-14 14:22:22

Birdman
Member
From: Surrey, UK
Registered: 2006-01-11
Posts: 121

Re: CUPS and hplip

I am also having problems trying to fathom this one. I have just restarted the cups server and restarted hplip. When I then launch hp-toolbox the gui appears on the screen with another box over the top telling me that I do not have any HP device attached (this is whilst looking at my installed HP Deskjet 5150 as a working printer on port 631).

Curiously, when I first checked with

ps -A | less

I could find no evidence of either cups or hplip running. It is only after forcing a restart that processes for both cupsd and hpiod now exist. Both items are in /etc/rc.d/ as executable.

It strikes me that cups and hplip do not live well together in arch. Is anyone successfully using the combination?
[/code]

Offline

#6 2006-01-15 15:26:42

Birdman
Member
From: Surrey, UK
Registered: 2006-01-11
Posts: 121

Re: CUPS and hplip

I have just examined /var/log/messages and found:

Jan 15 15:17:45 avocet hp: unable to open /var/run/hpiod.port: No such file or directory: prnt/hpijs/hplip_api.c 84

Any ideas?

EDIT: I have just started hplip and it appears the the files are created at startup each time:

[root@avocet rc.d]# ls -l /var/run/h*
-rw-r--r--  1 root root 1 2006-01-15 15:27 /var/run/hpiod.pid
-rw-r--r--  1 root root 6 2006-01-15 15:27 /var/run/hpiod.port
-rw-r--r--  1 root root 1 2006-01-15 15:27 /var/run/hpssd.pid
-rw-r--r--  1 root root 6 2006-01-15 15:27 /var/run/hpssd.port

Offline

Board footer

Powered by FluxBB