| Stefan M. Brandl on Tue, 23 Jan 2001 14:54:42 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| apsfilter: can't determine the lpd spool directory |
Hi there,
today I've installed apsfilter-6.0.0 bu t I can't get it top work.
Everytime I try to ptinz something I get the following errormail:
apsfilter fatal error: can't determine the lpd spool directory
Please fix your lpd or stop printing to remote printers
directly.
The logfile says:
+ PATH=/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin
+ VERSION=6.0-devel
+ trap SIGHUP SIGPIPE
+ trap rm -rf "$APS_TMPDIR"; exit $return_code; EXIT
+ trap exit 9 SIGINT SIGTRAP SIGBUS SIGUSR1 SIGUSR2 SIGTERM
+ [ 0 -gt 0 ]
+ unset variable value
+ echo dummy
+ read -r dummy
+ read_r=-r
+ [ -d /etc/apsfilter/basedir ]
++ eval echo ~smb
+++ echo /home/smb
+ HOMEDIR=/home/smb
+ SPOOLDIR=
+ [ ]
+ fatal_spooldir
+ fatal 2 can't determine the lpd spool directory Please fix your lpd or stop printing to remote printers directly.
+ local line
+ [ -w /dev/console ]
+ return_code=2
+ shift
+ echo apsfilter: can't determine the lpd spool directory
apsfilter: can't determine the lpd spool directory
+ echo apsfilter: Please fix your lpd or stop printing to remote printers
apsfilter: Please fix your lpd or stop printing to remote printers
+ echo apsfilter: directly.
apsfilter: directly.
+ send_mail
+ echo To: root
+ echo Subject: apsfilter: can't determine the lpd spool directory
+ echo
+ echo apsfilter fatal error: can't determine the lpd spool directory
+ echo
+ shift
+ old_ifs=
+ IFS=:
+ [ -x /usr/sbin/sendmail ]
+ /usr/sbin/sendmail -oem -t
+ break
+ IFS=
+ exit
+ rm -rf
+ exit 2
I think the problem is, that $SPOOLDIR is empty.
But it's set right in /etc/printcap:
lp|Printer1 auto:\
:lp=:\
:rm=192.168.0.51:\
:rp=:\
:if=/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
Any hints what's going wrong here?
Stefan