Mailinglist Archive: opensuse (1784 mails)
| < Previous | Next > |
Re: [SLE] Printing problem after upgrade to 7.0
- From: tosi@xxxxxxxxxxxxxxxxxxxx (Tor Sigurdsson)
- Date: Sun, 3 Dec 2000 13:52:46 +0000
- Message-id: <20001203135246.D19749@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 Dec 2000 13:52:46 +0000
From: Tor Sigurdsson <tosi@xxxxxxxxxxxxxxxxxxxx>
Message-ID: <20001203135246.D19749@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [SLE] Printing problem after upgrade to 7.0
do:
chown -R lp:lp /var/spool/lpd
rclpd restart
The line printer daemon runs at the demoted level of lp, and as root owns
all the control-files, lp can't change those files.
-tosi
On Sun, Dec 03, 2000 at 01:52:11PM +0100, Guido Milanese wrote:
> On 03-Dec-00 Jerry Kreps wrote:
>
> > No need to go insane! Now you have to configure the printcap file...
> > Run YaST and select the 'Configure Hardware" option, which leads
> > to the option to configure the printer, or run YaST2 and chose
> > the 'Configure the Printer" button.
>
> Thanks -- did it. Always the same answer: installing with yast2, the
> hello world statement is sent correctly, but the test page is not
> printed. From command line, lpq gives:
>
> Local printer 'lp' on pentiumiii.miarete: no spooling, no printing
>
> and lpr sometimes (not always) returns this info:
>
> illegal ack code '': Pipe rotta
>
> "Pipe rotta" = "broken pipe"
>
> not very nice indeed....
>
> I also tried:
>
> cat moglie.txt | lpr -Pascii
>
> and this gave as output:
>
> cat moglie.txt | lpr -Pascii
>
> Dec 3 12:10:00 pentiumiii lpr ascii: Readlockfile: cannot open/create
> lock file '/var/spool/lpd/ljet3-a4-ascii-mono-300/lock': Permesso
> negato
>
> "Permesso negato" = permission denied
>
> I was logged as root. The permissions of the lock file are:
>
> -rw-r--r-- 1 root root 5 dic 3 11:42
> /var/spool/lpd/ljet3-a4-ascii-mono-300/lock
>
> Permissions of the other lock files:
> /var/spool/lpd/ljet3-a4-auto-mono-300/lock
>
> -rwxrwxrwx 1 root root 5 nov 9 09:59 lock
>
> which seems wrong to me: I changed to
> -rw-r--r-- 1 root root
> but nothing changed -- still the message
> Readlockfile: cannot open/create lock file
> '/var/spool/lpd/ljet3-a4-auto-mono-300/lock': Permesso negato
>
> /var/spool/lpd/ljet3-a4-raw/lock
> -rw-r--r-- 1 root root 5 dic 3 11:42 lock
>
> To be sure, I also installed through yast. The problem is not, I think,
> in the printcap configuration: did it also manually using SETUP, but no
> change happened. There must be something wrong in the lock files
> permissions ore something like that -- why this "no spooling" message?
>
> I am rather confused, sorry to be such a nuisance to the list. But I
> promise that, if all of this ends well, I will post a detailed message
> with the whole story -- may be helpful to other people.
>
> Best regards from Italy!
> g.
>
> -------------------------------------------
> E-Mail: Guido Milanese <gmilanese@xxxxxxxxx>
> Homepage: http://fly.to/arsantiqua
> 03-Dec-00 - XFMail on Linux
> + + + + + + NON NOBIS DOMINE + + + + + +
> -------------------------------------------
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the FAQ at http://www.suse.com/support/faq
--
______
/---------------------------------------\ \
| Þór Sigurðsson | Tor Sigurdsson | t |
| Netmaður | Network Specialist | o |
|-----------------------------------------| s |
| tosi@xxxxxxxxx | i |
\---------------------------------------/_____/
| < Previous | Next > |