LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 08-13-2013, 07:08 PM   #1
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Rep: Reputation: Disabled
ERROR: /usr/lib/cups/backend/hpfailed HP Envyy Wireless stopped working


Hi:

I have a HP Envy d411 wireless printer that has been working fine for the last 4 weeks. For some reason it stopped working and when I try to print the Status is held and clicking on 'release' doesn't work.
Went into Printing and tried to print a 'Test Page' that doesn't work either.

I unplugged the printer and restarted it twice and rebooted the computer that worked in the past but it is not effective today.

The only thing I've done since the printer stopped working is run an update.
I'm running Black Opal 64 which is based on Ubuntu 12.04.

Here's the printer:
http://www.overstock.com/Electronics...1/product.html

I looked in the error log: var/log/cups/error-log. I don't know how to fix this. Here's a screenshot-
Code:
Unknown directive on line 16 of etc/cups/cupsd.conf
http://s1052.photobucket.com/user/Ul...tml?sort=3&o=0

I looked in the cups-files.conf file and saw that line 10 and 11 were commented out- I didn't uncomment either line. Should I and if so; which one?
Code:
line 10 # User lp
line 11 # Group lp
Not sure what to try and I am not in the habit of editing config files.
A few articles online say to uninstalling HPLIP and reinstalling but I don't know if that's the right practice; when it could just be a file that needs edited?

Help is always appreciated :-
Thanks in advance
 
Old 08-15-2013, 08:57 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
I always have to cancel the jobs once that happens and resume the printer.
 
Old 08-15-2013, 12:57 PM   #3
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I have canceled about 4 jobs and tried to resume the printer. That didn't work.
But; I will try one more time; just to see if it will work now--

Nope still won't print but when I look at the glass window on the printer clearly I am connected and see my network in the window--

What do you think about un-installing HPLIP and reinstalling it?
 
Old 08-15-2013, 01:02 PM   #4
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Failed again-
http://s1052.photobucket.com/user/Ul...tml?sort=3&o=0
 
Old 08-15-2013, 01:56 PM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
I gave up on HPLIP. Where did they get it from?

I found foo2zjs. Odd stuff - have to compile & install (heavy install scripts) but do have peace usually. On this box, the hotplug bit has gone dodgy, but I have a workaround. I've used it since slackware 12 (the foo2xqx bit) with no issues.

EDIT: You have to remove system-config-printer, because of some data conflicts.
 
Old 08-16-2013, 12:31 AM   #6
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Not sure where they got hplip from--

Strange behavior a while ago.
My internet would not connect until I turned on the printer-(really odd)
So I rebooted twice to make sure the wireless was working.

The printer works now-
Any idea why it's working now and not doing the wireless trick?

Could this of been something from running Win's XP and coming back to my Black Opal distro OS?

In the future if this happens again; how would I remove the system-config-printer?
Is that a one line argument in a config file?
(aside from using the terminal to rm it)

Last edited by Ztcoracat; 08-16-2013 at 12:41 AM.
 
Old 08-16-2013, 11:14 AM   #7
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
When some situation like that occurs, I do a couple of things

1. Check for the device (wlan0 or /dev/usb/łp0 usually). This clears the kernel modules. If not, modprobe the kernel modules

2. Check for firmware (if required). It certainly is for my printer. Foo2zjs has firmware ready and downloads it via hotplug (which bit is dodgy on this box). I have a link in /root to the script that downloads it.

3. Restart any scripts. It's rarely if ever a usb issue.
 
Old 08-16-2013, 07:54 PM   #8
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I wrote down all 3 steps so I have them.

I'll take more time tomorrow (at work at the time being) to read about 'modprobe the kernel' as I have not done that task before.
So far I got it that modprobe add's or removes a module from the kernel but I have to finish reading the man page.

Thank You for your help; business_kidd-
 
Old 08-17-2013, 03:11 AM   #9
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
if your printer is usb, the module is usblp. You simply type

modprobe usblp

and it intelligently(?) directs the kernel's attention to that module and loads it. I can't guess your wifi module as you didn't mention it's type.
 
Old 08-17-2013, 04:35 PM   #10
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
My HP printer is not usb--

Not sure what the wifi module is; I (think) if I understand what you mean; it's WEP.
 
Old 08-18-2013, 08:14 AM   #11
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Quote:
My HP printer is not usb--
We're real give-ish with the information, here:-P. Where do you hang it? Parallel port? Nwetwork? Ether?
 
Old 08-18-2013, 11:52 AM   #12
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
The HP Envy only came with a power plug. It didn't come with a usb cable.
My ISP provided me with a wireless modem that is down the hall from the room in which the wireless printer is in.

I installed a new wireless card on my mobo.
Code:
:~$ lspci | grep -i network
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
Not sure what you mean; Where do I hang it? If it is a Parallel port; I don't know how to tell--
I don't know a lot about the wifi stuff; sorry-
 
Old 08-18-2013, 01:16 PM   #13
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
That's a network printer. Boy am I glad I didn't get a HP Envy - I went close. So your wifi and network are linked. What's the line 16 of /etc/cups/cupsd.conf? Why not post it in context?

One other thing. This is one of the rare occasions when the "m$ solution" of delete & reinstall often works in linux. Delete, restart, and reinstall the printer.
 
Old 08-18-2013, 11:52 PM   #14
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,441
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Here's the entire file /etc/cups/supsd.conf- Greek to me.

Code:
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0

# Administrator user group...
SystemGroup lpadmin


# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing Off
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
Quote:
This is one of the rare occasions when the "m$ solution" of delete & reinstall often works in linux. Delete, restart, and reinstall the printer.
LOL!; If that happens again (printer fails with that error again) I will certaintly practice that.
I understand now. Had you not told me they were linked; I would of never thought of that; as I said before the wifi stuff I'm not very good with. I was concerned about the network 'possibly' getting compromised or worse:hacked--
 
Old 08-19-2013, 07:02 AM   #15
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,962

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Quote:
# Administrator user group...
SystemGroup lpadmin
It's complaining about "SystemGroup" back in post 1. Maybe just comment it out. At least it will change the error :-P.
Quote:
# Administrator user group...
# SystemGroup lpadmin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failure to print, Paused - "/usr/lib/cups/backend/hp failed" MadmanJack Linux - Newbie 3 04-15-2012 12:03 AM
printing with hplip doesn't work: /usr/lib/cups/backend/hp failed ToK Linux - Hardware 10 02-02-2011 04:45 PM
Freelink debian on Buffalo NAS cups not working /usr/lib/cups/filter/hpcups failed linuxmandrake Debian 0 03-23-2010 04:45 PM
[SOLVED] cups "/usr/lib/cups/filter/foomatic-rip failed" error wufo Slackware 4 01-31-2010 02:20 PM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration