Topic
5 replies Latest Post - ‏2013-05-15T10:30:17Z by vkvijayabhaskaran
ranjit_
ranjit_
11 Posts
ACCEPTED ANSWER

Pinned topic mkwpar creation - error during creating wpar , or doing lswpar

‏2010-08-12T15:10:07Z |
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>
Updated on 2011-03-10T19:10:10Z at 2011-03-10T19:10:10Z by tadams19
  • ranjit_
    ranjit_
    11 Posts
    ACCEPTED ANSWER

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

    ‏2010-08-12T15:17:45Z  in response to ranjit_
    Hi, I forgot to attach the complete log file, so the same is attached in this reply.

    Thanks ..
  • unixgrl
    unixgrl
    185 Posts
    ACCEPTED ANSWER

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

    ‏2010-08-12T15:55:44Z  in response to ranjit_
    Did you run the "startwpar testwpar"? Did that work? How about running with the "-v"? Once the WPAR is there, run the lppchk.
    • ranjit_
      ranjit_
      11 Posts
      ACCEPTED ANSWER

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

      ‏2010-08-16T11:46:29Z  in response to unixgrl
      Mark as answered
      • tadams19
        tadams19
        1 Post
        ACCEPTED ANSWER

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

        ‏2011-03-10T19:10:10Z  in response to ranjit_
        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
      • vkvijayabhaskaran
        vkvijayabhaskaran
        1 Post
        ACCEPTED ANSWER

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

        ‏2013-05-15T10:30:17Z  in response to ranjit_

        Hi, 

        Let me know the solution for this error.

        Thanks.