Method Error /usr/lib/methods/undefine
Contents |
Likes 0 Comments 0 GPFS missing /var/mm... Blog: mkm's IBM blo... mkemalm 270004S7YD Updated Likes 0 Comments 0 Hacking cloud-init o... Blog: Chris's AIX B... cggibbo 270000TMUJ Updated 0514-061 cannot find a child device Likes 0 Comments 2 Running the Virtual ... Blog: Chris's AIX B... cggibbo
0514-062 Cannot Perform The Requested Function Because The Specified Device Is Busy.
270000TMUJ Updated Likes 0 Comments 0 Using NIM to distrib... Blog: Chris's AIX B... cggibbo 270000TMUJ Updated Likes 0 Comments 2 ▼ Archive September 2016August 2016May 2016April 2016March 2016December 2015November 2015October 2015August 2015July 2015April 2015January 2015December 2014November 2014October 2014September 2014August 2014July 2014March 2014February 2014December 2013November 2013October 2013September 2013August 2013July 2013June 2013April 2013February 2013January 2013December 2012November 2012October 2012September 2012August 2012July 2012June 2012May 2012March 2012February 2012January 2012December 2011November 2011October 2011September 2011August 2011July 2011June 2011May 2011April 2011March 2011February 2011January 2011December 2010November 2010October 2010September 2010August 2010July 2010June 2010May 2010April 2010March 2010February 2010January 2010December 2009November 2009October 2009September 2009August 2009July 2009 ▼ Blog Authors Chris's AIX Blog Updating AIX Virtual SCSI adapter attributes without an outage cggibbo 270000TMUJ | | Tags:  vscsi cfgmgr gibson chdev aix chris rmpath lspath | 5 Comments | 22,199 Views Need to update the running attributes of a virtual SCSI adapter on an AIX system? Try these steps. I want to change value for the vscsi_err_recov attribute to fast_fail. I can’t do this if the adapter is busy i.e. has open/available paths to a disk device. # lsattr -El vscsi2 vscsi_err_recov delayed_fail N/A True vscsi_path_to 0 Virtual SCSI Path Timeout True # chdev -l vscsi2 -a vscsi_err_recov=fast_fail Method error (/usr/lib/methods/chggen): 0514-029 Cannot perform the requested function because a child device of the specified device is not in a correct state. I have two paths to my disk devices. This will allow me to take one path offline while I change the attributes of the adapter. # lspath | grep vscsi2 Enabled hdisk4 vscsi2 Enabled hdisk5 vscsi2 # rmpath -l hdisk4 -p vscsi2 path Defined # rmpath -l hdisk5 -p vscsi2 path Defined # lspath | grep vscsi2 Defined hdisk4 vscsi2 Defined hdisk5 vscsi
Benefits Sample reports Trial version Contact Us Topics: AIX, System AdministrationUnconfiguring child objectsWhen removing a device on AIX, you may run into a message saying that a child device is not in a correct state. For example: # rmdev -dl fcs3 Method error (/usr/lib/methods/ucfgcommo): 0514-029 Cannot perform the requested function because a child device of the specified device is not in a correct state. To determine what the child devices are, use the -p option of the lsdev command. From the man https://www.ibm.com/developerworks/community/blogs/cgaix/entry/updating_aix_virtual_scsi_adapter_attributes_without_an_outage page of the lsdev command: -p Parent Specifies the device logical name from the Customized Devices object class for the parent of devices to be displayed. The -p Parent flag can be used to show the child devices of the given Parent. The Parent argument to the -p flag may contain the same wildcard charcters that can be used with http://www.aixhealthcheck.com/blog?id=332 the odmget command. This flag cannot be used with the -P flag. For example: # lsdev -p fcs3 fcnet3 Defined 07-01-01 Fibre Channel Network Protocol Device fscsi3 Available 07-01-02 FC SCSI I/O Controller Protocol Device To remove the device, and all child devices, use the -R option. From the man page for the rmdev command: -R Unconfigures the device and its children. When used with the -d or -S flags, the children are undefined or stopped, respectively. The command to remove adapter fcs3 and all child devices, will be: # rmdev -Rdl fcs3 Order No time to lose? Need to know what's wrong with your AIX system now? Get started TODAY! Topics AIX (224)Backup & restore (35)DB2 (6)EMC (13)EMC Networker (3)Fun (3)GPFS (10)Hardware (9)HMC (14)HP Output Server (17)IBM Content Manager (20)Installation (30)Logical Partitioning (6)LVM (14)Monitoring (13)Networking (17)NIM (12)ODM (4)Oracle (3)Performance (12)PowerHA / HACMP (27)Red Hat (46)SDD (7)Security (28)SSA (3)Storage (43)Storage Area Network (20)Sun Solaris (3)System Administration (217)TSM (11)Veritas NetBackup (1)Virtual I/O Server (5)Virtualization (9)VMWare (1)WebSphere (6)X11 (1) Links IBM.com - official website IBM Power Systems Technical documentation fo
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies http://askubuntu.com/questions/8352/how-do-i-downgrade-apt of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question method error Anybody can answer The best answers are voted up and rise to the top How do I downgrade apt? up vote 0 down vote favorite Today I did my typical "update all" routine when the package manager GUI told me many things needed updating. It chugged along and needed some confirms. I rebooted because one of the upgrades had stripped all the chrome off method error /usr/lib/methods/undefine my windows making them look old-school X. After the reboot I have a red triangle in my system tray telling me my package info is outdated. Odd, since I just ran a big update. Now if I go to the command prompt and run apt-get update I get the following: jal@jal:~$ sudo apt-get update [sudo] password for jal: 0% [Working]/usr/lib/apt/methods/http: symbol lookup error: /usr/lib/apt/methods/http: undefined symbol: _Z14maybe_add_authR3URISs E: Method http has died unexpectedly! E: Sub-process http returned an error code (127) Throwing a little Google Foo around I came up with this bug report from Dec 2009 on the Debian list. It seems the proposed fix in that bug report is to downgrade to apt-0.7.23.1, apt-get update, and upgrade apt again. I usually just run into things like this without asking for help, but when the package manager is involved I get just a little cautious. I don't really want to blow my packages up or do something ugly to my system. So in short, how do I downgrade apt without screwing myself in the process? apt dpkg share|improve this question edited Oct 19 '10 at 22:07 Jorge Castro 24.5k91387589 aske