Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm tying to setup the HP Device Manager, but am having a little trouble. The installation of HPLIB went fine, but when I type "hp-check" at the command line I get this:
Code:
HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, please remove HPOJ.
So, the question is how do I shut down HPOJ? I tried stopping the ptal deamons, but that didn't seem to work. Any ideas or thoughts will be appreciated.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
You need to goto your /etc/rc3.d - rc5.d and change all S**hpoj to K**hpoj. Then kill the service. In suse I am not sure of an easy way to do this. Maybe there is a config feature for services under Yast utility.
Ok, I looked in /etc/rc.d/rc[3-5].d/ and there's no S*hpoj. There is a S*ptal though. Anyway, what is the signifacance of the S and the K. I just need to shutdown hpoj!
So here's more info:
I removed my printer from ptal setup:
Code:
%rcptal status
Checking for ptal-mlcd: missing
Checking for ptal-printd: missing
Checking for ptal: running
Let's run hp-check again:
Code:
%hp-check
HPLIP running?
--> Yes, HPLIP is running (OK).
HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, please remove HPOJ.
I says hpoj is still running, what gives. I how do I get rid of this hpoj crap?
I want to check to make sure hplip is fine:
Code:
%/etc/init.d/hplip status
hpiod (pid 7014) is running...
hpssd (pid 7018) is running...
It appears to be running. So I try hp-setup:
Code:
%hp-setup
HP Linux Imaging and Printing System (ver. 1.6.9)
Printer/Fax Setup Utility ver. 2.2
Copyright (c) 2003-6 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.
Traceback (most recent call last):
File "/usr/local/bin/hp-setup", line 205, in ?
device_uri = device.getInteractiveDeviceURI(bus)
File "/usr/local/share/hplip/base/device.py", line 177, in getInteractiveDeviceURI
cups_printers = cups.getPrinters()
File "/usr/local/share/hplip/prnt/cups.py", line 151, in getPrinters
return cupsext.getPrinters()
NameError: global name 'cupsext' is not defined
Ok, so somethings wrong. I check the status of hplip again:
Code:
%/etc/init.d/hplip status
hpiod (pid 7014) is running...
hpssd is stopped
Lo and behold, hpssd is shutdown. This happens everytime. So now I not sure where to go from here. At this point any advice would be greatly appreciated. Oh, I'm running SuSE 9.2 by the way, but that shouldn't make to much difference
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
S means to start the service and K is to kill the service. Now rc0.9 - rc5.d are runlevels. I am basing this info on Redhat and clones of Redhat. rc1.d is single user no networking or gui. rc3.d is multi-user, networking, but no gui. rc5.d is multiuser, networking, and gui. Now when a system is booted it will goto the runlevels based on config files. So when rc3.d is called it runs all the S files starting with 00 first to 99 last. If there were any services running from runlevel 1 and you switch to run level 3 then it kill the service if it starts with a k. Now not all say rc5.d is what I mentioned above. Some distros use rc4.d and is considered the same as rc5.d.
There should be one called hpoj in /etc/init.d. Is there one there?
I only say this because it is the way it works under Redhat and clones of Redhat.
Should be able to stop the service like this ' /etc/init.d/hpoj stop '
Then restart hplip ' /etc/init.d/hplip restart '
Only way I know under non Redhat distros to disable on reboot is change S to K in the varies runlevels. Check all runlevels and make sure all are K for hpoj service. I Redhat there is a tool called chkconfig that can modify multiple runlevels at the same time.
If not there then I have no other ideas at this time. Check on the suse forum. There might be help there.
I also posted on the HPLIP forum, but I haven't got any responses yet. I searched the internet as well and the info is very sparse on this issue. I'm kind of suprised at that; I would have thought more people would have had this issue.
Has there been any resolution to this. I am getting the same message about global name "cupsext" when I run hp-setup. The printers on the network are listed. When the desired one is highlighted and accepted a choice of PDD files is offered. When any one of these is selected the following appears:
[wellsr@rwells-rh ~]$ sudo hp-setup
Password:
HP Linux Imaging and Printing System (ver. 1.6.10)
Printer/Fax Setup Utility ver. 3.1
Copyright (c) 2003-6 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.
0
Traceback (most recent call last):
File "/usr/local/share/hplip/ui/setupform.py", line 179, in showPage
self.setDefaultPrinterName()
File "/usr/local/share/hplip/ui/setupform.py", line 519, in setDefaultPrinterName
installed_print_devices = device.getSupportedCUPSDevices(['hp'])
File "/usr/local/share/hplip/base/device.py", line 294, in getSupportedCUPSDevices
printers = cups.getPrinters()
File "/usr/local/share/hplip/prnt/cups.py", line 94, in getPrinters
return cupsext.getPrinters()
NameError: global name 'cupsext' is not defined
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.