Did you upgrade the server OS or LPRng?

If you upgraded the OS, the LPRng executables were probably overwritten by
the upgrade.

Rename the stock lp executables and re-create the symbolic links to the
LPRng files, and
you're back in business.

On my OpenBSD 3.x boxen, I've created a file, lppostup to do just that:

-------------------------------------
cd /usr/bin
mv lp lp.org
mv lpq lpq.org
mv lpr lpr.org
mv lprm lprm.org
mv lpstat lpstat.org
cd /usr/sbin
mv lpc lpc.org
mv lpd lpd.org
mv lpracct lpracct.org
ln -s /usr/local/bin/lp /usr/bin/lp
ln -s /usr/local/bin/lpq /usr/bin/lpq
ln -s /usr/local/bin/lpr /usr/bin/lpr
ln -s /usr/local/bin/lprm /usr/bin/lprm
ln -s /usr/local/bin/lpstat /usr/bin/lpstat
ln -s /usr/local/sbin/lpc /usr/sbin/lpc
ln -s /usr/local/sbin/lpd /usr/sbin/lpd
ln -s /usr/local/sbin/lpraccnt /usr/sbin/lpraccnt

----------------------------------------

Kill the running lpd.

Validate the source/destination dirs on your servers;
change the entries in lppostup to the correct ones;
set lppostup to executable, and run ./lppostup.

Run lpd, then lpc --help to see if LPRng is running.

Hope this helps.

Jim

-----Original Message-----
From: Sam Warren [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 12:50 PM
To: LPRng
Subject: LPRng: Emergency!


I am in a real bind! I upgraded my server yesterday and now my lpd server
isn't working. I need to copy the files out to a different print server. The
files are in the que folders. How can I ftp them or otherwise move them to a
different lprng print server que? lpc move does not work. Thanks!
                                       


Sam Warren, Jr. 

Computer Technician
Winnebago Industries
641-585-3535 ext. 7785

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to