I am having a heck of a time getting LPRng to work generating banner
pages under Solaris 8.
System information:
LPRng 3.7.4 and 3.7.5 tried, downloaded from astart.com
IFHP 3.4.4
uname: SunOS XXXXXX 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-4
Hardware: Sun Enterprise 450, 4x450 procs, 4G RAM
Destination printer: Networked HP Laserjet 4050TN
First off, my printcap file:
yucca|Yucca
:rp=raw
:rm=XXXXX.XX.unlv.edu
:lf=/var/log/lpd/yucca.errs
:sd=/var/spool/lpd/yucca
:bp=/usr/bin/bannerpage
:of=/usr/local/libexec/filters/ifhp
:filter=/usr/local/libexec/filters/ifhp
:af=XXXXX%XXX
:achk
:generate_banner
Without generate_banner, everything works correctly, except no banner
page. With generate_banner, and lpd running in -D10, I get the
following interesting lines in the log file:
...
2001-08-22-19:30:01.748 egr-stu-fs [24513] (Worker - Remote) yucca:
Find_last_key: cmp -117, top 18, mid 19, bot 18
2001-08-22-19:30:01.748 egr-stu-fs [24513] (Worker - Remote) yucca:
Find_last_key: existing entry, mid 18, 'N=/root/testing.c'
2001-08-22-19:30:01.748 egr-stu-fs [24513] (Worker - Remote) yucca:
Find_last_key: cmp 0, top 18, mid 18, bot 18
2001-08-22-19:30:01.748 egr-stu-fs [24513] (Worker - Remote) yucca:
Find_last_key: key 'N', cmp 0, mid 18
2001-08-22-19:30:01.750 egr-stu-fs [24512] (Server) yucca: plp_waitpid:
pid -1, options 64
2001-08-22-19:30:01.750 egr-stu-fs [24512] (Server) yucca: plp_waitpid:
returned 24513, status died, Segmentation Fault
2001-08-22-19:30:01.750 egr-stu-fs [24512] (Server) yucca:
Wait_for_subserver: pid 24513, status 'died, Segmentation Fault'
2001-08-22-19:30:01.750 egr-stu-fs [24512] (Server) yucca:
Wait_for_subserver: pid 24513 terminated by signal 'Segmentation Fault'
2001-08-22-19:30:01.750 egr-stu-fs [24512] (Server) yucca:
Wait_for_subserver: pid 24513 final status JSIGNAL
2001-08-22-19:30:01.751 egr-stu-fs [24512] (Server) yucca: setstatus:
msg 'subserver pid 24513 died with signal 'Segmentation Fault''
2001-08-22-19:30:01.751 egr-stu-fs [24512] (Server) yucca:
send_to_logger: Logger_fd fd 0, send_to_status_fd 6, send_to_mail fd 0,
header 'prstatus', body 'subserver pid 2451
3 died w...'
...
The full log file is available at http://www.egr.unlv.edu/yucca.errs -
it's big, over a meg.
This happens with any banner program, I've tried self-made ones, and the
ones provided (psbanner, etc). All cause the above effect.
Any suggestions/recommendations appreciated.
--
Andrew Gray
Systems Administrator
University of Nevada, Las Vegas - College of Engineering
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------