- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: LPR.LOG
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 06:54 AM
тАО07-28-2004 06:54 AM
LPR.LOG
Today i was looking at the /var/adm/syslog.dated/current and i├В┬┤ve noticed that the lpr.log was growing very fast.
I edited the file and i got many messages like this :
ERROR -- Wizard to SysAdmin: please issue t
his command to fix your print setup: 'chown daemon /usr/spool/lpd3/receb'
ERROR -- ... otherwise creating the print f
ilter error files will fail and filter errors will not be logged.
And also a Warning :
WARNING -- PrepareFilter: cannot open file
errsaaFwga, printer hpcqr, error Permission denied
Does anybody knows what these are ?
TIA
Regards
Brun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 09:45 AM
тАО07-28-2004 09:45 AM
Re: LPR.LOG
the spool dirs must be owned by daemon.
So use
chown daemon.daemon /usr/spool/lpd3/receb
so that files can be created.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 07:18 PM
тАО07-28-2004 07:18 PM
Re: LPR.LOG
Please use the supported tools like lprsetup/lprconfig etc. next time to prevent any problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 12:07 AM
тАО07-29-2004 12:07 AM
Re: LPR.LOG
Thanks for the response.
Those 2 errors above were fixed after the change of the owner.
But i also noticed another error.
ERROR -- read_some_chars: read() failed, er
ror: Bad file number.
What about this one ..
I have checked the forum but i haven├В┬┤t found anything about it.
Hope you can help me.
THanks a lot ..
Bru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 12:48 AM
тАО07-29-2004 12:48 AM
Re: LPR.LOG
are we still talking lpr.log?
If so, can you post the context?
At first thought it looks like a network problem.
hth,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 01:40 AM
тАО07-29-2004 01:40 AM
Re: LPR.LOG
So it seems problem is a follow on to previous manual editing of printcap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 03:08 AM
тАО07-29-2004 03:08 AM
Re: LPR.LOG
please post the printcap!
thanks,
Mochael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 05:29 AM
тАО07-29-2004 05:29 AM
Re: LPR.LOG
But here is the printcap file.
# POA - HP4000
lp|lp0|0|rhp4000:\
:lf=/usr/adm/lperr:\
:lp=:\
:rm=hp:\
:rp=text:\
:sd=/usr/spool/lpd:\
:sh:
# POA - Cheque
lp1|1|cheque:\
:af=/usr/spool/lpd3/cheque/acct:\
:if=/usr/local/etc/smbcheque:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/cheque:
# POA - HP895
lp2|2|HP895:\
:af=/usr/adm/lp2acct:\
:if=/usr/lbin/lpf:\
:lf=/usr/adm/lp2err:\
:lp=:\
:rm=hp895:\
:rp=text:\
:sd=/usr/spool/lpd2:\
:sh:
# POA - HP680 Compras
lp3|3|hpcompra:\
:af=/usr/spool/lpd3/hpcompra/acct:\
:if=/usr/local/etc/smbhpcompra:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/hpcompra:
# POA - HPCQR
lp4|4|hpcqr:\
:af=/usr/spool/lpd3/hpcqr/acct:\
:if=/usr/local/etc/smbcqr:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/hpcqr:
# GRV - HP4050 Adm
lp5|5|hplaser:\
:af=/usr/adm/lp5acct:\
:lf=/usr/adm/lp5err:\
:lp=:\
:rm=hplaser:\
:rp=txt:\
:sd=/usr/spool/lpd5:\
:sh:
# POA - HP4L Recebimento
lp7|7|rhp4l:\
:lf=/usr/adm/lp7err:\
:lp=:\
:rm=hp4l:\
:rp=txt:\
:sd=/usr/spool/lpd7:\
:sh:
# POA - FX2180 NF
lp8|8|nota:\
:af=/usr/spool/lpd3/nota/acct:\
:if=/usr/local/etc/smbprint:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/nota:
# SCS - Financas
lp9|9|sccambio:\
:lf=/usr/adm/lp9err:\
:lp=:\
:rm=sccambio:\
:rp=text:\
:sd=/usr/spool/lpd9:\
:sh:
# SCS - Financas
lp10|10|scfint5m:\
:lf=/usr/adm/lp10err:\
:lp=:\
:rm=scfint5m:\
:rp=text:\
:sd=/usr/spool/lpd10:\
:sh:
# SCS - Compras
lp11|11|scs01:\
:lf=/usr/adm/lp11err:\
:lp=:\
:rm=printscs:\
:rp=hpcompq6:\
:sd=/usr/spool/lpd11:
# GRV - FX2180 Nota
lp13|13|fx_2180:\
:lf=/usr/adm/lp13err:\
:lp=:\
:rm=dasgrfs1:\
:rp=matricial:\
:sd=/usr/spool/lpd13:
# GRV - LEXMARK Recebimento
lp14|14|receb:\
:af=/usr/spool/lpd3/receb/acct:\
:if=/usr/local/etc/smbreceb:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/receb:
# GRV - HP1600 Sequenciamento
lp15|15|hpseq:\
:af=/usr/spool/lpd3/hpseq/acct:\
:if=/usr/local/etc/smbhpseq:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/hpseq:
# GRV - ZEBRA 105S
lp16|16|zebragrv:\
:lf=/usr/adm/lp16err:\
:lp=:\
:rm=printgrv:\
:rp=zebragrv:\
:sd=/usr/spool/lpd16:
# POA - KYOCERA
poafisc|lp17:\
:lf=/usr/adm/lp17err:\
:lp=:\
:rm=10.251.21.194:\
:rp=lp1:\
:sd=/usr/spool/lpd17:
# POA - MANUFATURA
pofab|lp19:\
:lf=/usr/adm/lp19err:\
:lp=:\
:rm=10.251.21.21:\
:rp=text:\
:sd=/usr/spool/lpd19:
# POA PLOTTER ENGENHARIA
plotter|lp6:\
:lf=/usr/adm/lp6err:\
:lp=:\
:rm=10.251.21.17:\
:rp=text:\
:sd=/usr/spool/lpd6:
# POA - KYOCERA
poafisc|lp17:\
:lf=/usr/adm/lp17err:\
:lp=:\
:rm=10.251.21.194:\
:rp=lp1:\
:sd=/usr/spool/lpd17:
# POA - MANUFATURA
pofab|lp19:\
:lf=/usr/adm/lp19err:\
:lp=:\
:rm=10.251.21.21:\
:rp=text:\
:sd=/usr/spool/lpd19:
# POA PLOTTER ENGENHARIA
plotter|lp6:\
:lf=/usr/adm/lp6err:\
:lp=:\
:rm=10.251.21.17:\
:rp=text:\
:sd=/usr/spool/lpd6:
# PC&L POA
xerox|lp12:\
:lf=/usr/adm/lp12err:\
:lp=:\
:rm=10.251.21.20:\
:rp=text:\
:sd=/usr/spool/lpd12:
Thanks a lot
Regards
BRu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 07:18 PM
тАО07-29-2004 07:18 PM
Re: LPR.LOG
As written before check the lp= keyword which leads to the problem. lpd tries to read some characters from the remote system but cannot due to wrong printcap entry or used mechanism.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2004 08:40 PM
тАО07-29-2004 08:40 PM
Re: LPR.LOG
just wondering, how this would work:
# GRV - HP1600 Sequenciamento
lp15|15|hpseq:\
:af=/usr/spool/lpd3/hpseq/acct:\
:if=/usr/local/etc/smbhpseq:\
:lp=/dev/null:\
:mx#0:\
:sd=/usr/spool/lpd3/hpseq:
no remote machine?
Michael