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
-
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