AIX

AIX

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

 View Only

Failed to create Application WPAR

  • 1.  Failed to create Application WPAR

    Posted Mon August 09, 2010 03:57 AM

    Originally posted by: SystemAdmin


    I tried to create an applcation wpar on WAS 61 but failed.

    Here the app

    #!/bin/ksh
    a=0
    max=120
    sleeptime=1
    echo "Starting myapp" > /mnt/wpr02/myapp.log
    while
    do
    let a=a+1
    echo "Killroy was here, for the $a time and he said 42" >>
    /mnt/wpr02/myapp.log
    sleep $sleeptime
    done

    I tried to start this app by command :

    wparexec /home/wpardemo/myapp

    I got the following error

    bash-3.00# wparexec /home/wpardemo/myapp
    Starting workload partition myapp.
    Mounting all workload partition file systems.
    Loading workload partition.
    startwpar: 0960-231 ATTENTION: /usr/lib/wpars/loadwpar failed with return code 1.
    startwpar: 0960-244 Error loading workload partition.
    Can you please help on this problem ? What might be the cause of this problem ? Thank you!