> > > > I'm trying to upgrade an older lprng installation to LPRng-3.8.0. > > > > I keep getting this error message when I'm trying to print from > > > > workstations: > > > > > > > > Read_file_list: cannot stat required file '/etc/lpd.conf' - No such file > > > > or directory > > > > > > > > The server runs Solaris 6, workstations Solaris 8. We don't run lpd on the > > > > workstations. I put require_configfiles@ and > > > > force_localhost@ in lpd.conf, didn't help. > > > > > > You probably don't want force_localhost@ on the server...just put that on the > > > clients. > > > > We don't run lprng on the clients, only on a central server, so there > > shouldn't be _any_ lprng related files on the workstations. That's the way > > we're running it now with lprng 3.4.1. I had to go back to the old version > > again, since I just could get it to work with 3.8.0. I'll try again soon > > and then you'll probably hear from me again... > > Try using: > > configure --disable-require_configfiles > > This will not cause lpr not to check for the lpd.conf file...
One of the problems I had was I didn't realize that the server and workstations should read different printcaps. Here's the printcaps if someone is interested, they both reside in a shared directory on the server: Workstation printcap: arda :force_localhost@ :[EMAIL PROTECTED] eomer :force_localhost@ :[EMAIL PROTECTED] eonwe :force_localhost@ :[EMAIL PROTECTED] eowyn :force_localhost@ :[EMAIL PROTECTED] problem :force_localhost@ :[EMAIL PROTECTED] saruman :force_localhost@ :[EMAIL PROTECTED] Server lpd_printcap: # /opt/pd/etc/lpd_printcap # # This printer configuration file was created with lprngtool Version 1.3.1 # Any changes made here manually may be lost if lprngtool # is run later on. # # It is NOT advisable to modify this file by hand. To add, modify, or # remove printers, please use 'lprngtool' to avoid corruption. ##LPRNGTOOL## DEVICE filtertype=IFHP ifhp_options=status@,sync@,pagecount@,waitend@ printerdb_entry=postscript arda :force_localhost@ :force_localhost@ :if=/opt/local/lprng/etc/arda.pl :lp=/dev/bpp0 :mx=0 :prefix_z=a4 :rw :sd=/var/spool/lpd/%P :sh ##LPRNGTOOL## SOCKET filtertype=IFHP ifhp_options=tbcp,status,sync@,pagecount@,waitend@ printerdb_entry=postscript eowyn :server :force_localhost@ :filter=/opt/pd/libexec/filters/ifhp :ifhp=model=postscript,tbcp,status,sync@,pagecount@,waitend@ :lprngtooloptions=FILTERTYPE="IFHP" :IFHP_OPTIONS="tbcp,status,sync@,pagecount@,waitend@" PRINTERDB_ENTRY="postscript" :mx=0 :prefix_z=600,a4 :sd=/var/spool/lpd/%P :sh :lp=10.0.0.3%9100 ##LPRNGTOOL## SOCKET filtertype=IFHP ifhp_options=pjl,status,sync=pjl,pagecount=pjl,waitend printerdb_entry=pcl_gs problem :server :force_localhost@ :filter=/opt/pd/libexec/filters/ifhp :force_localhost@ :ifhp=model=pcl_gs,pjl,status,sync=pjl,pagecount=pjl,waitend :lp=10.0.0.6%9100 :lprngtooloptions=FILTERTYPE="IFHP" :IFHP_OPTIONS="pjl,status,sync=pjl,pagecount=pjl,waitend" PRINTERDB_ENTRY="pcl_gs" :mx=0 :prefix_z=600,a4 :sd=/var/spool/lpd/%P :server :sh ##LPRNGTOOL## SOCKET filtertype=IFHP ifhp_options=status,sync@,pagecount,waitend@ printerdb_entry=phaser saruman :server :force_localhost@ :force_localhost@ :if=/opt/pd/libexec/filters/ifhp :ifhp=model=phaser,status,pagecount,dev=10.0.0.5%9100 :lp=/dev/null :lprngtooloptions=FILTERTYPE="IFHP" IFHP_OPTIONS="status,sync@,pagecount,waitend@" :PRINTERDB_ENTRY="phaser" :mx=0 :prefix_z=a4 :sd=/var/spool/lpd/%P :server :sh ##LPRNGTOOL## SOCKET filtertype=IFHP ifhp_options=status,sync@,pagecount@,waitend@ printerdb_entry=postscript eomer :server :filter=/opt/pd/libexec/filters/ifhp :ifhp=model=postscript,status,sync@,pagecount@,waitend@ :lp=10.0.0.4%9100 :lprngtooloptions=FILTERTYPE="IFHP" IFHP_OPTIONS="status,sync@,pagecount@,waitend@" :PRINTERDB_ENTRY="postscript" :mx=0 :prefix_z=a4 :sd=/var/spool/lpd/%P :server :sh ##LPRNGTOOL## SOCKET filtertype=IFHP ifhp_options=tbcp,status,sync@,pagecount@,waitend@ printerdb_entry=postscript eonwe :server :force_localhost@ :filter=/opt/pd/libexec/filters/ifhp :ifhp=model=postscript,tbcp,status,sync@,pagecount@,waitend@ :lp=10.0.0.2%9100 :lprngtooloptions=FILTERTYPE="IFHP" :IFHP_OPTIONS="tbcp,status,sync@,pagecount@,waitend@" PRINTERDB_ENTRY="postscript" :mx=0 :prefix_z=600,a4 :sd=/var/spool/lpd/%P :sh Best regards, Johan Bengtsson -- http://www.dd.chalmers.se/~elijah/ ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
