Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 10:17
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
Unable to open file /var/spool/cups/d00005-001 ??
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Fri 11 Jun 2010, 20:04    Post_subject:  Unable to open file /var/spool/cups/d00005-001 ??  

I am running Puppy 4, CUPS 1.3.3 and trying to print wirelessly to a Canon MX860. Setup sees the printer to select and the driver to select. When I try to print a test page, I get the error message with a Permission Denied. I can go to that directory and see the file. It is the test print page. Under permissions says "rw-, r--,---/--- root......whatever that means. How can I correct?

This is the log:
I [11/Jun/2010:23:44:30 -0800] Scheduler shutting down normally.
I [11/Jun/2010:23:44:30 -0800] Saving job cache file "/var/cache/cups/job.cache"...
I [11/Jun/2010:23:45:22 -0800] Listening to 127.0.0.1:631 (IPv4)
I [11/Jun/2010:23:45:22 -0800] Listening to /var/run/cups/cups.sock (Domain)
I [11/Jun/2010:23:45:22 -0800] Loaded configuration file "/etc/cups/cupsd.conf"
I [11/Jun/2010:23:45:22 -0800] Using default TempDir of /var/spool/cups/tmp...
I [11/Jun/2010:23:45:22 -0800] Configured for up to 100 clients.
I [11/Jun/2010:23:45:22 -0800] Allowing up to 100 client connections per host.
I [11/Jun/2010:23:45:22 -0800] Using policy "default" as the default!
I [11/Jun/2010:23:45:22 -0800] Full reload is required.
I [11/Jun/2010:23:45:22 -0800] Loaded MIME database from '/etc/cups': 35 types, 38 filters...
I [11/Jun/2010:23:45:22 -0800] Loading job cache file "/var/cache/cups/job.cache"...
E [11/Jun/2010:23:45:22 -0800] [Job 4] Unable to queue job for destination "MX860"!
I [11/Jun/2010:23:45:22 -0800] Full reload complete.
I [11/Jun/2010:23:45:22 -0800] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [11/Jun/2010:23:45:22 -0800] Listening to 127.0.0.1:631 on fd 1...
I [11/Jun/2010:23:45:22 -0800] Listening to /var/run/cups/cups.sock on fd 3...
I [11/Jun/2010:23:45:22 -0800] Resuming new connection processing...
I [11/Jun/2010:23:45:28 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=17993)
I [11/Jun/2010:23:45:43 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=18180)
I [11/Jun/2010:23:45:43 -0800] Started "/usr/lib/cups/daemon/cups-deviced" (pid=18181)
I [11/Jun/2010:23:45:53 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=18291)
I [11/Jun/2010:23:45:53 -0800] Started "/usr/lib/cups/daemon/cups-driverd" (pid=18292)
E [11/Jun/2010:23:45:53 -0800] [cups-driverd] Unable to open PPD directory "/usr/local/share/ppd": No such file or directory
E [11/Jun/2010:23:45:53 -0800] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
I [11/Jun/2010:23:46:02 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=18428)
E [11/Jun/2010:23:46:02 -0800] CUPS-Add-Modify-Printer: Unauthorized
I [11/Jun/2010:23:46:11 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=18521)
E [11/Jun/2010:23:46:11 -0800] CUPS-Add-Modify-Printer: Unauthorized
I [11/Jun/2010:23:46:11 -0800] Setting MX860 device-uri to "bjnp://192.168.1.15:8611" (was "file:/dev/null".)
I [11/Jun/2010:23:46:11 -0800] Setting MX860 printer-is-accepting-jobs to 1 (was 0.)
I [11/Jun/2010:23:46:11 -0800] Setting MX860 printer-state to 3 (was 5.)
I [11/Jun/2010:23:46:11 -0800] Saving printers.conf...
I [11/Jun/2010:23:46:11 -0800] New printer "MX860" added by "root".
I [11/Jun/2010:23:46:17 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=18572)
E [11/Jun/2010:23:46:17 -0800] PID 18572 (/usr/lib/cups/cgi-bin/admin.cgi) crashed on signal 11!
I [11/Jun/2010:23:46:17 -0800] Hint: Try setting the LogLevel to "debug" to find out more.
I [11/Jun/2010:23:46:25 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=18665)
I [11/Jun/2010:23:46:30 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=18712)
I [11/Jun/2010:23:46:30 -0800] [Job 5] Adding start banner page "none".
I [11/Jun/2010:23:46:30 -0800] [Job 5] Adding job file of type application/postscript.
I [11/Jun/2010:23:46:30 -0800] [Job 5] Adding end banner page "none".
I [11/Jun/2010:23:46:30 -0800] [Job 5] Queued on "MX860" by "root".
I [11/Jun/2010:23:46:30 -0800] [Job 5] Started filter /usr/lib/cups/filter/pstops (PID 18713)
I [11/Jun/2010:23:46:30 -0800] [Job 5] Started filter /usr/lib/cups/filter/pstocanonij (PID 18714)
I [11/Jun/2010:23:46:30 -0800] [Job 5] Started backend /usr/lib/cups/backend/bjnp (PID 18715)
E [11/Jun/2010:23:46:30 -0800] PID 18713 (/usr/lib/cups/filter/pstops) stopped with status 1!
I [11/Jun/2010:23:46:30 -0800] Hint: Try setting the LogLevel to "debug" to find out more.
E [11/Jun/2010:23:46:30 -0800] [Job 5] Unable to open file "/var/spool/cups/d00005-001" - Permission denied
I [11/Jun/2010:23:46:32 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=18762)
E [11/Jun/2010:23:46:32 -0800] [Job 4] Unable to open job control file "/var/spool/cups/c00004" - No such file or directory!
I [11/Jun/2010:23:46:43 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=18858)
E [11/Jun/2010:23:46:43 -0800] [Job 4] Unable to open job control file "/var/spool/cups/c00004" - No such file or directory!
E [11/Jun/2010:23:46:48 -0800] [Job 5] Job stopped due to filter errors.
I [11/Jun/2010:23:46:53 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=18998)
E [11/Jun/2010:23:46:53 -0800] [Job 4] Unable to open job control file "/var/spool/cups/c00004" - No such file or directory!
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9153
Location: Stratford, Ontario

PostPosted: Sat 12 Jun 2010, 00:16    Post_subject:  

Which version of Puppy 4 are you using?

The CUPS 1.3.3 from the repo was never ready for prime-time. You would be better off upgrading to CUPS 1.3.11 from here.. Note that these instructions apply to Puppy 4.3.1.
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Sat 12 Jun 2010, 10:43    Post_subject:  

Under help, it shows Puppy 4.3. Is 4.3.1 much different? Do I need to upgrade?

I completed the instructions but get the same result. The file properties are attached.

I just realized one other thing. The hard drive is dead so I'm booting from a DVD with pupsave on the USB. The BOIs does not have an option to boot from the USB. Does that make a difference?

Thanks for your help,

Dan
screen.png
Description 
png

 Download 
Filename  screen.png 
Filesize  244.42 KB 
Downloaded  606 Time(s) 
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9153
Location: Stratford, Ontario

PostPosted: Sat 12 Jun 2010, 12:26    Post_subject:  

mcman56 wrote:
The hard drive is dead so I'm booting from a DVD with pupsave on the USB.

It may. Try the following commands
Code:
/etc/init.d/cups stop
rm -rf /var/cups
rm -rf /var/spool/cups
rm -rf /var/run/cups
rm -rf /var/cache/cups
rm -rf /var/log/cups
/etc/init.d/cups start


Then try a print job. If it works, you may need to put those commands in a script that runs each time at startup.
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Sat 12 Jun 2010, 19:17    Post_subject:  

I got the same result. odd
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9153
Location: Stratford, Ontario

PostPosted: Sat 12 Jun 2010, 20:24    Post_subject:  

I just did a fresh install of Puppy 4.3.1 and upgraded the CUPS to 1.3.11 as per the instructions. I then did a simulated install of your Canon MX860 and it worked fine.

There have been other episodes where CUPS 1.3.x showed strange behaviours with USB installs. Maybe that's what you are seeing. Or maybe there are some left-over bits of the CUPS 1.3.3 install that are causing the problem.

If your hardware will run it, I would get Quirky 1.2. It has CUPS 1.3.11 built in, so the printer setup may be easier to do.
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Fri 18 Jun 2010, 20:49    Post_subject:  

You were correct. CUPS 1.3.3 was still there. I reloaded everything and it works with 1.3.11. Thanks for your help.

Dan
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Tue 22 Jun 2010, 00:00    Post_subject:  

everything seems good until I load cups_pdf-0.8 and then I'm back to the original error. I tried pfdprinter_pdq_ad-02 but it does not seem to work. Is there a pdf writer that I can add that will work with the cups printing components???? thanks!!
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9153
Location: Stratford, Ontario

PostPosted: Tue 22 Jun 2010, 00:04    Post_subject:  

Most applications have a "Print to File" option. Have you tried it?
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Fri 02 Jul 2010, 10:30    Post_subject:  

Well, I have learned a little more. At first, 4.3.1 will work and print correctly. Over time...maybe very soon, it looses that ability and the fault shows up. It was not related to the pdf load. Maybe something happens when it is saved or ???. Quirky was similar. It set up OK and printed but then cups would not open to let me try again...local host could not be found. In Quirky, seamonkey will also just disappear. It does not lock up but is just instantly gone. I had some other version of puppy that did that too.
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Tue 06 Jul 2010, 09:11    Post_subject: Issue Resolved!!!  

After trying Quirky, I went one step further to Lucid. It comes with CUPS 1.4.2. After several days, printing is still working fine and has not developed the fault. The only odd thing I notice is that the two green lights on the Netgear wireless adapter keep blinking like it is in some kind of fault mode. However, it is working fine.
Back to top
View user's profile Send_private_message 
joe0855

Joined: 05 Oct 2010
Posts: 60
Location: Raleigh, North Carolina, U.S.A.

PostPosted: Tue 05 Oct 2010, 05:15    Post_subject:  

Hey mcman56,

It's been a few months and just wanted to see if printing was still okay using Quirky?

I am experiencing the same problem using Puppy 4.3.1 and my Samsung SCX-4100 printer. I may get it to work for the first time (now I can't even reproduce that), but then over time, it fails to print.

I've tried Lucid and printing works flawlessly, however at the expense of an application that seems to only work in 4.3.1 (I'll post this issue elsewhere).

Cheers.
Back to top
View user's profile Send_private_message 
mcman56

Joined: 03 Nov 2009
Posts: 102
Location: CA

PostPosted: Tue 05 Oct 2010, 10:45    Post_subject:  

Lucid solved my printing issue so I simply stuck with Lucid. However, several of the web browsers had scrolling issues running in Lucid. I ended up with Chromium and it works well.

Using the tool in Lucid, it also seemed easier to to load Openoffice. However, I tried using the ATAN function in the spreadsheet yesterday and it did not work. It offered the function but the result was just the initial number. I'm wondering if there is an additional step to get all of the trig functions. I guess that is something to look into.

Dan
Back to top
View user's profile Send_private_message 
pupbox

Joined: 29 Aug 2011
Posts: 1

PostPosted: Mon 29 Aug 2011, 10:21    Post_subject:  

I had the same problem with my HPf4580, Puppy 4.20.

Although i removed the folders suggested (/var/cups, /var/spool/cups, /var/run/cups, /var/cache/cups, /var/log/cups), i was still not able to print, getting the same error:

Unable to open file /var/spool/cups/dXXX-XXX: Permission denied.

I noticed from /var/log/cups/error_log that it had something to do with the filter pstops.

Code:

PID 18713 (/usr/lib/cups/filter/pstops) stopped with status 1!


The solution was to change the permissions of the filters:
Code:

cd /usr/lib/cups/filter
chmod ug+s pstops
chmod ug+s foomatic-rip
[/code]
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9153
Location: Stratford, Ontario

PostPosted: Mon 29 Aug 2011, 11:27    Post_subject:  

Here is something that we have learned about Puppy and CUPS. Certain alien packages, like debs or sfs files made from debs, have invalid permissions and ownerships. When installed, they alter the Puppy filesystem and cause CUPS to fail.

This might explain why CUPS would initially work for mcman56, then eventually quit. It might also explain why your use of the "-s" option would repair the problem.

Thanks.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0863s ][ Queries: 13 (0.0044s) ][ GZIP on ]