Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 12:28:36 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>, <freebsd-questions@FreeBSD.ORG>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: LPD problems in 4.4-STABLE
Message-ID:  <p05101009b7cd21d60c46@[128.113.24.47]>
In-Reply-To: <20010918160249.R5704-100000@klima.physik.uni-mainz.de>
References:  <20010918160249.R5704-100000@klima.physik.uni-mainz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:09 PM +0200 9/18/01, Hartmann, O. wrote:
>Each normal user is able to use 'lpq' on each machine and gets a report
>of the status of the standard print-queue or the appropriate selected
>queue. Only root is not able to connect to the lpd! 'lpq' reports
>
>	lpq: Unable to contact server!
>
>but the server daemon is running! The same to 'lpc'. Users are able to
>administer their jobs with lpc, but global administration by root with
>lpc is not possible. 'lpc' hangs for a while, then shows up the 
>lpc-prompt but with a harsh limited set of options (quit, status
>and help). 'status' shows nothing, no queue, no job.
>
>Well, it sounds very strange that only root is excluded from access
>to the lpd. Please help.

I am not aware of any change to lpc, lpd, or lpq which would result
in this behavior.  This is very strange behavior.

My first guess is to find out if root is running the same version
of 'lpq' and 'lpc' as the users who can do these commands.  If your
user's shell is csh or tcsh, then type 'which lpq'.  If the shell
is sh, bash, or ksh, then type 'type lpq' (or maybe 'type -a lpq').

I am thinking that perhaps you have something like 'lprNG' installed,
and maybe root is getting the standard BSD versions of lpc/lpq,
while other users are getting the versions which match lprNG.
Also do this same check on the 4.3 machines where everything is
working.  Perhaps someone had created symlinks from the standard
locations of lpc/lpq to the lprNG versions.

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101009b7cd21d60c46>