1849383 Members
5369 Online
104044 Solutions
New Discussion

Printers Whacked

 
SOLVED
Go to solution
Bill Brutzman
Frequent Advisor

Printers Whacked

In trying to replicate printers from an old box to a new HP-Ux box, I made the mistake of doing an rcp (remote copy) of /dev/* on the old box to /dev/* on the new box.

Now, SAM on both boxes see no printers.

Of course, I would rather not re-install HP-Ux, especially on the old box.

The old HP-Ux is version 10.01
The new HP-Ux is version 11i ver 2

The old box is the LIVE unit. I back-up the old to the new each day, disk-to-disk. I have some backup tapes for the old box.

Suggestions would be appreciated.

4 REPLIES 4
john kingsley
Honored Contributor
Solution

Re: Printers Whacked

Try running insf -e

This will recreate your device files.
Bill Brutzman
Frequent Advisor

Re: Printers Whacked


Yes... insf -e worked on the new box.

I regret that it did not work on the old box. I had rebooted the new box since making the change.

More help is needed by me...
Bill Hassell
Honored Contributor

Re: Printers Whacked

If you copied *ALL* of /dev and all the subdirectories between the machines, you may have a complete mess on your hands. 10.01 and 11i v2 are so radically different (and of course, the hardware too) that almost nothing in /dev will be compatible. If your machine hasn't crashed yet, try to restore /dev from yesterday's backup. Device files not refer to ultra-simple devices like printers (and their drivers) but very complex relationships with LVM and networking. insf -e will discover new devices but will not cleanup the problems in /dev/vg00.


Bill Hassell, sysadmin
Bill Brutzman
Frequent Advisor

Re: Printers Whacked

.