AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  mkwpar creation - error during creating wpar , or doing lswpar

    Posted Thu August 12, 2010 11:10 AM

    Originally posted by: ranjit_


    Hi,
    I am trying to create a wpar, so gone through teh WPAR redbook. I am getting some error as shown below in mkwpar. It however says that the wpar created successfully. But when I go to teh wpar filesystem nothing is there.

    Can anyone please assist or give me some hint. On the errors it is reapeating lines "Attribute keys must be unique within a stanza" , not sure which file it is referring to ?
    The steps I followed :

    1) Create a local file system /wpars of 8 GB
    2) executed mkwpar -n testwpar -h myhost1 -N address=10.142.3.39 -r -d /wpars/testwpar -A

    Some of the info is given below. When I do lswpar it gives a coredump.

    oslevel -s
    6100-03-02-0939

    lslpp -l | grep -i bos.wpar
    bos.wpars 6.1.3.2 COMMITTED AIX Workload Partitions
    bos.wpars 6.1.3.2 COMMITTED AIX Workload Partitions

    mkwpar -n testwpar -h myhost1 -N address=10.142.3.39 -r -d /wpars/testwpar -A

    1. Output ## Ending lines only .. ####

    syncroot: Processing root part installation status.
    syncroot: ATTENTION, Root part is currently synchronized, but there are other
    SWVPD inconsistencies. Please execute "/usr/bin/lppchk -v" for more information.
    syncroot: Returns Status = FAILURE
    LibExt::Stanza: 1240-022 Error 3 parsing stanza file at line 436, char 13.
    LibExt::Stanza: 1240-026 Invalid stanza name.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 438, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 439, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 440, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 441, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 442, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 443, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 444, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 3 parsing stanza file at line 446, char 19.
    LibExt::Stanza: 1240-026 Invalid stanza name.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 448, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 449, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 450, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 451, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 452, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 453, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 454, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 3 parsing stanza file at line 455, char 18.
    LibExt::Stanza: 1240-026 Invalid stanza name.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 457, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 458, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 459, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 460, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 461, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 462, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 463, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    Copying network name resolution configuration...
    /etc/resolv.conf
    /etc/hosts
    /etc/netsvc.conf
    Workload partition testwpar created successfully.
    mkwpar: 0960-390 To start the workload partition, execute the following as root:
    startwpar -v testwpar

    ###########

    aixserver:root:/>lppchk -v
    aixserver:root:/>

    aixserver:root:/wpars/testwpar>ls
    aixserver:root:/wpars/testwpar>
    #AIX-Forum


  • 2.  Re: mkwpar creation - error during creating wpar , or doing lswpar

    Posted Thu August 12, 2010 11:18 AM
      |   view attached

    Originally posted by: ranjit_


    Hi, I forgot to attach the complete log file, so the same is attached in this reply.

    Thanks ..
    #AIX-Forum

    Attachment(s)



  • 3.  Re: mkwpar creation - error during creating wpar , or doing lswpar

    Posted Thu August 12, 2010 11:56 AM

    Originally posted by: unixgrl


    Did you run the "startwpar testwpar"? Did that work? How about running with the "-v"? Once the WPAR is there, run the lppchk.
    #AIX-Forum


  • 4.  Re: mkwpar creation - error during creating wpar , or doing lswpar

    Posted Mon August 16, 2010 07:46 AM

    Originally posted by: ranjit_


    Mark as answered
    #AIX-Forum


  • 5.  Re: mkwpar creation - error during creating wpar , or doing lswpar

    Posted Thu March 10, 2011 02:10 PM

    Originally posted by: tadams19


    What was the solution to this problem? I am having a similar problem after applying 6100-04-03-1009.

    Existing WPARs receive the following error when loading:

    LibExt::Stanza: 1240-022 Error 7 parsing stanza file at line 151, char 1.
    LibExt::Stanza: 1240-030 Attribute keys must be unique within a stanza.
    /usr/sbin/startwpar578: 4522188 Segmentation fault
    I get the same errors when I try to create a fresh WPAR as well.

    I was hoping to find your solution to see if it might apply to my situation.

    Thanks
    #AIX-Forum


  • 6.  Re: mkwpar creation - error during creating wpar , or doing lswpar

    Posted Wed May 15, 2013 06:30 AM

    Originally posted by: vkvijayabhaskaran


    Hi, 

    Let me know the solution for this error.

    Thanks.

     


    #AIX-Forum