Hi,
I tried it and it does not work.
I tried this command and I get these messages:
lppchk -c
lppchk: 0504-208 Size of /usr/lib/lpd/digest is 44634,
expected value was 44874.
lppchk: 0504-208 Size of /usr/lib/lpd/qstatus is 60220,
expected value was 60236.
lppchk: 0504-212 The checksum for file /usr/lib/lpd/rembak is 44075,
expected value is 49331.
lppchk: 0504-208 Size of /usr/lib/lpd/pio/etc/piodigest is 126236,
.....
There is a lot of lines located in /usr/lib/lpd
Quote:
Originally Posted by
homeyjoe
Well I think I'd delete all of the files/queues and then start over.
Here are the steps I do when I have to migrate print queues from one machine to another. I don't recall ever having an issue after doing these steps.
1. Copy /etc/qconfig file over to new system
2. Refresh the qconfig file by typing, "enq -d"
3. Copy /var/spool/lpd/pio/@local/custom files to new system
4. Copy /var/spool/lpd/pio/@local/dev files to new system
5. Copy /var/spool/lpd/pio/@local/ddi files to new system
6. Copy /etc/hosts file to new system
7. vi qmigrate.sh and paste in the following
#!/bin/ksh
cp /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit/* \
/var/spool/lpd/pio/@local/smit
cd /var/spool/lpd/pio/@local/custom
chmod 775 /var/spool/lpd/pio/@local/custom
for file in `ls`
do
chmod 664 $file
QNAME=`echo $file | cut -d':' -f1`
DEVICE=`echo $file | cut -d':' -f2`
chvirprt -q $QNAME -d $DEVICE
done
8. chmod 700 qmigrate.sh
9. ./qmigrate.sh
10. Test print queue(s)