HP jetdirect/hppi software on recent systems error

"Pitts, Brian" <[email protected]> Fri, 21 Dec 2012 19:06:16 +0000
Newsgroups gmane.os.solaris.managers
Message-ID <453001211515AE49B5FA817140BF8EDC1141A946@NDHEP50002.na.corp.mckesson.com>
I'm sure you found the solution to this problem by now, but in case you
haven't, try the following...



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

cd /opt/hpnpl/admin

mkdir backup

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 found this at
http://www.thegeekblog.co.uk/the-geek-blog/2012/11/7/hppi-not-working-on-sola
ris-10.html.