| Summary: | hplip 0.9.7-r3: hpssd.py not working | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Raison <david> |
| Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
David Raison
2006-03-07 07:03:31 UTC
hplip works for me. You realize you posted your results after you tried to stop hplip? (but I see what you mean though, if it was running in the first place /var/run/hpssd.pid would have been created) Anyway, dou you mind posting the output you get when you run /usr/share/hplip/hpssd.py manually? > You realize you posted your results after you tried to stop hplip? (but I see
> what you mean though, if it was running in the first place /var/run/hpssd.pid
> would have been created)
Exactly, there was no point in posting the output of start, because there's none.
I wanted to show, that the process is not being started.
stilgar hplip # ./hpssd.py
HP Linux Imaging and Printing System (ver. 0.9.7)
Services and Status Daemon ver. 6.0
Copyright (c) 2003-5 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
stilgar hplip # ps ax | grep hpssd
26494 pts/4 R+ 0:00 grep hpssd
Indeed, it should show something like 10382 ? S 0:00 /usr/bin/python /usr/share/hplip/hpssd.py Can you run it with -ldebug? I was hoping to see some useful error message: /usr/share/hplip/hpssd.py -ldebug Have you tested 0.9.8-r2/contacted upstream about this? I can't really tell why the daemon does not start for you (in case -ldebug doesn't help). this is all I get in my syslog: Mar 7 19:24:45 stilgar python: hpssd [DEBUG] Exception: 95 (Unable to bind to socket) Mar 7 19:24:45 stilgar python: hpssd [ERROR] Server exited with error: Unable to bind to socket And not really very informative. It says quite the same thing than probe does. No, I've not yet tried 0.9.8, nor have I contacted upstream, although I've been crawling through the official forums, with no luck at all. Same thing happens with 0.9.8 I found what was causing the problem. Running hpssd.py with the -ldebug switch returned the following: May 12 20:30:58 stilgar python: hpssd [ERROR] Server exited with error: Unable to bind to socket May 12 20:31:24 stilgar python: hpssd [ERROR] Server exited with error: Unable to bind to socket May 12 20:31:50 stilgar python: hpssd [DEBUG] Exception: 95 (Unable to bind to socket) May 12 20:31:50 stilgar python: hpssd [ERROR] Server exited with error: Unable to bind to socket after a little googling, I found out, that this might be caused by a missing 127.0.0.1 localhost entry in /etc/hosts and indeed, I had changed it to match my ssh tunnel |