Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Wilbur Burns" <slug@wmbinc.com>
Subject: LPRng Problems with install
Date: 2000/02/08	[thread overview]
Message-ID: <87paqh$cip$1@newsread.stdio.com> (raw)

I am running Redhat 6.0 on an Alpha Multia computer.  I am trying to use
this as a print server for a small office network (20-30 Computers mostly
NT).  I started out using BSD Style printing , but determined that due to
security problems, I could not control the print queues from NT box using
Samba.  Therefore, I have been on a search for a better printing system.
After some research, I have decided to try LPRng.  This is where the real
problem begins.  I have downloaded the source and compiled and installed the
Daemons and commands with make and make install.  No errors occurred at this
time and all seemed fine.  As I contnued through the Howto on setting it up,
I get to where I must start the new lpd daemon, and it fails with a
"segmentation fault" in lpd.conf.  I really have no idea what this means,
therefore, I don't know how to fix the problem.  I have spent a couple of
days going through this multiple times and now i really need to get this
fixed.  I have run "checkpc" and did not receive any errors.

This is the message I get when trying to start the lpd daemon with LPRng.
Oh by the way,  the version is LPRng-3.6.12
[root@penguin civ-cliff]# /usr/local/sbin/lpd -F -D1
2000-02-08-09:59:51 [5860] lpd  Initialize: starting
2000-02-08-09:59:51 [5860] lpd  Initialize: /dev/null fd 5
2000-02-08-09:59:51 [5860] lpd  initsetproctitle: doing setup
2000-02-08-09:59:51 [5860] lpd  initsetproctitle: Argv 0x11ffffc78, LastArgv
0x11fffffe3
2000-02-08-09:59:51.347 [5860] lpd  Setup_configuration: starting,
Allow_getenv0
2000-02-08-09:59:51.349 [5860] lpd  Setup_configuration: Configuration file
'/usr/local/etc/lpd.conf'
Segmentation fault
[root@penguin civ-cliff]#

Also, here is my lpd.conf file

# lpd.conf generated from Makefile on Thu Feb  3 15:34:05 EST 2000
#   The values in this file are the default values.
#   If you modify the file,  set the value to something other than the
default
#   For example,
#     # default force_localhost
#   means the 'force_localhost' option default value is on or 1
#   To set it to OFF or 0, change this to read:
#     force_localhost@

# Purpose: always print banner, ignore lpr -h option
#   default ab@ (FLAG off)
# Purpose: query accounting server when connected
#   default achk@ (FLAG off)
# Purpose: accounting at end (see also af, la, ar, as)
#   default ae=jobend $H $n $P $k $b $t  (STRING)
# Purpose: name of accounting file (see also la, ar)
#   default af=acct  (STRING)
# Purpose: automatically hold all jobs
#   default ah@ (FLAG off)
# Purpose: Allow duplicate command line arguments (legacy requirement)
#   default allow_duplicate_args  (FLAG on)
# Purpose: Allow use of LPD_CONF environment variable
#   default allow_getenv@ (FLAG off)
# Purpose: allow users to request logging info using lpr -mhost%port
#   default allow_user_logging@ (FLAG off)
# Purpose: allow these users or UIDs to set owner of job.  For Samba front
ending
#   default allow_user_setting=  (STRING)
# Purpose: write remote transfer accounting (if af is set)
#   default ar  (FLAG on)
# Purpose: host architecture
#   default architecture=alpha   (STRING)
# Purpose: accounting at start (see also af, la, ar)
#   default as=jobstart $H $n $P $k $b $t  (STRING)
# Purpose: authentication type to use to send to server
#   default auth=  (STRING)
# Purpose: client to server authentication filter
#   default auth_client_filter=  (STRING)
# Purpose: authentication for forwarding
#   default auth_forward=  (STRING)
# Purpose: server to server authentication remote server id
#   default auth_forward_id=  (STRING)
# Purpose: server to server authentication transfer filter
#   default auth_forward_filter=  (STRING)
# Purpose: authentication server send filter
#   default auth_receive_filter=  (STRING)
# Purpose: authentication server id
#   default auth_server_id=  (STRING)
# Purpose: end banner printing program overides bp
#   default be=  (STRING)
# Purpose: Berkeley LPD: job file strictly RFC-compliant
#   default bk@ (FLAG off)
# Purpose: Berkeley LPD filter options
#   default bk_filter_options=$P $w $l $x $y $F $c $L $i $J $C $0n $0h $-a
(STRING)
# Purpose: Berkeley LPD OF filter options
#   default bk_of_filter_options=$w $l $x $y  (STRING)
# Purpose: backwards-compatible filters: use simple paramters
#   default bkf@ (FLAG off)
# Purpose: short banner line sent to banner printer
#   default bl=$-C:$-n Job: $-J Date: $-t  (STRING)
# Purpose: banner printing program (see bs, be)
#   default bp=  (STRING)
# Purpose: use filters on bounce queue files
#   default bq=  (STRING)
# Purpose: format for bounce queue output
#   default bq_format=l  (STRING)
# Purpose: if lp is a tty, set the baud rate (see ty)
#   default br=0  (INTEGER)
# Purpose: do not set priority from class name
#   default break_classname_priority_link@ (FLAG off)
# Purpose: banner printing program overrides bp
#   default bs=  (STRING)
# Purpose: check for nonprintable file
#   default check_for_nonprintable  (FLAG on)
# Purpose: check for RFC1179 protocol violations
#   default check_for_protocol_violations@ (FLAG off)
# Purpose: check for idle printer
#   default check_idle=  (STRING)
# Purpose: show classname in status display
#   default class_in_status@ (FLAG off)
# Purpose: comment identifying printer (LPQ)
#   default cm=  (STRING)
# Purpose: configuration file
#   default config_file= /usr/local/etc/lpd.conf   (STRING)
# Purpose: connection control for remote printers
#   default connect_grace=0  (INTEGER)
# Purpose: connection control for remote printers
#   default connect_interval=10  (INTEGER)
# Purpose: connection control for remote printers
#   default connect_timeout=10  (INTEGER)
# Purpose: control file filter
#   default control_filter=  (STRING)
# Purpose: create files in spool directory
#   default create_files@ (FLAG off)
# Purpose: debug level set for queue handler
#   default db=  (STRING)
# Purpose: default job format
#   default default_format=f  (STRING)
# Purpose: default permission for files
#   default default_permission=ACCEPT  (STRING)
# Purpose: default printer
#   default default_printer=missingprinter  (STRING)
# Purpose: printer for lpd to use when not in printcap
#   default default_printer_when_unknown=  (STRING)
# Purpose: default job priority
#   default default_priority=A  (STRING)
# Purpose: default remote host
#   default default_remote_host=localhost  (STRING)
# Purpose: default temp directory for temp files
#   default default_tmp_dir=/tmp  (STRING)
# Purpose: printers that a route filter may return and we should query
#   default destinations=  (STRING)
# Purpose: list of keys used to search config for environment variable setup
#   default env_names=  (STRING)
# Purpose: exit linger timeout to wait for socket to close
#   default exit_linger_timeout=600  (INTEGER)
# Purpose: string to send for a form feed
#   default ff=\\f  (STRING)
# Purpose: default filter
#   default filter=  (STRING)
# Purpose: filter LD_LIBRARY_PATH value
#   default filter_ld_path=/lib:/usr/lib:/usr/5lib:/usr/ucblib  (STRING)
# Purpose: filter options
#   default filter_options=$C $A $F $H $J $K $L $P $Q $R $Z $a $c $d $e $f
$h $i $j $k $l $n $p $r $s $w $x $y $-a  (STRING)
# Purpose: filter PATH environment variable
#   default
filter_path=/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/sbin:/usr/etc:/etc
(STRING)
# Purpose: interval at which to check OF filter for error status
#   default filter_poll_interval=30  (INTEGER)
# Purpose: print a form feed when device is opened
#   default fo@ (FLAG off)
# Purpose: force FQDN HOST value in control file
#   default force_fqdn_hostname@ (FLAG off)
# Purpose: force clients to send all requests to localhost
#   default force_localhost  (FLAG on)
# Purpose: force lpq status format for specified hostnames
#   default force_lpq_status=  (STRING)
# Purpose: force use of this queuename if none provided
#   default force_queuename=  (STRING)
# Purpose: print a form feed when device is closed
#   default fq@ (FLAG off)
# Purpose: full or complete time format
#   default full_time@ (FLAG off)
# Purpose: valid output filter formats
#   default fx=  (STRING)
# Purpose: generate a banner when forwarding job
#   default generate_banner@ (FLAG off)
# Purpose: group to run SUID ROOT programs
#   default group=daemon  (STRING)
# Purpose: print banner after job instead of before
#   default hl@ (FLAG off)
# Purpose: filter command, run on a per-file basis
#   default if=  (STRING)
# Purpose: ignore requested user priority
#   default ignore_requested_user_priority@ (FLAG off)
# Purpose: Running IPV6
#   default ipv6@ (FLAG off)
# Purpose: TCP keepalive enabled
#   default keepalive  (FLAG on)
# Purpose: keytab file location for kerberos, used by server
#   default kerberos_keytab=/etc/lpd.keytab  (STRING)
# Purpose: key lifetime for kerberos, used by server
#   default kerberos_life=  (STRING)
# Purpose: key renewal time for kerberos, used by server
#   default kerberos_renew=  (STRING)
# Purpose: remote server principal for server to server forwarding
#   default kerberos_forward_principal=  (STRING)
# Purpose: remote server principle, overides default
#   default kerberos_server_principal=  (STRING)
# Purpose: default service
#   default kerberos_service=lpr  (STRING)
# Purpose: write local printer accounting (if af is set)
#   default la  (FLAG on)
# Purpose: leader string printed on printer open
#   default ld=  (STRING)
# Purpose: error log file (servers, filters and prefilters)
#   default lf=log  (STRING)
# Purpose: lock the IO device
#   default lk@ (FLAG off)
# Purpose: lpd lock file
#   default lockfile=/var/run/lpd  (STRING)
# Purpose: where to send status information for logging
#   default logger_destination=  (STRING)
# Purpose: maximum size in K of logger file
#   default logger_max_size=0  (INTEGER)
# Purpose: path of file to hold logger information
#   default logger_path=  (STRING)
# Purpose: timeout between connection attempts to remote logger
#   default logger_timeout=0  (INTEGER)
# Purpose: use long job number when a job is submitted
#   default longnumber@ (FLAG off)
# Purpose: device name or lp-pipe command to send output to
#   default lp=  (STRING)
# Purpose: force lpd to filter jobs (bounce) before sending to remote queue
#   default lpd_bounce@ (FLAG off)
# Purpose: force a poll operation
#   default lpd_force_poll@ (FLAG off)
# Purpose: lpd pathname for server use
#   default lpd_path=  (STRING)
# Purpose: interval in secs between starting up all servers
#   default lpd_poll_time=600  (INTEGER)
# Purpose: lpd port
#   default lpd_port=printer  (STRING)
# Purpose: lpd printcap path
#   default lpd_printcap_path= /usr/local/etc/lpd_printcap   (STRING)
lpd_printcap_path= /etc/printcap

# Purpose: use lpr filtering as in bounce queue
#   default lpr_bounce@ (FLAG off)
# Purpose: BSD LPR -m flag, does not require mail address
#   default lpr_bsd@ (FLAG off)
# Purpose: from address to use in mail messages
#   default mail_from=  (STRING)
# Purpose: mail to this operator on error
#   default mail_operator_on_error=  (STRING)
# Purpose: maximum connection interval
#   default max_connect_interval=60  (INTEGER)
# Purpose: maximum log file size in Kbytes
#   default max_log_file_size=1000  (INTEGER)
# Purpose: maximum number of servers that can be active
#   default max_servers_active=0  (INTEGER)
# Purpose: maximum length of status line
#   default max_status_line=79  (INTEGER)
# Purpose: maximum size (in K) of status file
#   default max_status_size=10  (INTEGER)
# Purpose: maximum copies allowed
#   default mc=1  (INTEGER)
# Purpose: minimum log file size in Kbytes
#   default min_log_file_size=0  (INTEGER)
# Purpose: minimum status file size in Kbytes
#   default min_status_size=0  (INTEGER)
# Purpose: minimum amount of free space needed in K bytes
#   default minfree=0  (INTEGER)
# Purpose: minimum number of printable characters for printable check
#   default ml=0  (INTEGER)
# Purpose: millisecond time resolution
#   default ms_time_resolution  (FLAG on)
# Purpose: maximum job size (1Kb blocks, 0 = unlimited)
#   default mx=0  (INTEGER)
# Purpose: use nonblocking open
#   default nb@ (FLAG off)
# Purpose: connection control for remote network printers
#   default network_connect_grace=0  (INTEGER)
# Purpose: N line after cfA000... line in control file
#   default nline_after_file@ (FLAG off)
# Purpose: output filter, run once for all output
#   default of=  (STRING)
# Purpose: OF filter options
#   default of_filter_options=  (STRING)
# Purpose: orginate connections from these ports
#   default originate_port=512 1023  (STRING)
# Purpose: if client, pass these environment variables
#   default pass_env=PGPPASS,PGPPATH,PGPPASSFD  (STRING)
# Purpose: lpd.perms files
#   default perms_path= /usr/local/etc/lpd.perms   (STRING)
# Purpose: pathname of PGP program
#   default pgp_path=  (STRING)
# Purpose: client passphrase file for built in PGP authentication
#   default pgp_passphrasefile=clientkey  (STRING)
# Purpose: server passphrasefile PGP authentication
#   default pgp_server_passphrasefile=  (STRING)
# Purpose: page length (in lines)
#   default pl=66  (INTEGER)
# Purpose: pr program for p format
#   default pr=/bin/pr  (STRING)
# Purpose: /etc/printcap files
#   default printcap_path= /usr/local/etc/printcap   (STRING)
printcap_path= /etc/printcap

# Purpose: printer status file name
#   default ps=status  (STRING)
# Purpose: page width (in characters)
#   default pw=80  (INTEGER)
# Purpose: page width in pixels (horizontal)
#   default px=0  (INTEGER)
# Purpose: page length in pixels (vertical)
#   default py=0  (INTEGER)
# Purpose: print queue lock file name
#   default queue_lock_file=%P  (STRING)
# Purpose: print queue control file name
#   default queue_control_file=control.%P  (STRING)
# Purpose: print queue status file name
#   default queue_status_file=status.%P  (STRING)
# Purpose: print queue unspooler pid file name
#   default queue_unspooler_file=unspooler.%P  (STRING)
# Purpose: put queue name in control file
#   default qq  (FLAG on)
# Purpose: operations allowed to remote host
#   default remote_support=RMQVC  (STRING)
# Purpose: report server as this value for LPQ status
#   default report_server_as=  (STRING)
# Purpose: client requires lpd.conf, printcap
#   default require_configfiles  (FLAG on)
# Purpose: retry on ECONNREFUSED error
#   default retry_econnrefused  (FLAG on)
# Purpose: retry on NOLINK connection
#   default retry_nolink  (FLAG on)
# Purpose: return short status when specified remotehost
#   default return_short_status=  (STRING)
# Purpose: set SO_REUSEADDR on outgoing ports
#   default reuse_addr@ (FLAG off)
# Purpose: reverse LPQ status format when specified remotehost
#   default reverse_lpq_status=  (STRING)
# Purpose: reverse priority order, z-aZ-A, so A is lowest
#   default reverse_priority_order@ (FLAG off)
# Purpose: remote-queue machine (hostname) (with rp)
#   default rm=  (STRING)
# Purpose: routing filter, returns destinations
#   default router=  (STRING)
# Purpose: remote-queue printer name (with rp)
#   default rp=  (STRING)
# Purpose: open the printer for reading and writing
#   default rw@ (FLAG off)
# Purpose: additional safe characters to use in control files
#   default safe_chars=  (STRING)
# Purpose: save job when an error
#   default save_on_error@ (FLAG off)
# Purpose: save job when done
#   default save_when_done@ (FLAG off)
# Purpose: short banner (one line only)
#   default sb@ (FLAG off)
# Purpose: spool directory (only ONE printer per directory!)
#   default sd=  (STRING)
# Purpose: send block of data, rather than individual files
#   default send_block_format@ (FLAG off)
# Purpose: send data files first, then control file
#   default send_data_first@ (FLAG off)
# Purpose: failure action to take after send_try attempts failed
#   default send_failure_action=remove  (STRING)
# Purpose: timeout for read/write lpr IO operatons
#   default send_job_rw_timeout=6000  (INTEGER)
# Purpose: timeout for read/write status or control operatons
#   default send_query_rw_timeout=30  (INTEGER)
# Purpose: numbers of times to try sending job - 0 is infinite
#   default send_try=3  (INTEGER)
# Purpose: sendmail program
#   default sendmail=/usr/sbin/sendmail -oi -t  (STRING)
# Purpose: server temporary file directory
#   default server_tmp_dir=/tmp  (STRING)
# Purpose: suppress form feeds separating multiple jobs
#   default sf@ (FLAG off)
# Purpose: suppress headers and/or banner page
#   default sh@ (FLAG off)
# Purpose: SHELL enviornment variable value for filters
#   default shell=/bin/sh  (STRING)
# Purpose: short status date enabled or disabled
#   default short_status_date  (FLAG on)
# Purpose: short status length in lines
#   default short_status_length=3  (INTEGER)
# Purpose: set the SO_LINGER socket option
#   default socket_linger=10  (INTEGER)
# Purpose: spool directory permissions
#   default spool_dir_perms=000700  (INTEGER)
# Purpose: spool file permissions
#   default spool_file_perms=000600  (INTEGER)
# Purpose: amount to spread jobs to avoid collisions
#   default spread_jobs=0  (INTEGER)
# Purpose: name of queue that server serves (with sv)
#   default ss=  (STRING)
# Purpose: stalled job timeout
#   default stalled_time=120  (INTEGER)
# Purpose: stop processing queue on filter abort
#   default stop_on_abort@ (FLAG off)
# Purpose: stty commands to set output line characteristics
#   default stty=  (STRING)
# Purpose: names of servers for queue (with ss)
#   default sv=  (STRING)
# Purpose: name of syslog device
#   default syslog_device=/dev/console  (STRING)
# Purpose: trailer string to print when queue empties
#   default tr=  (STRING)
# Purpose: translate format from one to another - similar to tr(1) utility
#   default translate_format=  (STRING)
# Purpose: put date in control file
#   default use_date  (FLAG on)
# Purpose: put identifier in control file
#   default use_identifier  (FLAG on)
# Purpose: read and cache information
#   default use_info_cache  (FLAG on)
# Purpose: put queue name in control file
#   default use_shorthost@ (FLAG off)
# Purpose: server user for SUID purposes
#   default user=daemon  (STRING)
# Purpose: wait for EOF on device before closing
#   default wait_for_eof  (FLAG on)


Any input on this would be greatly appreciated, as printing has come to a
halt at my office and I must get this fixed.  I would go back to BSD style
printing, but I can't seem to get it going again either...HEEEELLLLPPP
PPPPLLLLEEEAAASSSEE.

Thank you,
Cliff Planck
cliff @ wmbinc.com





                 reply	other threads:[~2000-02-08  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox