Unix administration - Re: no lpadmin

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2007 > Re: no lpadmin





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: no lpadmin
jammer

2007-11-27, 7:21 pm

On Nov 26, 5:06 pm, Doug Freyburger <dfrey...@yahoo.com> wrote:
> jammer <jamesloc...@mail.com> wrote:
>
>
>
>
>
> -bash-3.00$ grep /usr/lib/lpadmin /var/sadm/install/contents
> /usr/lib/lpadmin=../sbin/lpadmin s none SUNWpcu
> -bash-3.00$ grep /usr/sbin/lpadmin /var/sadm/install/contents
> /usr/sbin/lpadmin f none 0555 root lp 8953 42052 1106350196 SUNWpcu
>
> It's in package SUNWpcu on my system. You could install that package.
>
> If you want to be very gross, create the queue on a system with
> lpadmin,
> tar directory /var/spool/lp, copy the tar file to this host, extract
> to clone
> all of the queues. Likely not what you want to do but sometimes brute
> force works fine.


I don't think any of our Solaris boxes print. :-(
$ ls /etc/lp
/etc/lp: No such file or directory

I installed SUNWpcu and SUNWpcr (dependency) but something else must
must be missing.
lpadmin works but I get:

$ lpstat
Printer: hplj@xxx - ERROR: spool queue for 'hplj' does not exist on
server xxx.xxxx
check for correct printer name or you may need to run 'checkpc -f' to
create queue

I ran that but I still don't have a queue (or clue).
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com