Pkgadd Error Error Unable To Acquire Lock On Non-global Zone
known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The pkgadd: error: error: unable to acquire package administration lock for this system; try again later Solaris OS is now owned by Oracle. Search Forums Show
Pkgrm: Error: Unable To Lock Zones To Perform Operations
Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... linux operating commands and unix operating commands Unable to remove package in Solaris-10 Solaris Page 1 of 3 1 23 > Thread Tools Search this Thread Display Modes #1 08-06-2013 solaris_1977 Registered User Join Date: Mar 2011 Last Activity: 16 September 2016, 1:38 PM EDT Posts: 404 Thanks: 39 Thanked 4 Times in 4 Posts Unable to remove package in Solaris-10 I am installing a IBM package (ILMT) on Solaris-10 box, which is having few non global zones. It is not allowing me to remove old package and not allowing me to install new one. Code: root@pqdb_s50:/root# pkgrm ILMT-TAD4D-agent ## Waiting for up to <300> seconds for package administration commands to become available (another user is administering packages on zone ) pkgrm: ERROR: ERROR: Unable to acquire package administration lock for zone ; please try again later pkgrm: ERROR: ERROR: Unable to acquire lock on non-global zone : releasing all locks pkgrm: ERROR: unable to lock zones to perform operations 1 package was not processed! pqdb_s50-zrpp10 is one of its non global zone. I have already deleted /var/sadm/install/.lockfile and /tmp/.ai.pkg.zone.lock-afdb66cf-1dd1-11b2-a049-000d560ddc3e files. But /tmp/.ai.pkg.zone.lock-afdb66cf-1dd1-11b2-a049-000d560ddc3e keeps coming back, whenever I am running pkgrm. How should I remove this ? Remove advertisements Sponsored Links solaris_1977 View Public Profile Find all posts by solaris_1977 #2 08-
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
this http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2010-09/msg00114.html command: root@server# pkgrm PKG ## Waiting for up to <300> seconds for package administration commands to become available (another user is http://www.mail-archive.com/solaris-users@filibeto.org/msg01712.html administering packages on zone ) pkgrm: ERROR: ERROR: Unable to acquire package administration lock for zone ; please try again unable to later pkgrm: ERROR: ERROR: Unable to acquire lock on non-global zone : 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 unable to acquire 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? . Follow-Ups: Re: pkg commands don't work. unable to lock zones to perform operations From: Alex Zhang Prev by Date: Re: lp commands take a while to execute Next by Date: ipp-listener service dying Previous by thread: Need help in setting up basic IP static connection at a Solaris 10 server ***Beginner Question*** Next by thread: Re: pkg commands don't work. unable to lock zones to perform operations Index(es): Date Thread Flag as inappropriate (AWS) Security UNIX Linux Coding Usenet Mailing-ListsNewsgroupsAboutPrivacyImprint unix.derkeiler.com >Newsgroups >comp.unix.solaris >2010-09
> pkgadd or pkgrm of any package it complains about not being able to do > it on the non-global zone, and therefore fails for the global zone as well: > > ## Waiting for up to <300> seconds for package administration commands > to become available (another user is administering packages on zone ) > pkgadd: ERROR: Unable to acquire package administration lock for zone > ; please try again later > pkgadd: ERROR: Unable to acquire lock on non-global zone : > releasing all locks > pkgadd: ERROR: unable to lock zones to perform operations > > I checked to make sure there are no lock files in either /tmp or > /var/sadm/pkg on both zones. > > I can do a pkgadd with the -G option (global zone only), but I'm trying > to install a large application from a vendor so it's impractical to > trace every one of their install scripts and find where it does a > pkgadd. Plus there's no -G option to pkgrm so I can never uninstall > (not even packages that were installed with -G to begin with.) > > We have plenty of S10 machines running non-global zones and this is only > a problem on this one machine. Can't find any mention of it on Sun's > web site or Google. > > Any help would be greatly appreciated. > > Thanks, > Dan > _______________________________________________ hello Dan, i recently had a similar problem with the staroffice update 2 patch. i was trying to install the patch from a directory deep within my home dir - i tried then and moved the patch in / (also tried /tmp) and the installation proceeded successfully. i am not sure what exactly causes the problem and if this "fix" will work for you too but you can give it a try. the particular machine was solaris 10 3/05 x86. greetings, Stoyan _______________________________________________ Solaris-Users mailing list Solaris-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/solaris-users Previous message View by thread View by date Next message [Solaris-Users] pkgadd zone locks in S10 Dan Klinedinst Re: [Solaris-Users] pkgadd zone locks in S10 Stoyan Angelov Re: [Solaris-Users] pkgadd zone locks in S10 Stoyan Angelov Reply via email to Search the site The Mail Archive home solaris-users - all messages solaris-users - about the list Expand Previous message Next message The Mail Archive home Add your mailing list FAQ Support Privacy 443548EC.8050700@filibeto.org