Ubuntu - need propietary driver

Asked by Isaac

Hi folks,

My problem arises with HP LaserJet Pro M1132 MFP.

I've installed it successfuly in an ubuntu machine, and now, I want to add this printer on other ubuntu systems in my local network.

I've discovered that printer from network without problems, installed from ubuntu's printer facility. Selected printer from database, and selected appropiated driver:
Hp LaserJet Professional m1132 MFP, hpcups 3.11.7 requires propietary plugin [en]

When I try to print a test page, following message appears:
"Printer requires a binary plugin, run hp-setup"

And now, is where real problem appears:
I run hp-setup, select 2nd option (network printer) and click next. No one printer found.

I ran it as normal user, as superuser, and nothing else happens. Seems that "direct connection or JetDirect" can not recognise my network printer.

Any suggestion to resolve this problem?

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sarbeswar Meher (sarbeswar-meher) said :
#1

Hi,

HP LaserJet Pro M1132 MFP requires a plugin file to be installed on the host. Plugins for HPLIP are uploaded at http://www.openprinting.org website, which is unfortunately down due to an unexpected issue. Since the webserver is not available, installation of plugins is failing. We will get back to you once we make alternative arrangements for accessing the plugins.

Thanks,
Sarbeswar Meher

Revision history for this message
Isaac (vyrphan) said :
#2

Thanks a lot for your quick answer.

I'll be waiting for your next reply about this plugin alternative arrangement.

Thanks a lot

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#3

Hi,

Please find the plugin for HPLIP at http://hplipopensource.com/hplip-web/plugin_download.html
Steps for installing the plugin are also provided there. Sorry for the inconvenience caused.

Thanks,
Sanjay

Revision history for this message
Isaac (vyrphan) said :
#4

Hi sanjay,

Thanks in advance for your reply. I followed instructions about hplip plugin installation, but it did not arrange my problem. hp-setup still does not recognising my network printer, and installation through ubuntu discover service continue saying that I need to run hp-setup to install propietary driver.

I will be waitting for an answer that can solve this problem.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#5

Hello Isaac,

Did you install plugin successfully?? If yes then please add the network printer as follows.
 => Open terminal and the run "hp-toolbox" command
        => Press on (+) button and then select "Network/Ethernet/Wireless Network(direct connection or jetdirect)" option.
        => Click on Show advanced options on the same page and then click on manual discovery.
 => Then give the IP address of your printer and then follow on screen instructions till the end.

Thanks,
Sanjay

Revision history for this message
Isaac (vyrphan) said :
#6

Hi Sanjay,

Plugin has been installed successfully.
I followed your instructions, and it was failed again. Under "Network/Ethernet..." I've prepared manual discovery, with right internal ip address (192.168.1.34), and tested some "jetdirect" ports (it needs to be filled, but seems that only accepts 1 digit, so I tested from 1 to 3). Nothing was discovered. (console message: "error: No devices found on bus: net")

I've checked my cups printing on server machine (192.168.1.34) with command
netstat -putan
and output was the following

tcp 0 0 0.0.0.1:631 0.0.0.0:* LISTEN

So it seems it's running without any conflict.

Again, If I add printer from ubuntu's facility (printer -> add printer -> network ...), printer is discovered without any problems, and it notices me about the needing of propietary driver.

HP LIP version:
HP Linux Imaging and Printing System (ver. 3.11.7)

I hope any solution will appear for this problem. Thank you a lot for your answers

Revision history for this message
Isaac (vyrphan) said :
#7

EDIT:

something happened in pasting from console. The right output from netstat -putan was

tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN

Thanks

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#8

Hi,

Thanks for providing the information. Please do the following to capture some logs.

    a)Open /etc/cups/cupsd.conf in root mode and replace

        LogLevel warn

          with

       LogLevel debug
       hpLogLevel 15

    b) Open Terminal and run following commands:
       => su
       => /etc/init.d/cups restart
                  or
       => service cups restart
       => ping <IP of printer> and see if it works
       => hp-check -t > /tmp/hpcheck.log
       => hp-setup -g > /tmp/hpsetup.log (and try until error is occurred)

    c) Please send following logs
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /tmp/hpcheck.log
          => /tmp/hpsetup.log

Revision history for this message
Isaac (vyrphan) said :
#9

Hi,

I followed all steps, on both server and client machine (both machines running Ubuntu 11.04).
At server, I tryied to run hp-setup, looking for network devices too.

SERVER
                                                                                              /var/log/syslog

Sep 21 10:53:47 digesco-desktop rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="768" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Sep 21 10:53:56 digesco-desktop anacron[1032]: Job `cron.daily' terminated
Sep 21 10:53:56 digesco-desktop anacron[1032]: Normal exit (1 job run)
Sep 21 10:54:51 digesco-desktop kernel: [ 385.481637] audit_printk_skb: 15 callbacks suppressed
Sep 21 10:54:51 digesco-desktop kernel: [ 385.481646] type=1400 audit(1316595291.936:17): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=2649 comm="apparmor_parser"
Sep 21 10:54:51 digesco-desktop kernel: [ 385.482865] type=1400 audit(1316595291.936:18): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2649 comm="apparmor_parser"
Sep 21 10:55:42 digesco-desktop hp-check: hp-check[2659]: error: Could not access file: No existe el fichero o el directorio
Sep 21 10:55:42 digesco-desktop hp-check: io/hpmud/musb.c 1125: unable to open hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
Sep 21 10:55:42 digesco-desktop hp-check: hp-check[2659]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
Sep 21 10:55:42 digesco-desktop hp-check: hp-check[2659]: error: Device not found
Sep 21 10:55:42 digesco-desktop hp-check: hp-check[2659]: error: Communication status: Failed
Sep 21 10:55:46 digesco-desktop hp-check: hp-check[2659]: error: 1 error or warning.
Sep 21 10:56:45 digesco-desktop hp-check: hp-check[2709]: error: Could not access file: No existe el fichero o el directorio
Sep 21 10:56:46 digesco-desktop hp-check: io/hpmud/musb.c 1125: unable to open hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
Sep 21 10:56:46 digesco-desktop hp-check: hp-check[2709]: error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
Sep 21 10:56:46 digesco-desktop hp-check: hp-check[2709]: error: Device not found
Sep 21 10:56:46 digesco-desktop hp-check: hp-check[2709]: error: Communication status: Failed
Sep 21 10:56:47 digesco-desktop kernel: [ 501.456133] usb 1-1: new high speed USB device using ehci_hcd and address 3
Sep 21 10:56:48 digesco-desktop kernel: [ 501.591378] scsi5 : usb-storage 1-1:1.0
Sep 21 10:56:48 digesco-desktop hp-mkuri: io/hpmud/model.c 625: unable to find [hp_laserjet_professional_m1132_mfp] support-type in /usr/share/hplip/data/models/models.dat
Sep 21 10:56:48 digesco-desktop hp-mkuri: io/hpmud/model.c 625: unable to find [hp_laserjet_professional_m1132_mfp] support-type in /usr/share/hplip/data/models/models.dat
Sep 21 10:56:49 digesco-desktop hp-check: hp-check[2709]: error: 1 error or warning.
Sep 21 10:56:49 digesco-desktop kernel: [ 502.602451] usb 1-1: USB disconnect, address 3
Sep 21 10:56:50 digesco-desktop kernel: [ 503.836135] usb 1-1: new high speed USB device using ehci_hcd and address 4
Sep 21 10:56:50 digesco-desktop udev-configure-printer: add /devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0
Sep 21 10:56:50 digesco-desktop udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:12.2/usb1/1-1
Sep 21 10:56:50 digesco-desktop udev-configure-printer: Device vendor/product is 03F0:042A
Sep 21 10:56:50 digesco-desktop udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet Professional M1132 MFP SERN:- serial:000000000QH47QQQPR1a
Sep 21 10:56:50 digesco-desktop kernel: [ 504.010573] usbcore: registered new interface driver usblp
Sep 21 10:56:50 digesco-desktop hp-mkuri: io/hpmud/model.c 625: unable to find [hp_laserjet_professional_m1132_mfp] support-type in /usr/share/hplip/data/models/models.dat
Sep 21 10:56:50 digesco-desktop hp-mkuri: io/hpmud/model.c 625: unable to find [hp_laserjet_professional_m1132_mfp] support-type in /usr/share/hplip/data/models/models.dat
Sep 21 10:56:51 digesco-desktop udev-configure-printer: SERN field matches USB serial number
Sep 21 10:56:51 digesco-desktop udev-configure-printer: URI match: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
Sep 21 10:56:51 digesco-desktop udev-configure-printer: URI contains USB serial number
Sep 21 10:56:51 digesco-desktop udev-configure-printer: URI match: usb://HP/LaserJet%20Professional%20M1132%20MFP?serial=000000000QH47QQQPR1a
Sep 21 10:56:51 digesco-desktop udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a, normalized: laserjet professional m1132 mfp serial 000000000qh47qqqpr1a
Sep 21 10:56:51 digesco-desktop udev-configure-printer: URI of detected printer: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a, normalized: laserjet professional m1132 mfp serial 000000000qh47qqqpr1a
Sep 21 10:56:51 digesco-desktop udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-Professional-M1132-MFP has matching device URI
Sep 21 10:56:51 digesco-desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP-LaserJet-Professional-M1132-MFP
Sep 21 10:56:51 digesco-desktop udev-configure-printer: URI of detected printer: usb://HP/LaserJet%20Professional%20M1132%20MFP?serial=000000000QH47QQQPR1a, normalized: laserjet professional m1132 mfp serial 000000000qh47qqqpr1a
Sep 21 10:56:51 digesco-desktop udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-Professional-M1132-MFP has matching device URI
Sep 21 10:56:51 digesco-desktop udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP-LaserJet-Professional-M1132-MFP
Sep 21 10:57:03 digesco-desktop hp-check: hp-check[2778]: error: Could not access file: No existe el fichero o el directorio
Sep 21 10:57:06 digesco-desktop hp-check: hp-check[2778]: error: User exit
Sep 21 10:57:24 digesco-desktop hp-check: hp-check[2820]: error: Could not access file: No existe el fichero o el directorio
Sep 21 10:57:33 digesco-desktop hp-check: hp-check[2862]: error: Could not access file: No existe el fichero o el directorio
Sep 21 10:58:03 digesco-desktop hp-setup: hp-setup[2905]: error: No devices found on bus: net

                                                                                              /tmp/hpcheck.log

HP Linux Imaging and Printing System (ver. 3.11.7)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed
to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper
dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux digesco-desktop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 athlon i386 GNU/Linux

Distribution:
ubuntu 11.04

Checking Python version...
OK, version 2.7.1 installed

Checking PyQt 4.x version...
OK, version 4.8.3 installed.

Checking for CUPS...
Status: el planificador de tareas se está ejecutando
Version: 1.4.6
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.11.7 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.11.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.11.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1

Current contents of '~/.hplip/hplip.conf' file:

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ---------------------------------------------------------------------- -----------------------------------
  hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a HP LaserJet Professional M1132 MFP

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

HP-LaserJet-Professional-M1132-MFP
----------------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
PPD: /etc/cups/ppd/HP-LaserJet-Professional-M1132-MFP.ppd
PPD Description: HP LaserJet Professional m1132 MFP, hpcups 3.11.7, requires proprietary plugin
Printer status: la impresora HP-LaserJet-Professional-M1132-MFP está inactiva. activada desde mié 21 sep 2011 10:56:51 CEST
Required plug-in status: Installed
Communication status: Good

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1132_MFP all-in-one

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x42a at 001:004:
    Device URI: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH47QQQPR1a
    Device node: /dev/bus/usb/001/004
    Mode: 0664

---------------
| USER GROUPS |
---------------

root

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.

                                                                                              /tmp/hpsetup.log

HP Linux Imaging and Printing System (ver. 3.11.7)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 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.

hp-setup[2905]: debug: param=
hp-setup[2905]: debug: selected_device_name=None
hp-setup[2905]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[2905]: debug: Starting GUI loop...
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns)
hp-setup[2905]: debug: Probing bus: net
hp-setup[2905]: debug: Outgoing: (44)
hp-setup[2905]: debug: 0000: 00 00 00 00 00 01 00 00 00 00 00 00 0f 5f 70 64 ............._pd
hp-setup[2905]: debug: 0010: 6c 2d 64 61 74 61 73 74 72 65 61 6d 04 5f 74 63 l-datastream._tc
hp-setup[2905]: debug: 0020: 70 05 6c 6f 63 61 6c 00 00 0c 00 01 p.local.....
hp-setup[2905]: debug: Outgoing: (44)
hp-setup[2905]: debug: 0000: 00 00 00 00 00 01 00 00 00 00 00 00 0f 5f 70 64 ............._pd
hp-setup[2905]: debug: 0010: 6c 2d 64 61 74 61 73 74 72 65 61 6d 04 5f 74 63 l-datastream._tc
hp-setup[2905]: debug: 0020: 70 05 6c 6f 63 61 6c 00 00 0c 00 01 p.local.....
hp-setup[2905]: debug: Outgoing: (44)
hp-setup[2905]: debug: 0000: 00 00 00 00 00 01 00 00 00 00 00 00 0f 5f 70 64 ............._pd
hp-setup[2905]: debug: 0010: 6c 2d 64 61 74 61 73 74 72 65 61 6d 04 5f 74 63 l-datastream._tc
hp-setup[2905]: debug: 0020: 70 05 6c 6f 63 61 6c 00 00 0c 00 01 p.local.....
hp-setup[2905]: debug: Found 0 devices

Done.

CLIENT

                                                                                              /var/log/syslog

Sep 21 09:16:56 isaac-digesco rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="760" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Sep 21 09:17:01 isaac-digesco CRON[2886]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 21 09:17:26 isaac-digesco anacron[978]: Job `cron.daily' terminated
Sep 21 09:17:26 isaac-digesco anacron[978]: Normal exit (1 job run)
Sep 21 09:39:01 isaac-digesco CRON[3046]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Sep 21 09:39:01 isaac-digesco postfix/pickup[2495]: E856A6202DE: uid=0 from=<root>
Sep 21 09:39:01 isaac-digesco postfix/cleanup[3054]: E856A6202DE: message-id=<20110921073901.E856A6202DE@isaac-digesco>
Sep 21 09:39:02 isaac-digesco postfix/qmgr[2496]: E856A6202DE: from=<email address hidden>, size=1105, nrcpt=1 (queue active)
Sep 21 09:39:02 isaac-digesco postfix/local[3056]: E856A6202DE: to=<email address hidden>, orig_to=<root>, relay=local, delay=0.27, delays=0.18/0.01/0/0.08, dsn=2.0.0, status=sent (delivered to maildir)
Sep 21 09:39:02 isaac-digesco postfix/qmgr[2496]: E856A6202DE: removed
Sep 21 09:42:34 isaac-digesco kernel: [ 2140.968894] atkbd serio0: Unknown key pressed (translated set 2, code 0xc2 on isa0060/serio0).
Sep 21 09:42:34 isaac-digesco kernel: [ 2140.968904] atkbd serio0: Use 'setkeycodes e042 <keycode>' to make it known.
Sep 21 09:42:34 isaac-digesco kernel: [ 2140.984255] atkbd serio0: Unknown key released (translated set 2, code 0xc2 on isa0060/serio0).
Sep 21 09:42:34 isaac-digesco kernel: [ 2140.984264] atkbd serio0: Use 'setkeycodes e042 <keycode>' to make it known.
Sep 21 10:09:01 isaac-digesco CRON[3446]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Sep 21 10:09:02 isaac-digesco postfix/pickup[2495]: 162B36202DE: uid=0 from=<root>
Sep 21 10:09:02 isaac-digesco postfix/cleanup[3454]: 162B36202DE: message-id=<20110921080902.162B36202DE@isaac-digesco>
Sep 21 10:09:02 isaac-digesco postfix/qmgr[2496]: 162B36202DE: from=<email address hidden>, size=1105, nrcpt=1 (queue active)
Sep 21 10:09:02 isaac-digesco postfix/local[3456]: 162B36202DE: to=<email address hidden>, orig_to=<root>, relay=local, delay=0.26, delays=0.17/0.01/0/0.08, dsn=2.0.0, status=sent (delivered to maildir)
Sep 21 10:09:02 isaac-digesco postfix/qmgr[2496]: 162B36202DE: removed
Sep 21 10:17:01 isaac-digesco CRON[3480]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 21 10:39:01 isaac-digesco CRON[3566]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Sep 21 10:39:01 isaac-digesco postfix/pickup[2495]: 39D236202DE: uid=0 from=<root>
Sep 21 10:39:01 isaac-digesco postfix/cleanup[3574]: 39D236202DE: message-id=<20110921083901.39D236202DE@isaac-digesco>
Sep 21 10:39:01 isaac-digesco postfix/qmgr[2496]: 39D236202DE: from=<email address hidden>, size=1105, nrcpt=1 (queue active)
Sep 21 10:39:01 isaac-digesco postfix/local[3576]: 39D236202DE: to=<email address hidden>, orig_to=<root>, relay=local, delay=0.24, delays=0.16/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to maildir)
Sep 21 10:39:01 isaac-digesco postfix/qmgr[2496]: 39D236202DE: removed
Sep 21 11:02:28 isaac-digesco kernel: [ 6935.506462] audit_printk_skb: 42 callbacks suppressed
Sep 21 11:02:28 isaac-digesco kernel: [ 6935.506466] type=1400 audit(1316595748.825:26): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=3695 comm="apparmor_parser"
Sep 21 11:02:28 isaac-digesco kernel: [ 6935.507832] type=1400 audit(1316595748.825:27): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=3695 comm="apparmor_parser"
Sep 21 11:02:39 isaac-digesco kernel: [ 6945.892924] type=1400 audit(1316595759.210:28): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=3714 comm="apparmor_parser"
Sep 21 11:02:39 isaac-digesco kernel: [ 6945.894733] type=1400 audit(1316595759.210:29): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=3714 comm="apparmor_parser"
Sep 21 11:03:41 isaac-digesco python: hp-check[3733]: error: Could not access file: No such file or directory
Sep 21 11:04:43 isaac-digesco python: io/hpmud/jd.c 89: unable to read device-id
Sep 21 11:04:43 isaac-digesco python: io/hpmud/jd.c 847: invalid ip 192.168.1.34
Sep 21 11:04:43 isaac-digesco python: hp-setup[3775]: error: No devices found on bus: net

                                                                                              /tmp/hpcheck.log

HP Linux Imaging and Printing System (ver. 3.11.7)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are
installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the
proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux isaac-digesco 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux

Distribution:
ubuntu 11.04

Checking Python version...
OK, version 2.6.6 installed

Checking PyQt 4.x version...
OK, version 4.8.3 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.4.6
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: CUPS image - CUPS image development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.11.7 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.11.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.11.7
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.11.7
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
eula = 1
installed = 1

Current contents of '~/.hplip/hplip.conf' file:

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

root

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.

                                                                                              /tmp/hpsetup.log

HP Linux Imaging and Printing System (ver. 3.11.7)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 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.

hp-setup[3775]: debug: param=
hp-setup[3775]: debug: selected_device_name=None
hp-setup[3775]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[3775]: debug: Starting GUI loop...
hp-setup[3775]: debug: Trying IP address 192.168.1.34
hp-setup[3775]: debug: Not found.
hp-setup[3775]: debug: Trying serial number 192.168.1.34
hp-setup[3775]: debug: Probing bus: usb
hp-setup[3775]: debug: Probing bus: par

Done.

Hope it can help with this problem. Thank you a lot for all time spent with it

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#10

Hi,

Thanks for providing the logs. I am trying to figure out the root cause, meanwhile can you change the locale to english and let us know following things.

1) Are you able to setup print queue using USB connection (hp-setup -g 1st option)??
2) Are you able to setup print queue using Network connection(hp-setup -g 2nd option)??
3) will be great if you can attach the logs again after changing the locale to english. For attaching the logs please create a bug at https://bugs.launchpad.net/hplip/+filebug and then attach the logs, because you wont be able to attach them here.

Thanks,
Sanjay

Revision history for this message
Isaac (vyrphan) said :
#11

Hi,

I've uploaded all logs in english now.

1) Yes, I'm able to do it. Printer is correctly installed in server, with USB connection. I can print normally through all programs.
2) No, can't do it. My server's internal IP is 192.168.1.34, accessible through ping, but hp scripts can access there (neither from server nor client)
3) I've submited a tarball with all logs (server and client). Additionally, I've added a ping log demonstrating accessibility from that terminal to server's machine.
Here is the link
https://bugs.launchpad.net/hplip/+bug/855518

Thank you for all effort

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#12

Hi Isaac,

By looking at the specifications of the mentioned Printer (HP LaserJet Professional m1132 MFP), only USB connection is supported.

FYI: http://h10010.www1.hp.com/wwpc/uk/en/ho/WF06a/18972-18972-3328064-3328082-3328082-3965842.html
[See Connectivity section]

So you will not be able to have network support for this. By the way how did you get the IP address for printer (HP LaserJet Professional m1132 MFP), when it has neither network port nor wifi.

Thanks,
Sanjay

Can you help with this problem?

Provide an answer of your own, or ask Isaac for more information if necessary.

To post a message you must log in.