LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 03-23-2011, 08:35 AM   #1
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Rep: Reputation: 15
Sudden Printer malfunction


Hi

I am using Mepis 8 on my PC and also have a laptop with windows XP installed. I had the laptop connected to the printer (HP Deskjet 930c) on my PC through the Internet Printer Protocol but it suddenly refused to work. I accessed localhost:631 through my broswer on my PC and there was a error message "permision denied on /dev/lp0". Now my printer refuses to work on my PC also.

I have tried deleting the printer and rebooting and reinstalling it but the KDE print manager lets me get right to the final stage before informing me it cannot create the printer

Has anyone got any ideas? I must have done something to cause this but what! I don't remember doing anything. All I was trying to find the URL to install on my laptop


grabro
 
Old 03-23-2011, 08:39 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
What are the permissions of it? Show the output of the following if you can:
Code:
ls -al /dev/lp0
 
Old 03-24-2011, 08:39 AM   #3
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Original Poster
Rep: Reputation: 15
Sudden Printer Malfunction

Corp 769

The answer to ls-al/dev/lp0 is No such File or Directory.
There is in fact an lp0 character device(socket!!) in /dev. Is this possibly because at the moment there is no printer installed

I have tried again to install the printer via KDE and I got the message "unable to create device. Error message from printer manager"

Below is the output from the errorlog

I [24/Mar/2011:08:07:28 +0000] Resuming new connection processing...
I [24/Mar/2011:13:22:36 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=31060)
E [24/Mar/2011:13:22:37 +0000] [CGI] Unable to scan "@LOCAL"!
I [24/Mar/2011:13:22:38 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=31088)
E [24/Mar/2011:13:22:39 +0000] [CGI] Unable to scan "@LOCAL"!
I [24/Mar/2011:13:23:01 +0000] Started "/usr/lib/cups/daemon/cups-deviced" (pid=31177)
E [24/Mar/2011:13:23:02 +0000] [CGI] Unable to scan "@LOCAL"!
E [24/Mar/2011:13:25:02 +0000] CUPS-Add-Modify-Printer: Unauthorized

Thanks for your interest anyway


grabro
 
Old 03-24-2011, 01:38 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
The answer to ls-al/dev/lp0 is No such File or Directory.
There is in fact an lp0 character device(socket!!)
So then which one is it? If it is there like you said, my command would give you a result. Try it with appending an asterisk at the end.
 
Old 03-30-2011, 05:39 AM   #5
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Original Poster
Rep: Reputation: 15
Sudden Printer Malfunction

Corp 769

Sorry I was running it without the proper spaces the reply I received is 1 root lp 6, 0 2011-03-30 09:14 /dev/lp0


In fact I have now managed to get my printer set up but every time I try to print something I am told the printer is not connected but it is. Incidentally using another distro on a different partition the printer works fine. I feel there is something wrong with Cups although I reinstalled cups from the repositories but it has not solved the problem.


grabro
 
Old 03-30-2011, 06:03 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Can you post the permissions too? I want to verify that the proper owner and groups are correct, along with the permissions just to rule them out. Now besides being that, the messages above from the "errorlog" - Where are you getting them from? /var/log/messsages or dmesg?
 
Old 03-31-2011, 11:03 AM   #7
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Original Poster
Rep: Reputation: 15
Sudden Printer Malfunction

CORP 769

The permissions on lp0 and parport0 are owned by root with group as lp. Each can Read & Write. As a user I have access to lp

The permissions on cups.sock are owned by root, Group users Each can Read and Write.

The error log came from /var/log/cups/error.log



grabro
 
Old 05-03-2011, 09:08 AM   #8
grabro
Member
 
Registered: Oct 2003
Location: Chester
Distribution: Mepis 6.0
Posts: 125

Original Poster
Rep: Reputation: 15
Hi

I am still wrestling with my inoperable printer on mepis8.0 although it works fine using mepis8.5. I was in localhost:631 trying to get it working and after running a test page the message "printer not connected" was displayed. Subsequently browsing the error log I cam across the following
"E [03/May/2011:14:35:22 +0100] PID 5894 (/usr/lib/cups/backend/parallel) crashed on signal 9!"

Does anyone know what signal 9 is meant to signify?!!


grabro
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudden behavior change in Device URL of samba for XP printer BVP Linux - Networking 5 11-29-2009 09:25 PM
Brother Laser Printer image not centered & tray malfunction BCarey Linux - Hardware 2 02-27-2008 09:07 AM
Kmix malfunction j9678 Linux - Newbie 11 01-31-2008 01:00 PM
Search malfunction scuzzman LQ Suggestions & Feedback 5 05-16-2005 04:08 PM
Computer Malfunction jmcdonald21 Linux - Newbie 2 03-10-2005 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration