From the global zone I run this command: root@server# pkgrm
PKG
## Waiting for up to <300> seconds for package administration commands
to become available (another user is administering packages on zone
<uschi1fip02>)
pkgrm: ERROR: ERROR: Unable to acquire package administration lock for
zone <uschi1fip02>; please try again later
pkgrm: ERROR: ERROR: Unable to acquire lock on non-global zone
<uschi1fip02>: releasing all locks
pkgrm: ERROR: unable to lock zones to perform operations
1 package was not processed!
root@server #
I zlogin to the zone being mentioned and do a ps -ef and there is no
process running a package command, there is one perl script running
and I do a grep pk on that perl script and comes up with nothing.
Any idea?
Could you shutdown this zone?
I am trying to find downtime for this - is there any other way. I ran
into the same problem while trying to install the package, but pkgadd
has a nice option -G which installs only in the global zone,
unfortunately pkgrm does not have any such option.
It was a bad idea to install HP's printing software on
a production system without testing first.
After you obtain downtime and remove the package, run pkgchk(1M)
to confirm that HP's bits didn't horrifically mangle your system.
But before you run, pkgchk(1M) on your production system,
read the fine manual and try it on a test system.
John
groe...@acm.org
I did test it on a system. I did not realize pkgrm won't work on the
production system
Did lpstat(1) hang on your test system?
Did HP's package fail to pkgrm(1M) on your test system?
Once you repair your production system, try configuring
printing on your test system:
First, pkgrm(1M) HP's package.
Then run pkgchk(1M) to confirm that HP's package didn't
obviously foobar your test system.
Then install SUNWfppd SUNWffiltersu SUNWffiltersr from
your Solaris 10 installation media.
Then configure the printer per my prior post:
Message-ID: <i5pnld$h85m$1...@tr22n12.aset.psu.edu>
John
groe...@acm.org
I deleted the printers on the print server and then reinstalled them -
this took c
a re of the long wait time problem, now commands like lpstat do not
take any time at qall.
Also I was working on another system and could successfully install
the printer, so it seems the software does work