[SuSE Linux] "Can't create /var/spool" printing error.
After upgrading to 2.2.1, I discovered that I can't get my HP-compatible printer (on /dev/lp1) to work. Here's the error message when I call lpr on any printing job: "cannot create /var/spool/lpd/ljet2p-letter-auto-mono-300/.seq" Any idea as to what might be behind this? I don't think it's permission-related, but I may be wrong. -- Glenn -- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, 1. Do you have free space in /var? 2. Do you have a directory called /var/spool/lpd/ljet2p-letter-auto-mono-300? Most likely this is the second... -alexm On Mon, 1 Mar 1999, misc.word.corp wrote:
After upgrading to 2.2.1, I discovered that I can't get my HP-compatible printer (on /dev/lp1) to work.
Here's the error message when I call lpr on any printing job:
"cannot create /var/spool/lpd/ljet2p-letter-auto-mono-300/.seq"
Any idea as to what might be behind this? I don't think it's permission-related, but I may be wrong.
-- Glenn --
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Thanks for the reply. alexm wrote:
Hi,
1. Do you have free space in /var?
Yes, it's got plenty of free space.
2. Do you have a directory called /var/spool/lpd/ljet2p-letter-auto-mono-300?
Yes -- the contents of the directory appear at the bottom of the e-mail. It seems that the .seq file might be causing this problem.
On Mon, 1 Mar 1999, misc.word.corp wrote:
After upgrading to 2.2.1, I discovered that I can't get my HP-compatible printer (on /dev/lp1) to work.
Here's the error message when I call lpr on any printing job:
"cannot create /var/spool/lpd/ljet2p-letter-auto-mono-300/.seq"
Any idea as to what might be behind this? I don't think it's permission-related, but I may be wrong.
-- Glenn --
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
</PRE> <PRE> total 38 drwxr-xr-x 2 lp lp 1024 Mar 1 13:54 ./ drwxr-xr-x 9 lp lp 1024 Mar 1 13:26 ../ -rw-r----x 1 root root 4 Mar 1 12:37 .seq* -rw-r----- 1 lp lp 0 Mar 1 10:07 acct -rw-rw---- 1 lp root 91 Mar 1 12:32 cfA001sylvester -rw-rw---- 1 lp root 78 Mar 1 12:36 cfA002sylvester -rw-rw---- 1 lp root 91 Mar 1 12:37 cfA004sylvester -rw-rw---- 1 lp root 91 Mar 1 12:37 cfA005sylvester -rw-rw---- 1 root root 4906 Mar 1 12:32 dfA001sylvester -rw-rw---- 1 root root 12822 Mar 1 12:36 dfA002sylvester -rw-rw---- 1 root root 4906 Mar 1 12:37 dfA004sylvester -rw-rw---- 1 root root 4906 Mar 1 12:37 dfA005sylvester -rw------- 1 lp lp 4 Mar 1 13:26 lock -rw-r----- 1 lp lp 0 Mar 1 10:07 log -rw-r----- 1 lp lp 43 Mar 1 13:26 status -rw-r--r-- 1 root root 0 Mar 1 13:55 this_file
Hi, try this out, it should work. Become superuser and give the following command: mkdir /var/spool/lpd/ljet2p-letter-auto-mono-300 actually 'ljet2p-letter-auto-mono-300' should be replaced with whatever entry it has got in /etc/printcap file. For example, if the followinf entry is there in /etc/printcap, ps|raw:\ :lp=:rm=100.0.0.10:rp=raw:sd=/var/spool/lpd/lp1_raw :mx#0:\ :of=/usr/spool/lp1/hpjlps: :lf=/usr/spool/lp1/ps-log: then issue 'mkdir /var/spool/lpd/lp1_raw' Regards, Senthil vel On Mon, 1 Mar 1999, misc.word.corp wrote:
After upgrading to 2.2.1, I discovered that I can't get my HP-compatible printer (on /dev/lp1) to work.
Here's the error message when I call lpr on any printing job:
"cannot create /var/spool/lpd/ljet2p-letter-auto-mono-300/.seq"
Any idea as to what might be behind this? I don't think it's permission-related, but I may be wrong.
-- Glenn --
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Thanks for the advice. I tried what you recommended, but no luck. I even rm -rf'd the lp1 directory (and its subs), called yast, and reconfigured a printcap from scratch. The new printcap set up a new set of directories under /lp1, and got rid of some junk. *Still* no luck. I can't get a handle on what's happening here. I've even rebuilt a new bzImage or two, not that this should help. I'm running out of ideas. Whew. S K SENTHIL VEL wrote:
Hi, try this out, it should work. Become superuser and give the following command:
mkdir /var/spool/lpd/ljet2p-letter-auto-mono-300
actually 'ljet2p-letter-auto-mono-300' should be replaced with whatever entry it has got in /etc/printcap file.
For example, if the followinf entry is there in /etc/printcap,
ps|raw:\ :lp=:rm=100.0.0.10:rp=raw:sd=/var/spool/lpd/lp1_raw :mx#0:\ :of=/usr/spool/lp1/hpjlps: :lf=/usr/spool/lp1/ps-log:
then issue 'mkdir /var/spool/lpd/lp1_raw'
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (3)
-
alexm@quake.tx.symbio.net
-
misc.word.corp@pobox.com
-
senthil@easi.soft.net