Zone creation(zonecfg) fails

I had created a few zones as root, and now when i try to create zones as a non-root user , it errors out
#/usr/sbin/zonecfg -z zone-appconfig
WARNING: you do not have write access to this zone's configuration file;
going into read-only mode.
zonecfg:zone-appconfig> create
zone-appconfig: cannot create in read-only mode.
#id
uid=150(user) gid=1(other)
Following are the zones that i had created as root
#/usr/sbin/zoneadm list -cv
ID NAME STATUS PATH
0 global running /
1 zone-small running /export/home/zone-small
- zone-whole configured /export/home/zone-whole

Ok..i could reach one more step by doing the following
.../etc/zones wasnt setup as world writable
# ls -l |grep zones
drwxr-xr-x 2 root sys 512 Jan 2 13:25 zones
# chmod g+w zones
# chmod o+w zones
# ls -l |grep zones
drwxrwxrwx 2 root sys 512 Jan 2 13:25 zones
zone-appconfig: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:zone-appconfig> create
zonecfg:zone-appconfig> set zonepath=/home/abc
zonecfg:zone-appconfig> verify
zonecfg:zone-appconfig> exit
zone-appconfig: Problem updating index file
Configuration not saved; really quit (y/[n])? n
zonecfg:zone-appconfig> commit
zone-appconfig: Problem updating index file
zonecfg:zone-appconfig>
This is probably index file somewhere which isnt writable by my non-user account :(
Any help is appreciated...thx!!

Similar Messages

  • Problem with zone creation in Solaris 10 6/06

    Hi,
    I have configured and installed a non-global zone following the example given in the guide http//www.sun.com/software/solaris/howtoguides/posgresqlhowto.jsp. My zone has the following configuration:
    # zonecfg -z pg_zone
    zonecfg:pg_zone> info
    zonepath: /export/zones/pg_zone
    autoboot: true
    pool:
    fs:
    dir: /pg_log
    special: /dev/dsk/c1d0s0
    raw: /dev/rdsk/c1d0s0
    type: ufs
    options: []
    net:
    address: 192.168.10.100/24
    physical: bge0
    zonecfg:pg_zone> exit
    The installation completed but I got the following errors:
    # zoneadm -z pg_zone install
    Preparing to install zone <pg_zone>.
    Creating list of files to copy from the global zone.
    Copying <130101> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    Preparing to initialize <1059> packages on the zone.
    Initialized <1059> packages on zone.
    Zone <pg_zone> is initialized.
    Installation of these packages generated errors: <SUNWgnome-a11y-libs-share>
    Installation of <63> packages was skipped.
    The file </export/zones/pg_zone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
    When examined the logs there were several messages like this:
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWamutl> was not installed:
    The package <SUNWamutl> is registered to be installed in the
    global zone only. The package may have been installed in the global
    zone using the pkgadd '-G' option, or the package may contain a
    request script, or the package may directly set the package attribute
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWiimdv> was not installed:
    The package <SUNWiimdv> is either not fully installed in the
    global zone, or the package contains a request script. Only packages
    that are fully installed in the global zone and that do not contain a
    request script can be installed when a new zone is created. If this
    package does not contain a request script, you can correct this
    problem by removing and reinstalling the package in the global zone.
    And when I try to boot the zone I get this error:
    # zoneadm -z pg_zone boot
    zoneadm: zone 'pg_zone': "/usr/lib/fs/lofs/mount -o zonedevfs /export/zones/pg_zone/dev /export/zones/pg_zone/root/dev" failed with exit code 33
    zoneadm: zone 'pg_zone': call to zoneadmd failed
    Any suggestion how to solve this problem?
    thanks

    To answer your question wangzh: Yes I did. I actually followed exactly the procedure on the how-to-uides: http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp.
    I think the problem here might reside in the script supplied in the solaris distribution for creating zones. For example, in the default configuration script, the package directories /lib /platform /var and /usr are by default set to be automatically imported. But when I try to create a zone using these defaults settings, it ends up with an mounting error that prevents the installation of the zone. only when I remove manually those directories from the configuration then the installation continues.
    And during the installation process there are number of packages that are by default imported via the installation script and this is some of those packages that cause the errors here. I also tried to exclude the offending packages as suggested by henryC but I couldn't find all of them and the creation still fails at the booting.

  • Failover Zone Creation

    Still at the beginning of the learning curve here....
    I am looking to create a Solaris 10 failover zone in my 3.2 Cluster.
    I see documents claiming both ways that the zone can or cannot have its zonepath on a globally shared file system.
    So, do I
    Create equivalent zones on the local drives, then add a pointer in the zone to a file system on the global area, then go forward with my cluster resource creation from there
    -or-
    No, just create the zone on the shared storage area once from node 1, the delete it and create it from node 2, then bring in HAStorageplus, etc.
    Thanks.

    I've been trying to configure a failover zone on my cluster and I'm having a terrible time. I do remember seeing somewhere that zones needed to be on a local filesystem, but I can't find that now.
    I'm following these instructions: http://docs.sun.com/app/docs/doc/819-3059/6n5aafjor?a=view
    Everything goes as expected and I have this:
    $ clrg status
    Cluster Resource Groups ===
    Group Name Node Name Suspended Status
    nfs-rg stnv240a No Online
    stnv240b No Offline
    web-rg stnv240a No Online
    stnv240b No Online
    zone-rg stnv240b No Online
    stnv240a No Offline
    $ clrs status
    Cluster Resources ===
    Resource Name Node Name State Status Message
    cluster stnv240a Online Online - LogicalHostname online.
    stnv240b Offline Offline
    nfs-stor stnv240a Online Online
    stnv240b Offline Offline
    nfs-res stnv240a Online Online - Service is online.
    stnv240b Offline Offline
    web-stor stnv240a Online Online
    stnv240b Online Online
    zone-rs stnv240b Online Online
    stnv240a Offline Offline
    $ zonecfg -z cwm -f cwm-failover.cfg
    $ zonecfg -z cwm info
    zonename: cwm
    zonepath: /global/nfs/zones/cwm
    brand: native
    autoboot: false
    bootargs:
    pool:
    limitpriv:
    scheduling-class:
    ip-type: shared
    net:
         address: 204.155.141.145
         physical: bge0
         defrouter not specified
    But then I can't boot. I got a similar error trying to configure a sparse zone. Install fails there, as it can't mount /lib
    $ zoneadm -z cwm boot
    zoneadm: zone 'cwm': "/usr/lib/fs/lofs/mount -o zonedevfs /global/nfs/zones/cwm/dev /global/nfs/zones/cwm/root/dev" failed with exit code 33
    zoneadm: zone 'cwm': call to zoneadmd failed
    Any help or ideas here?
    Solaris 10 10/08 s10s_u6wos_07b SPARC
    Solaris Cluster 3.2 u1 but patched so I have sczonecluster.

  • ERROR VNIC creation job failed

    Hello All,
    I have brought oracle VM X86 manager into ops center 12c control. When I try to create a new virtual machine it is throwing the ‘ERROR VNIC creation job failed’ error. Can anybody throw some light over this issue.
    Thanks in advance.
    Detailed log is
    44:20 PM IST ERROR Exception occurred while running the task
    44:20 PM IST ERROR java.io.IOException: VNIC creation job failed
    44:20 PM IST ERROR VNIC creation job failed
    44:20 PM IST ERROR com.sun.hss.services.virtualization.guestservice.impl.OvmCreateVnicsTask.doRun(OvmCreateVnicsTask.java:116)
    44:20 PM IST ERROR com.sun.hss.services.virtualization.guestservice.impl.OvmAbstractTask.run(OvmAbstractTask.java:560)
    44:20 PM IST ERROR sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    44:20 PM IST ERROR sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    44:20 PM IST ERROR sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    44:20 PM IST ERROR java.lang.reflect.Method.invoke(Method.java:597)
    44:20 PM IST ERROR com.sun.scn.jobmanager.common.impl.TaskExecutionThread.run(TaskExecutionThread.java:194)
    Regards,
    george

    Hi friends
    I managed to find the answer. Internally it is has some indexes in the data base level. It still maintains the indexes in the shadow tables. Those all need to be deleted. With our Basis team help I have successfully deleted those and recreated the indexes.
    As Soorejkv said sap note 1283322 will help you on this to understand the scenarios.
    Thank you all.
    Regards
    Ram

  • Oracle 11gR2 RAC: how to solve "user profile creation mask failed" ?

    Folks,
    Hello.
    I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
    I am using Cluster Verification Utility (CVU) to test the 2 nodes for Grid installation as follows:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    All items for rac2 are passed. There is only one item for rac1 is not passed as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    There are 3 ways to solve this issue:
    1) In the file /etc/bashrc, change the line "umask 0002" to "umask 0022".
    2) In the file /etc/profile, add line "umask 0022" at the end of the file.
    3) In the file /etc/csh.cshrc, change the line "umask 002" to "umask 0022".
    In rac2, I got the same issue in the past. I just change the line "umask 0002" to "umask 0022" in the file /etc/bashrc and the issue is solved.
    But in rac1, I have tried each of the 3 options and also combined 1) and 2), 1) and 3), 2) and 3), 1) and 2) and 3). Totally, that's 7 options. But all of 7 options cannot solve the issue.
    The script runcluvfy.sh still tests rac1 user profile creation mask failed. My question is:
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

    Folks,
    Hello. I follow the document "Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Linux E22489-04" and do the following:
    [root@rac1 /]#echo $SHELL
    Output: /bin/bash
    This means we need to edit Bash shell file .bash_profile.
    [ora11g@rac1 ~]$vi /home/ora11g/.bash_profile
    Add this line: umask 022
    Then I save the file .bash_profile and reboot OS.
    Then I run the following command:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    But the reusult is the same. The issue is not solved as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

  • Nokia E5-00: Time zone Vietnam has failed in Firmw...

    I 'm using Nokia E5-00 phone (RM-632) with Firmware 042.007. This firmware has a problem: Time zone Vietnam 's failed: GMT: 0:00, the right Vietnam time zone 's GMT: +7:00
    I hope Nokia 'll fix this problem in this Firmware and Next Firmwares
    Thanks!

    Bạn sử dụng hàng xách tay ? Mình cũng có 1 chiếc E5 chính hãng, không có lỗi giống bạn.

  • Zone creation

    Hi,
    My machine is x86 , OS is winxp
    Iam using solaris10 running on VMware player. I have created a test zone on solaris10 using solaris9 container and down loaded solaris9-image.flar and saved on Apps folder. But iam unable to install solaris9-image.flar to test zone.
    #zonecfg -z testzone info
    zonepath: /zones/testzone
    autoboot:true
    pool:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    net:
    address:
    Physical:
    #zoneadm -z testzone install -u -a /Apps/solaris9-image.flar
    -u: illegal option --u
    usage: install
    install the configuration on to the system
    As iam new in solaris can anyone help on regard this......Thanks in advance.
    Arunii2

    one more thing, I just noticed, that you are using X86 solaris. so have a look at this:
    "A Solaris 9 branded zone (solaris9) is a complete runtime environment for Solaris 9 applications on *SPARC* machines running the Solaris 10 8/07 Operating System or later."
    http://docs.sun.com/app/docs/doc/820-4490/gfjbk?a=view
    so, you won't be able to test those things on x86 machine.
    Laszlo

  • Will zones inherit security/hardening settings made prior to zone creation?

    Hi guys.
    So the scenario is I've just finished hardening Solaris 10: disabling of services, configuring tcp wrappers and the such. I would now like to create a zone or zones but there are a few things I would like to make sure of, before proceeding.
    The questions are:
    i) After creating a zone, whether it's sparse or whole, will the non-global zone inherit the hardening settings that I have setup prior? Or is it a seperate entity that requires me to harden it.
    ii)I understand that patching the global zone will patch the rest of the other zones. Does this include whole-root zone since it does not mount any filesystem outside its zone.
    Thank you.
    N.

    No, except for the packages that get installed at zone creation time, they're separate.
    Patches are applied to all zones. A zone may be temporarily booted just to apply a patch. Even though a whole-root zone may not mount external filesystems, that doesn't mean that it's independent. For instance, it's kernel files aren't actually loaded, since it doesn't have an independent kernel. When the global zone's kernel is patched, all others are as well. So the files within the zone will be patched as well to maintain consistency.
    Darren

  • Removing Packages "added" by zone creation

    The search feature on these forums is limited. Scrolling back about 8 months I think I know the answer to this question, but I would like to be certain.
    I have a solaris 10 global zone with SUNWut (sunray services) installed.
    When I create my non-global zones, Solaris is "kind" enough to install the sunray services into the non-global zones as they get created. This leads to multiple instance of the sunray software running.
    When I created the non global zones the first time, I went into the non--global zones and I removed the SUNWut packages using pkgrm.
    Is there a way to tell the zone creation to not install the SUNWut package when the non global zone is created? I have to rebuild this machine and I would love to create the zones in a more efficient manner.
    Looking through the posts I saw that people were dealing with my problem the same way I did. Once the non global zone is running, go in and do a pkgrm on it.
    I just want to verify that this is the way other people are handling it.
    Thanks,
    Eric

    The zones are a typical sparse root model (inherited-pkg-dir's are /lib/ /platform/ /sbin/ and /usr/). There is no nfs mounting or such.
    Once the non-global zone is installed, If you go to /opt in the non-global zone the SUNWut directory is there. If you do a ps command you can see that there is a sunray server is running in each zone.
    Thinking about it I suppose that the install script for SUNWut may be at fault. Perhaps it is telling the zone install that it is a base package when it is not. This would make sense because I was using a SRSS 3.0 install patched by my sun engineers to install on my sol10 system. Perhaps I will not run into the same issue now that I have the official 3.1 sunray s/w.
    Only time will tell. But I appreciate the reply so that I know if it does happen that I am handling the problem in the correct manner (using pkgrm on SUNWut).
    I will report back if this issue comes up again when I redo the system.
    Thanks,
    Eric

  • Time Zone data downoad failed for 7841 phones

    Hi All ,
    we have 100 above 7841 phones facing same issue , time changes automatically . when i check the status message it is showing as "time zone data download failed "
    CUCM - 8.6.2
    Firmware -  sip78xx.10-1-1-9

    Hi Reddy,
    have a look into this discussion
    https://supportforums.cisco.com/discussion/12187361/cisco-7821-phones
    regds,
    aman

  • The Award Funding Creation has failed

    Hi All,
    Please give me suggesions how to debug the fllowing error message and fix:
    If I run the Project-Related Cash Receipts Reports into Grants interface, transactions fail with an error message of "Your current responsiblity does not have access to this function. The Award Funding Creation has failed."
    Searched for these error names in my code, none of these error names exist in the code.
    any idea how to fix this issue?
    Thanks & Regards,
    Raju
    Message was edited by:
    Raju1225

    Any update on this issue?
    Also one more thing
    I entered 3 cash receipts in my instance, ran the transfer to GL, then ran the interface to GMS then transactions fail with an error message of "Your current responsiblity does not have access to this function. The Award Funding Creation has failed."
    I meant to tell you that I also ran the process a second time and the receipts processed through successfully.
    any idea why is this happenning?Thanks,
    Raju
    Message was edited by:
    Raju1225

  • Cluvfy : Time zone consistency check failed

    Hello All,
    Env: 112.0.3 on Linux 5.8
    Single node RAC
    I 'am trying to add another node to my cluster.
    When i run the cluvfy it shows
    cluvfy stage -pre nodeadd -n a0002 -fixup -verbose
    o/p trimmed
    Oracle Cluster Voting Disk configuration check passed
    Check: Time zone consistency
    Result: Time zone consistency check failed
    The `date` on both the servers shows UTC as the timezone and they sync
    a0001:oracle(ps1) ~ % ssh a0002 date;date
    Thu Oct  3 06:28:13 UTC 2013
    Thu Oct  3 06:28:13 UTC 2013
    cat /u01/app/11.2.0/grid/crs/install/s_crsconfig_a0001_env.txt
    TZ=UTC
    NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    TNS_ADMIN=
    ORACLE_BASE=
    Where does the script check for this?
    TIA,
    John

    Thx Anar for stepping by..
    rm -rf /tmp/cvutrace
    mkdir /tmp/cvutrace
    export CV_TRACELOC=/tmp/cvutrace
    export SRVM_TRACE=true
    export SRVM_TRACE_LEVEL=1
    <STAGE_AREA>/runcluvfy.sh stage -pre crsinst -n <node1>,<node2> -verbose
    i enabled tracing on cluvfy and found that on Node2's .bash_profile of oracle, i had some interactive session env settings script which required a user input (like, select 1 for ThisDB, select 2 for ThatDB). The cluvfy script internally waited for such input while logging as oracle user to node2 and eventually failed (kind of timeout). I removed that entry and it did good.
    and found that on Node2's .bash_profile of oracle, i had some interactive session env settings script which required a user input (like, select 1 for ThisDB, select 2 for ThatDB). The cluvfy script internally waited for such input while logging as oracle user to node2 and eventually failed (kind of timeout). I removed that entry and it did good.

  • TREX creation process fails - directory name is invalid

    Hello All,
    I've installed a TREX instance to be linked up to two SRM instances (SRD and SRT).  I had done this successfully on a prior server, but recently we got a new
    server to run TREX on.
    When I reinstalled TREX on the new server, I have
    success having SRD connect to TREX via SM59, but SRT fails because the program isn't getting registered.
    While looking into the details, I find this error message in the traces:
    [00344] 2007-04-16 14:05:25.519 i Daemon TrexDaemon.cpp(03508) :
    start 'TREXRfcServer.exe -r -host=usalsapt -instance=sapgw52
    -service=TREXRfcServer_13' failed
    [00344] 2007-04-16 14:05:25.519 e Daemon TrexDaemon.cpp(02951) :
    creation of process '"TREXRfcServer.exe" -r -host=usalsapt
    -instance=sapgw52 -service=TREXRfcServer_13' failed: The directory name
    is invalid.
    Has anyone experienced something similar before?  Or have an idea as to which directory the error message references?  Thank you
    ~TJ

    Hi TJ,
    did you check in SM59 if the RFC destination is of type "regestration" and has case-sensitive correct the name in there ?
    Do you see a different error when SRT is down ?
    I guess, you checked to ping usalsapt from the TREX box already ? The instance number is 52 as well ?
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Zones not booting - failed to create devlinks: Interrupted system call

    I just installed the latest 10_Recommended cluster with 118833-36 kernel patch and now my zones won't boot. I get the error:
    (root)Yes Master?> zoneadm list -iv
    ID NAME STATUS PATH
    0 global running /
    - samba installed /export/home/zones/samba
    - web installed /export/home/zones/web
    - dhcp installed /export/home/zones/dhcp
    - dns installed /export/home/zones/dns
    - vs1 installed /zdata/zones/vs1
    - dss installed /zdata/zones/dss
    - test installed /zdata/zones/test
    (root)Yes Master?> zoneadm -z test boot
    failed to create devlinks: Interrupted system call
    console setup: device initialization failed
    zoneadm: zone 'test': could not start zoneadmd
    zoneadm: zone 'test': call to zoneadmd failed
    Also, running devfsadm or drvconfig;devlinks from the global zone will core dump.
    Any ideas..??
    tia..

    First, you gotta change your prompt to something less embarrassing when you post to a public forum :)
    I'd forget about the zones problem and focus on why devfsadm core dumps -- that's the core of the problem (no pun intended...no, really!).
    First, review the install logs of all the patches installed during the recent service (/var/sadm/patch/*/log). Even if they all show a good completion, check the messages they generated, sometimes they have errors that aren't bad enough to cause a complete failure of the patch. The KJP (118833-36) is probably a good one to start with.
    Next I'd "truss" the devfsadm command while it core dumps then get a stack trace of the core (run "adb <corefile>" and type "$C" -- that's old school, I'm sure mdb is much cooler...).
    Throw some of the strings from those against sunsolve and see if something sticks.
    Good luck!

  • Repository Creation Utility fails

    Guru's and Experts,
    I am trying to run rcu.bat on windows 7 home premium it fails. (Repository Creation Utility 11.1.1.2.1\ofm...\bin\rcu.bat
    While executing on dos prompt or just by double clicking on rcu.bat it says cannot find Repository directory why's that?
    To study fusion one needs to install first database then web logic server then soa suite(baseline+ patch) then repository creation utilty then last jdeveloper.
    Why is that giving that error, am i making any mistake in following the process.
    Please advise.
    Thank you

    RichN you were right!!
    Thanks for that there was space in Main directory so it was failing now it is working.
    My two question futhermore,
    I installed Oacle Database 11g with no errors and also Oracle Suite Base line and patch set with no errors.
    1) So if they are installed with no erros they should work perfectly?
    2) If Win 7 is no version which you recommend is right version?
    3)What do you mean by certified database for SOA suite? and also not certified for SOA suite?
    4) These days WIn 7 is the only OS you get installed on laptop so what is contigency plan Oracle has in its mind for people who want to study on WIndows 7 platform? as they can not afford to loose customers just merely based on OS?
    Please guide,
    Thank you.

Maybe you are looking for

  • 10.2.3   G4  ERASE & RESTORE can`t reboot from CD-ROM

    In advance thankyou for any help I want to give my old G4 to my mother-in-law. Lucky lady! So I would just like to reinstall the OS from scratch and remove anything else. 1/ When I put in CD-ROM push power button and hold C. I get a window asking me

  • Cropping photo in album A changes same photo in album B  too.

    I have Album A, with photos cropped square. I copied the same photos to Album B and I want to crop those lets say 'postcard' format. I need to work with these 2 formats for my business. Now all photos in Album A also change to 'postcard' size. How do

  • Tagging "Client" and "Session"

    Just a quick question. Where are most poeple putting their client info? a) In the physical file directory structure b) In the Collection names or groupings c) In the Keywords tag (eg, Create a Keyword called 'Client' and add each client name as a chi

  • My Ear is wide that the earbuds can't stay, they fall plz help!!!

    Hey! Actually I was thinking that I didn't know how to place the ear buds well, but recently I knew that my ear was an ABNORMAL EAR! http://en.wikipedia.org/wiki/Tragus_%28ear%29 Check the link above... My Tragus and my AntiTragus are a little bit fa

  • Jabber-config.xml no longer UTF-8 after TFTP Server upload?

    I have a good jabber-config.xml I edited in Notepad++ and saved (UTF-8) and I upload it to TFTP via CMPlatform on CCM 9.1.2.11900-12.  I've done this in the past a lot with 8.6.2, never had any issues. I then restart CUCM TFTP services and download;