I uninstalled hplip and reinstalled it but It didn't change anything. If I do an strace hp-makeuri <ip>, I can the first system calls that fail:
send(3, "msg=makeuri\nbus=net\nhostname=192"..., 48, 0) = 48 select(4, [3], [], [], {90, 0}) = 1 (in [3], left {89, 864000}) recv(3, "msg=MakeURIResult\nresult-code=12"..., 65536, 0) = 33 write(2, "\33[31;01merror: Device not found\33"..., 35error: Device not found) = 35 What do you think ? Mathieu Bouillaguet Aaron J Albright a écrit : > It looks like HPLIP was compiled/installed with JetDirect support > disabled. You may need to remove HPLIP and reinstall with Jetdirect > support. Normally you can just do the ./configure --prefix=/usr, > make, make install and jetdirect should be enabled. > > Aaron > > mathieu bouillaguet wrote: >> /var/log/messages doesn't show anything but in /var/log/syslog It shows: >> Nov 17 00:36:00 dijkstra hpiod: no JetDirect support enabled >> Nov 17 00:36:00 dijkstra hpiod: unable to read System::MakeUriFromIP >> Nov 17 00:36:00 dijkstra python: hp-makeuri[12814] error: Device not >> found >> >> Mathieu Bouillaguet >> >> Aaron J Albright a écrit : >>> Can you run: >>> >>> tail -f /var/log/messages >>> >>> and then run hp-makeuri and post any errors on the /var/log/messages? >>> >>> Thanks! >>> >>> Aaron >>> >>> mathieu bouillaguet wrote: >>>> I use slackware 11.0. My router-firewall doesn't filter inside my >>>> network. Look at the output of nmap on the printer: >>>> nmap -sT <hostname> >>>> Not shown: 1677 closed ports >>>> PORT STATE SERVICE >>>> 80/tcp open http >>>> 139/tcp open netbios-ssn >>>> 9100/tcp open jetdirect >>>> >>>> I wasn't there when it first stops working, It was another person who >>>> was using the computer. But this person is a novice. I havn't rebooted >>>> since a long time and I prefer not to do so. I really don't know what >>>> happenned. >>>> >>>> Mathieu Bouillaguet. >>>> >>>> Aaron J Albright a écrit : >>>>> Okay. Well everything seems okay (except LSB) what distro are you >>>>> using? >>>>> >>>>> SNMP is working (tested that with snmpwalk). You can ping the >>>>> printer. >>>>> You restarted everything. It 'should' be working. Did you install a >>>>> firewall or something that might be effecting port 9100? Has your >>>>> configuration changed at all from when it was working to now? >>>>> >>>>> A >>>>> >>>>> mathieu bouillaguet wrote: >>>>>> hp-check: >>>>>> >>>>>> HP Linux Imaging and Printing System (ver. 1.6.9) >>>>>> Dependency/Version Check 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. >>>>>> >>>>>> Basic system info... >>>>>> --> Linux dijkstra 2.6.17.13 #1 Sun Sep 10 15:09:28 CEST 2006 i686 >>>>>> athlon-4 i386 GNU/Linux >>>>>> >>>>>> Currently installed version... >>>>>> --> OK, HPLIP 1.6.9 currently installed. >>>>>> >>>>>> HPLIP running? >>>>>> --> Yes, HPLIP is running (OK). >>>>>> >>>>>> HPOJ running? >>>>>> --> No, HPOJ is not running (OK). >>>>>> >>>>>> Checking Python version... >>>>>> --> OK, version 2.4.3 installed >>>>>> >>>>>> Checking for dependency 'libcrypto (libcrypto - OpenSSL >>>>>> cryptographic >>>>>> library)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'gcc (gcc - GNU Project C and C++ >>>>>> Compiler)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'sane (SANE - Scanning library)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'gs (GhostScript - PostScript and PDF >>>>>> language >>>>>> interpreter and previewer)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'libjpeg (libjpeg - JPEG library)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'libpthread (libpthread - POSIX threads >>>>>> library)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'make (make - GNU make utility to maintain >>>>>> groups of programs)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'python-devel (python-devel - Python >>>>>> development >>>>>> files)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'reportlab (Reportlab - PDF library for >>>>>> Python)'... >>>>>> error: Not found! >>>>>> >>>>>> Checking for dependency 'pyqt (PyQt - Qt interface for Python)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'cups-devel (cups-devel- Common Unix >>>>>> Printing >>>>>> System development files)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'ppdev (ppdev - Parallel port support kernel >>>>>> module.)'... >>>>>> error: Not found! >>>>>> >>>>>> Checking for dependency 'libusb (libusb - USB library)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'scanimage (scanimage - Shell scanning >>>>>> program)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'libnetsnmp-devel (libnetsnmp-devel - SNMP >>>>>> networking library development files)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'python2x (Python 2.2 or greater - Python >>>>>> programming language)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'lsb (LSB - Linux Standard Base support)'... >>>>>> error: Not found! >>>>>> >>>>>> Checking for dependency 'xsane (xsane - Graphical scanner >>>>>> frontend for >>>>>> SANE)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'cups (cups - Common Unix Printing >>>>>> System)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking for dependency 'python23 (Python 2.3 or greater - Required >>>>>> for >>>>>> fax functionality)'... >>>>>> --> OK, found. >>>>>> >>>>>> Checking existing CUPS queues... >>>>>> Print Device URI HPLIP Installed? >>>>>> er >>>>>> ----- ----------------- -------------------- >>>>>> Knuth parallel:/dev/lp0 No >>>>>> note: Any CUPS queues that are not 'HPLIP Installed', must be >>>>>> installed >>>>>> note: with the 'hp:' or 'hpfax:' backends to have them work in >>>>>> HPLIP. >>>>>> Refer >>>>>> note: to the install instructions on http://hplip.sourceforge.net >>>>>> for >>>>>> more help. >>>>>> >>>>>> If any errors or warnings were reported, please refer to the >>>>>> installation instructions at: >>>>>> http://hplip.sourceforge.net/install/index.html >>>>>> >>>>>> Utilities's versions are at hte beginning of the log. >>>>>> >>>>>> Mathieu Bouillaguet >>>>>> >>>>>> >>>>>> Aaron J Albright a écrit : >>>>>>> What version of hplip are you using? Can you run hp-check and post >>>>>>> the output? >>>>>>> >>>>>>> A >>>>>>> >>>>>>> mathieu bouillaguet wrote: >>>>>>>> snmpwalk -Os -c public -v 1 <IP OF PRINTER HERE> >>>>>>>> 1.3.6.1.4.1.11.2.3.9.1.1.7.0 >>>>>>>> gives: >>>>>>>> >>>>>>>> enterprises.11.2.3.9.1.1.7.0 = STRING: "MFG:HP;MDL:Officejet 7300 >>>>>>>> series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:6543;SN:MY66NQ73GR04HR;S:038080C484001021002c180004cc2880053;J: >>>>>>>> >>>>>>>> ;Z:0102,0503e809015549,0600;BT:000000000000,4F66666963656A65742037333030" >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Aaron J Albright a écrit : >>>>>>>>> Can you run: >>>>>>>>> >>>>>>>>> snmpwalk -Os -c public -v 1 <IP OF PRINTER HERE> >>>>>>>>> 1.3.6.1.4.1.11.2.3.9.1.1.7.0 >>>>>>>>> >>>>>>>>> and post the output? >>>>>>>>> >>>>>>>>> A >>>>>>>>> >>>>>>>>> mathieu bouillaguet wrote: >>>>>>>>>> I deleted the queue but hp-makeuri and hp-setup still don't >>>>>>>>>> work. >>>>>>>>>> >>>>>>>>>> Here is the output of hp-makeuri <hostname> with logelevl set to >>>>>>>>>> debug: >>>>>>>>>> hp-makeuri[22260]: debug: Trying IP address >>>>>>>>>> hp-makeuri[22260]: debug: (xmit) Sending data on channel (3) >>>>>>>>>> hp-makeuri[22260]: debug: >>>>>>>>>> 'msg=makeuri\nbus=net\nhostname=192.168.0.5\nport=1\n' >>>>>>>>>> hp-makeuri[22260]: debug: (xmit) Reading data on channel (3) >>>>>>>>>> hp-makeuri[22260]: debug: 'msg=MakeURIResult\nresult-code=12\n' >>>>>>>>>> error: Device not found >>>>>>>>>> >>>>>>>>>> Hope that helps >>>>>>>>>> >>>>>>>>>> Mathieu Bouillaguet >>>>>>>>>> >>>>>>>>>> Aaron J Albright a écrit : >>>>>>>>>>> Have you tried deleting the printer queue and reinstalling it >>>>>>>>>>> using >>>>>>>>>>> hp-setup? >>>>>>>>>>> >>>>>>>>>>> A >>>>>>>>>>> >>>>>>>>>>> mathieu bouillaguet wrote: >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> My HP officeJet 7310 doesn't work anymore. It was >>>>>>>>>>>> configured and >>>>>>>>>>>> worked >>>>>>>>>>>> perfectly for a moment. The device URI is >>>>>>>>>>>> hp:/net/Officejet_7300_series?ip=192.168.0.5 and I'm using >>>>>>>>>>>> hplip >>>>>>>>>>>> version >>>>>>>>>>>> 1.6.9. Recently, I wasn't able to >>>>>>>>>>>> print anymore. The jobs are stuck anc cups web srever display >>>>>>>>>>>> this >>>>>>>>>>>> message: >>>>>>>>>>>> "open device failed; will retry in 30 seconds..." >>>>>>>>>>>> >>>>>>>>>>>> Moreover hp-makeuri fails with: >>>>>>>>>>>> error: Device not found >>>>>>>>>>>> >>>>>>>>>>>> and hp-info gives: >>>>>>>>>>>> Using device: hp:/net/Officejet_7300_series?ip=192.168.0.5 >>>>>>>>>>>> >>>>>>>>>>>> hp:/net/Officejet_7300_series?ip=192.168.0.5 >>>>>>>>>>>> >>>>>>>>>>>> error: Unable to communicate with device: >>>>>>>>>>>> hp:/net/Officejet_7300_series?ip=192.168.0.5 >>>>>>>>>>>> error: Error opening device (Device not found). Exiting. >>>>>>>>>>>> >>>>>>>>>>>> I can ping the printer, the port 9100 is open and net-snmp >>>>>>>>>>>> 5.3.1 is >>>>>>>>>>>> installed. rc.hplip status returns: >>>>>>>>>>>> hpiod (pid 12389) is running... >>>>>>>>>>>> hpssd (pid 12393) is running... >>>>>>>>>>>> >>>>>>>>>>>> and rc.cups.status: >>>>>>>>>>>> cups: scheduler is running. >>>>>>>>>>>> >>>>>>>>>>>> I have restarted multiple times hplip and cups without any >>>>>>>>>>>> result. >>>>>>>>>>>> Restarting the printer didn't help neither. I don't know >>>>>>>>>>>> what to >>>>>>>>>>>> look >>>>>>>>>>>> for anymore. Could you help me please. >>>>>>>>>>>> >>>>>>>>>>>> Mathieu Bouillaguet >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------------------------------------------------- >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>>>>>>>> Join SourceForge.net's Techsay panel and you'll get the >>>>>>>>>>>> chance to >>>>>>>>>>>> share your >>>>>>>>>>>> opinions on IT & business topics through brief surveys - and >>>>>>>>>>>> earn >>>>>>>>>>>> cash >>>>>>>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> HPLIP-Help mailing list >>>>>>>>>>>> HPLIP-Help@lists.sourceforge.net >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/hplip-help >>>>>>>>>>>> >>>>>>>> ------------------------------------------------------------------------ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to >>>>>>>> share your >>>>>>>> opinions on IT & business topics through brief surveys - and earn >>>>>>>> cash >>>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> HPLIP-Help mailing list >>>>>>>> HPLIP-Help@lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/hplip-help >>
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ HPLIP-Help mailing list HPLIP-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-help