After applying the most recent patchset to a couple of old Solaris 10 servers, a small issue occured when the hppi utility we used to add printers etc suddenly stopped working. Whenever we tried to run it we were getting
ERROR: machine architecture unknown, cannot continue
Luckily we managed to get this working again, very easily by following the steps below.
First off you need to find your current platform, you can get this from running uname -a or uname -m. For this example I am using sun4v.
Then as ROOT run the following commands
cp -rp * ./backup
perl -pi -e 's/solaris/sun4v/g' *
mv option6solaris option6sun4v
After you have follwed these steps, you should be able to use the app once more.
I am always interested in your thoughts so if you have any comments or feedback then please feel free to add any comments, or you can mail me here.