Solaris.smf.modify ? help me

hi
hope every one will be fine and enjoying real world of UNIX i am UNISYS in little bit trouble
i have a service named "mysvc" (let mysvc be the service FRMI) running under user "meunix" and group "other"
i want to give user "meunix" the privilage to delete the service using commmand
NOTE : Assume service is already stopped
#svccfg delete -f mysvc
but when run this command its prompted
svccfg: Permission denied
i have already assign right to the user "meunix" the following rights
first i added the folling line in the file /etc/security/auth_attr
solaris.smf.modify.mysvc::My Service RBAC-Management::
and then i run the command
usermod -A solaris.smf.modify.mysvc meunix
but it dos't work
i have also tried
solaris.smf.modify.*.mysvc::My Service RBAC-Management::
usermod -A solaris.smf.modify.mysvc meunix
but the same thing happend "svccfg:: Permission denied"
looking forward for +ve responses
Regards
UNIX out of Box

Sorry, but svccfg delete requires solaris.smf.modify, which allows the user to create or
delete any service or instance. Please file an RFE at bugs.opensolaris.org .

Similar Messages

  • Solaris SMF configuration for Oracle CSS service

    Below is the code to create oracle CSS service with solaris SMF, it will create smf service with instance name as "default" where as i need to change it to "css"
    svc:/application/oracle/css:default
    change service instance name to
    svc:/application/oracle/css:css
    i don't know about smf and xml, can somebody help me to change css service name ?
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
    <!-- $Id: oracle-database-css.xml,v 1.4 2006/03/19 21:19:40 joomul Exp $
      The contents of this file are subject to the terms of the
      Common Development and Distribution License, Version 1.0 only
      (the "License").  You may not use this file except in compliance
      with the License.
      You can obtain a copy of the license at
       http://www.opensource.org/licenses/cddl1.php
      See the License for the specific language governing permissions and
      limitations under the License.
      Copyright 2005, 2006 Joost Mulders.
      This document contains a service definition for the
        Cluster Synchronization Services (CSS) process.
      This process is required for ASM and RAC. It should be started via smf(5)
      only for *non-RAC* systems. On RA clusters, this daemon is started via crs.
    -->
    <service_bundle type='manifest' name='oracle-database-css'>
    <service
      name='application/oracle/css'
      type='service'
      version='1'>
      <create_default_instance enabled='false' />
      <!-- CSS depends on multi-user. That takes care of details like filesystem -->
      <dependency
       name='multi-user'
       grouping='require_all'
       restart_on='error'
       type='service'>
       <service_fmri
        value='svc:/milestone/multi-user:default' />
      </dependency>
      <exec_method
       type='method'
       name='start'
       exec='$ORACLE_HOME/bin/ocssd'
       timeout_seconds='30' >
       <method_context>
        <method_credential
         user='oracle'
         group='dba'
         supp_groups=':default'
         privileges=':default'
         limit_privileges=':default' />
        <method_environment>
         <envvar name='ORACLE_HOME' value='/u01/app/oracle/product/10.2.0.1/asm_1' />
        </method_environment>
       </method_context>
      </exec_method>
      <exec_method
       type='method'
       name='stop'
       exec=':kill'
       timeout_seconds='60' >
       <method_context>
        <method_credential
         user='oracle'
         group='dba'
         supp_groups=':default'
         privileges=':default'
         limit_privileges=':default' />
        <method_environment>
         <envvar name='ORACLE_HOME' value='/u01/app/oracle/product/10.2.0.1/asm_1' />
        </method_environment>
       </method_context>
      </exec_method>
      <!-- ocssd.bin does not detach -->
      <property_group name='startd' type='framework'>
       <propval name='duration' type='astring' value='child' />
       <propval name='modify_authorization' type='astring'
        value='solaris.smf.manage.oracle.database' />
      </property_group>
      <property_group name='general' type='framework'>
       <propval name='modify_authorization' type='astring'
        value='solaris.smf.manage.oracle.database' />
       <propval name='action_authorization' type='astring'
        value='solaris.smf.manage.oracle.database' />
      </property_group>
      <stability value='Unstable' />
      <template>
       <common_name>
        <loctext xml:lang='C'>
         Oracle Cluster Synchronization Services (CSS)
        </loctext>
       </common_name>
       <documentation>
        <doc_link
         name='Intro to Oracle Clusterware and Oracle Real Application Clusters'
         uri='http://download-east.oracle.com/docs'/>
       </documentation>
      </template>
    </service>
    </service_bundle>Edited by: sachinonnet on Jan 12, 2010 2:01 AM

    Hi,
    i got the solution as below
    removed below line from service xml
    <create_default_instance enabled='false' />
    created another xml file for instance xml, where i specified the name of instance.
    <?xml version="1.0"?>
    <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
    <!-- $Id: oracle-database-instance.xml,v 1.12 2006/03/12 19:51:20 joost Exp $
      The contents of this file are subject to the terms of the
      Common Development and Distribution License, Version 1.0 only
      (the "License").  You may not use this file except in compliance
      with the License.
      You can obtain a copy of the license at
       http://www.opensource.org/licenses/cddl1.php
      See the License for the specific language governing permissions and
      limitations under the License.
      Copyright 2005,2006 Joost Mulders.
      This document contains a service definition for an Oracle database instance.
      It contains some instance specific variables like ORACLE_SID and ORACLE_HOME.
      These must be filled in below.
      Other -generic database- service properties are inherited from the parent
      service, 'application/oracle/database'.
      A database instance can be brought under SMF control by:
       * running /lib/svc/method/ora-smf autoimport
    *OR*
       * filling in the blanks (marked with '' or ':default') below
       * svccfg import <file>
    -->
    <service_bundle type='manifest' name='oracle-database-instance'>
    <service
      name='application/oracle/database'
      type='service'
      version='1'>
      <dependency name='oracle-asm' grouping='require_all' restart_on='none' type='service'>
        <service_fmri value='svc:/application/oracle/database:ASM' />
      </dependency>
      <!-- The SMF instance name MUST match the database instance -->
      <instance name='PDB' enabled='false'>
       <method_context
        working_directory='/u01/app/oracle/product/10.2.0.1/db'
        project=':default'
        resource_pool=':default'>
        <!--
          The credentials of the user with which the method is executed.
        -->
        <method_credential
         user='oracle'
         group='dba'
         supp_groups=':default'
         privileges=':default'
         limit_privileges=':default'/>
        <method_environment>
         <envvar name='ORACLE_SID' value='pdb' />
         <envvar name='ORACLE_HOME' value='/u01/app/oracle/product/10.2.0.1/db' />
        </method_environment>
       </method_context>
      <!--
       A generic options property group for this database.
       This property group has currently only one variable: instance_type.
       instance_type describes the type of database instance. It's value can be
       RDBMS or ASM. RDBMS denotes a classic database instance and ASM is a storage
       manager instance.
      -->
      <property_group name='options' type='application'>
       <stability value='External' />
       <propval name='instance_type' type='astring' value='RDBMS' />
       <propval name='modify_authorization' type='astring'
        value='solaris.smf.manage.oracle.database' />
      </property_group>
      </instance>
    </service>
    </service_bundle>

  • Weblogic Solaris SMF start/stop script

    Does anyone have a Solaris SMF script to start/stop Weblogic they'd care to share? Thanks.
    I don't think it matters but I'm running Solaris 10, Weblogic 10.3 and X86.

    In /etc/rc3.d (all the files in this script are executed at the time of server boot) you can keep a script called S99weblogic and add below line that file,
    #!/bin/ksh
    su - wladmin -c "/etc/init.d/start_weblogic.sh start"
    and in /etc/init.d you can write script start_weblogic.sh, as below
    #!/bin/ksh
    case "$1" in
    'start')
    # for admin server
    if [ -f <init log path>/startadmin.log ]
    then
    print -n "\t\n\n deleting <init log path>/startadmin.log\n\n"
    /usr/xpg4/bin/rm -rf <init log path>/startadmin.log
    fi
    ### like above do for manged servers logs also ( if you have different script formats for admin and managed servers) and startadmin.log contains paths to all the admin server scripts)
    # boot logs when the instances are started which will contains error while the instances are started
    if [ -f init log path/boot.err.log ]
    then
    print -n "\t\n\n deleting init log path/boot.err.log\n\n"
    /usr/xpg4/bin/rm -rf init log path/boot.err.log
    #contians the list of domains in your physical or virtual server
    if [ -f init log path/domain_list.log ]
    then
    print -n "\t\n\n deleting init log path/domain_list.log\n\n"
    /usr/xpg4/bin/rm -rf init log path/domain_list.log
    #list all domain names in domain_list.log
    #use below command to find all the domians scripts home, for weblogic 8 in ur physical server
    # for weblogic 8
    ls -d <path to user projects untill scripts home>/* > inint log path/domain_list.log
    #if ur domain are scattered then append other domains also -for weblogic 9.x, 10.x.........
    ls -d <path to user projects untill scripts home>/*/bin >> initn log path/domain_list.log
    # get start up sctiprs
    for file in `/usr/bin/cat init log path/domain_list.log`
    do
    ls $file/startadm*.sh >> init log path/startadmin.log
    ls $file/startwl*.sh >> init log path/startmgd.log
    fi
    done
    #start startup scritps
    for file in `/usr/bin/cat init log path/startadmin.log`
    do
    cd `/usr/bin/dirname $file`
    nohup $file >> init log path/boot.err.log 2>&1 &
    #do the same for manged server sctips
    done

  • No Internet Connection In Solaris 10 Please Help

    I installed Solaris 10 on a Dell Dimension 3000 on my home network. It took my 3 days to finally figure out that I had to make changes to my /etc/driver.alias file but I finally got my integrated Intel pro/100 nic to work.
    Now I can ping my DSL gateway and I can ping the other 'Windows' computers on my network but I cannot connect to the Internet. Help will be greatly appreciated.
    Also. I am able to access my Gateways configuration pages through the web browser with http://192.168.1.1.
    Thanks in advance.

    Looks like you need to setup your /etc/resolv.conf and use the correct /etc/nsswitch.conf
    1. To setup /etc/resolv.conf you need to know your ISP's nameserver IP. Since you have access to your router, you can get those information from there.
    For example, my /etc/resolv.conf looks like this:
    search comcast.com comcast.net
    nameserver <comcast's primary nameserver ip>
    nameserver <comcast's secondary nameserver ip>
    2. Setup your /etc/nsswitch.conf by copying the /etc/nsswitch.dns to /etc/nsswitch.conf
    After you make these changes, reboot the box and try pinging www.google.com
    HTH
    Sharif

  • Solaris 8 installation Help 28/02/02

    Dear All
    I have download the companion Intel platform Edition, Solaris/Intel 427.65 Mb and unzip it by using the winzip.
    ( The folder name is s8ccd-7_01-i386)When i double clicked it straight away went to easy cd creator and automatically selecting close session and leave cd open.
    It is successfully writting the cd, but when I try to reboot the CD, nothing happening.
    In the cd it creates two folders and four files which I can view at explorer.
    . INSTALL
    COMPONENTS
    .cdtoc
    installer
    readme
    volstart
    Where I am going wrong ? ( My Pc is CD rom bootable.)
    Your help is much appreciated.
    Thank you
    Ravi.

    Hi Guys,
    I�m on the same problem.
    I did the download of te same file, and burn well the CD.
    This cd do not boot with my lap top.. but this is not the problem.
    My problem is, after boot with the disk created with dd.exe, and also after choose the CD-Rom as the source of the system operation files, i'm getting the fallowing message:
    Error message from mount:
    /pci@0,0/pci-ide@f/ide@1/sd@0,0:a: can�t open - no hsfs VTOC

    I�m sure about the OS is reconizing my cd rom device, becos if I take the midia out, the message change for:
    can�t open - I/O Error
    Well,
    I�m a beginer on this, but my guess is that the instalation software is not reconizing this midia. Or it may os looking for a VTOC file else than CDTOC file.
    Do you guys have any tip for this problem?
    Any reply will be very helpfull.
    Thanks a lot in advanced
    Regards
    rick--

  • Solaris Volume Manager help needed...

    I am new to Solaris Volume Manager and need some assistance. I suspect that the mirroring was no setup correctly on a server I am concerned with. Here is some output:
    metadb -i
    flags first blk block count
    a m p luo 16 8192 /dev/dsk/c1t0d0s7
    a p luo 8208 8192 /dev/dsk/c1t0d0s7
    ================================================
    metastat
    d4: Mirror
    Submirror 0: d50
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 5905116 blocks (2.8 GB)
    d50: Submirror of d4
    State: Okay
    Size: 5905116 blocks (2.8 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s5 0 No Okay Yes
    d3: Mirror
    Submirror 0: d40
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 6292242 blocks (3.0 GB)
    d40: Submirror of d3
    State: Okay
    Size: 6292242 blocks (3.0 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s4 0 No Okay Yes
    d2: Mirror
    Submirror 0: d30
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 8389656 blocks (4.0 GB)
    d30: Submirror of d2
    State: Okay
    Size: 8389656 blocks (4.0 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s3 0 No Okay Yes
    d1: Mirror
    Submirror 0: d20
    State: Okay
    Pass: 0
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 33555735 blocks (16 GB)
    d20: Submirror of d1
    State: Okay
    Size: 33555735 blocks (16 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s1 0 No Okay Yes
    d0: Mirror
    Submirror 0: d10
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16779312 blocks (8.0 GB)
    d10: Submirror of d0
    State: Okay
    Size: 16779312 blocks (8.0 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s0 0 No Okay Yes
    Device Relocation Information:
    Device Reloc Device ID
    c1t0d0 Yes id1,ssd@n20000004cf6f7b96
    =============================================
    metastat -p
    d4 -m d50 1
    d50 1 1 c1t0d0s5
    d3 -m d40 1
    d40 1 1 c1t0d0s4
    d2 -m d30 1
    d30 1 1 c1t0d0s3
    d1 -m d20 0
    d20 1 1 c1t0d0s1
    d0 -m d10 1
    d10 1 1 c1t0d0s0
    ========================================
    format of c1t0d0 (rootdisk)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 11615 - 17422 8.00GB (5808/0/0) 16779312
    1 swap wu 0 - 11614 16.00GB (11615/0/0) 33555735
    2 backup wm 0 - 24619 33.92GB (24620/0/0) 71127180
    3 home wm 17423 - 20326 4.00GB (2904/0/0) 8389656
    4 unassigned wm 20327 - 22504 3.00GB (2178/0/0) 6292242
    5 var wm 22505 - 24548 2.82GB (2044/0/0) 5905116
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 24549 - 24619 100.16MB (71/0/0) 205119
    =======================================================
    format of c1t1d0 (rootmirror)
    Current partition table (original):
    Total disk cylinders available: 24620 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 1 - 14519 20.00GB (14519/0/0) 41945391
    1 swap wu 14520 - 17423 4.00GB (2904/0/0) 8389656
    2 backup wu 0 - 24619 33.92GB (24620/0/0) 71127180
    3 - wu 0 - 0 1.41MB (1/0/0) 2889
    4 - wu 1 - 24619 33.91GB (24619/0/0) 71124291
    5 unassigned wm 0 0 (0/0/0) 0
    6 var wm 17424 - 23231 8.00GB (5808/0/0) 16779312
    7 unassigned wm 0 0 (0/0/0) 0
    Any help and/or links to information for proper setup of mirroring when using Solaris Volume Manager would be appreciated. I should mention that the system also uses Veritas Volume Manager 4.1, but only Solaris Volume Manager is in control of the mirroring.

    Duplicate slicing: prtvtoc /dev/rdsk/c1t0d0s7|fmthard -s - /dev/rdsk/c1t1d0s7
    Lather, rinse, repeat for each file system:
    metainit the bootable side of the mirror: metainit -f d71 1 1 c1t0d0s7.
    metainit the other side: metainit d72 1 1 c1t1d0s7.
    Attach one side of the mirror: metainit d70 -m d71
    When done: lockfs -fa;init 6
    Lather, rinse, repeat for each file system:
    After reboot attach the other side of the mirror: metattach d70 d72
    bash-3.00# metastat -p
    d70 -m d71 d72 1
    d71 1 1 c1t0d0s7
    d72 1 1 c1t1d0s7
    d50 -m d51 d52 1
    d51 1 1 c1t0d0s5
    d52 1 1 c1t1d0s5
    d10 -m d11 d12 1
    d11 1 1 c1t0d0s1
    d12 1 1 c1t1d0s1
    d0 -m d1 d2 1
    d1 1 1 c1t0d0s0
    d2 1 1 c1t1d0s0
    d60 -m d61 d62 1
    d61 1 1 c1t0d0s6
    d62 1 1 c1t1d0s6
    bash-3.00# cat /etc/vfstab
    #device         device          mount           FS      fsck    mount   mount
    #to mount       to fsck         point           type    pass    at boot options
    fd      -       /dev/fd fd      -       no      -
    /proc   -       /proc   proc    -       no      -
    /dev/md/dsk/d10 -       -       swap    -       no      -
    /dev/md/dsk/d0  /dev/md/rdsk/d0 /       ufs     1       no      -
    /dev/md/dsk/d70 /dev/md/rdsk/d70        /usr    ufs     1       no      -
    /dev/md/dsk/d50 /dev/md/rdsk/d50        /var    ufs     1       no      -
    /dev/md/dsk/d60 /dev/md/rdsk/d60        /opt    ufs     2       yes     -
    /devices        -       /devices        devfs   -       no      -
    ctfs    -       /system/contract        ctfs    -       no      -
    objfs   -       /system/object  objfs   -       no      -
    swap    -       /tmp    tmpfs   -       yes     -

  • Solaris 10 installation help

    has anyone installed solaris 10 on t60 with windows vista running? its failing on http://forum.java.sun.com/thread.jspa?threadID=5137822 step 23. please help .. any help would be greatly appreciated.
    Thank You
    Ben

    hi Ben
    the post u are reffering to is mine...now can u elaborate in details plz...
    what u mean by 't60' & i'm assuming u are trying to install Solaris, dual boot with Windows Vista?
    And exactly fails? what error message are u getting...
    - Jags Desai

  • New Solaris Rookie needs help.

    I am new with SUN Solaris, I mean I know nothing about it (I'm HP-UX SysAdmin). My boss gave me 3 additional Sun Solaris8 to manage. 2 are in production that I will not touch for now. 1 is test and learnig box - Sun E450. I re-installed Solaris8 OS on this test box. I get stuck with how do I find out the patches to install. I went to Sun web site and the list is too many patches, can't do one at a time. Is there a patch bundle for Solaris8 and how to install it? Thanks for your help.
    Ben

    Ah...okay...so...
    http://patches.sun.com/clusters/9_Recommended.README
    For example...has instructions on how to install the S9 recommended cluster.
    So...what you need to do is go to sunsolve.sun.com you'll find links to get patches. You can either download single patches or patch clusters (basically a giant group of patches that fix a whole bunch of stuff).

  • LTSP on Solaris 10: Kindly help

    Hi all,
    Is LTSP configuration possible on Solaris10? I have many old desktop machines which i would to use it as dumb terminals and configure the solaris server for LTSP. I have tested LTSP on Ubuntu 8.04 and it works.
    Kindly help
    Avinash

    I stumbled down the LTSP / dedicated X terminal route for years on Solaris, then Mandrake, Ubuntu and back to Solaris.
    In the end, I settled on Sun Ray appliances for a few reasons.
    * Lower per unit cost than LTSP/X machines. I picked up a batch of Sun Ray DTU appliaces for $6 each.
    * Much less bandwidth needed: no boot image and better image compression.
    * Automatic sound support. No configuration voodoo needed.
    * Much better responsiveness. It feels like a local machine for anything but games, video, etc.
    * Lower maintenance. Once set up on the server, just plug in and go. Zero appliance configuration.
    * Stupid simple multihead support.
    * Persistent mobile sessions. No need to log in and out.
    You may want to look at using Sun Ray terminals instead of old PC boxes.

  • Simple plans for setting up WebLogic 10.3.3 to run at boot in Solaris SMF?

    I need to set up WebLogic (AdminServer & NodeManager) to start at boot on a Solaris/X86 VM. They will be owned by a specific userid. Is there a shortcut guide to doing this with SMF on Solaris 10?
    Just so it's clear, I know how to start the AdminServer and NodeManager, I just need it done automatically at boot.

    Please remove <data-value name="LOCAL_JVMS"> tag, You are trying to install a JDK on /opt/JRE that for some reason this is being refused.
    If this don't works please show us your silent.xml file.
    Best regards.

  • XML view need to be modify -- help needed

    Hi,
    Please help me to modify this query to get the desired output specified as under.
    Actually i need to create a view which can result the XMLTYPE.getClobVal() , so required in one row.
    And I have used case to add different XML tags in between as per validation_id in table.
    Suggest any other best method to do this.
    Kindly revert me urgently.
    -Ajay
    Thanks in advance.
    Query:-
    select case when d.validation_id='LIST'
    then xmlagg(xmlelement(validation,xmlattributes('VALUESET' as "name"),xmlelement(parameter,xmlattributes('VALUESETNAME' AS "name", d.value_1 as "value" , d.app_id as "externalSource"))))
    when d.validation_id!='LIST' then xmlagg(xmlelement(validation,xmlattributes(d.validation_id as "name",c.error_message as "errrorMessage")))
    end from data_valid_xref d, table_definition t, data_valid_cfg c
    where t.column_name='check' and t.column_name=d.column_name and d.validation_id=c.validation_id
    group by d.validation_id
    <VALIDATION name="FORMAT" errrorMessage="Format validation failed"></VALIDATION>
    <VALIDATION name="LESS" errrorMessage="Less validation failed"></VALIDATION>
    <VALIDATION name="VALUESET"><PARAMETER name="VALUESETNAME" value="value_one" ext
    ernalSource="COMMON"></PARAMETER></VALIDATION>
    3 rows selected.
    Desired output
    <valueset>
    <VALIDATION name="FORMAT" errrorMessage="Format validation failed"></VALIDATION>
    <VALIDATION name="LESS" errrorMessage="Less validation failed"></VALIDATION>
    <VALIDATION name="VALUESET"><PARAMETER name="VALUESETNAME" value="value_one" ext
    ernalSource="COMMON"></PARAMETER></VALIDATION>
    </valueset>
    1 rows selected.

    You can add XMLAGG function to the output XML rows. Try this.
    SELECT xmlagg(xmlcol)
    FROM
      (SELECT(
       CASE
       WHEN d.validation_id = 'LIST' THEN xmlagg(xmlelement(validation,    xmlattributes('VALUESET' AS
         "name"),    xmlelement(parameter,    xmlattributes('VALUESETNAME' AS
         "name",    d.value_1 AS
         "value",    d.app_id AS
         "externalSource"))))
       WHEN d.validation_id != 'LIST' THEN xmlagg(xmlelement(validation,    xmlattributes(d.validation_id AS
         "name",    c.error_message AS
         "errrorMessage")))
       END) xmlcol
       FROM data_valid_xref d,
         table_definition t,
         data_valid_cfg c
       WHERE t.column_name = 'check'
       AND t.column_name = d.column_name
       AND d.validation_id = c.validation_id
       GROUP BY d.validation_id)

  • ODSEE 11g & Solaris SMF

    Hi experts,
    I'm using ODSEE 11.1.1.7.2 and its DSCC on Solaris 10. Start/stop at reboot is provided by rc.
    I'm guessing which would be the real benefits by integrating into SMF to manage ODSEE instances.
    I know that I would miss start/stop of instance from DSCC...
    What do you suggest?
    Many thanks and best regards.
    -rob

    Hi Rob.
    DSCC is able to manage ODSEE instances managed by SMF. For that, you need to use the enable-service command of dsadm. This will register your instance in SMF. At this point, dsam start/stop will go through SMF to start/stop the server. To be able to manage such instance, you just need a DSCC agent running as root (so that it can run svcadm command) and register your DS instance with this agent into DSCC. Then you can start/stop/configure your DS with DSCC.
    Regards,
    Carole.

  • Can�t upgrade Solaris 2.6 to Solaris 9 ? HELP

    Hi,
    I'm trying to upgrade one Sun Enterprise 3500 with Solaris 2.6 to new Solaris 9.
    I've already use SUNINSTALL and WEB START methods, without sucess.
    There is no error messages in WEB START method..
    When using "suninstall" method, I follow all the manual instructions with CLI mode and the instalation returns "install sucess", but when rebooting, some erros apears and starts a reboot cycle:
    ------ ERROR WITH SUNINSTALL ----------
    Use is subject to license terms.
    WARNING: add_spec: No major number for fp
    WARNING: add_spec: No major number for fp
    WARNING: add_spec: No major number for scsi_vhci
    WARNING: add_spec: No major number for fp
    WARNING: add_spec: No major number for scsi_vhci
    WARNING: mod_installdrv: no major number for fcp
    Cannot assemble drivers for root /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020372b4363,0:a
    Cannot mount root on /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w21000020372b4363,0:a fstype ufs
    panic[cpu14]/thread=140a000: vfs_mountroot: cannot mount root
    0000000001409970 genunix:vfs_mountroot+70 (0, 0, 0, 200, 14569d8, 0)
    %l0-3: 000000000144a400 000000000144a400 0000000001415bc8 0000000001415bd0
    %l4-7: 0000000001415800 0000000001411a80 000000000144ac00 000000000144dc00
    0000000001409a20 genunix:main+98 (1409ba0, f00584cc, 1409ec0, 32a7af, 2000, 500)
    %l0-3: 0000000000000001 0000000000000000 0000000001412b18 0000000078002000
    %l4-7: 000000000140a000 0000000000330000 0000000001480dc8 00000000010628d0
    skipping system dump - no dump device configured
    rebooting...
    Resetting...
    Software Power ON
    When using WEB START, the instalation gives some strange messages at the midle of wizard (using CLI), but continues the instalation. At the end, says "Installing Solaris Software Group", and shows a progression bar, but at same time, changes to prompt and without any error stops the installation. Some process are running but none indicates that install is in progress...
    ----- WITH WEB START ------ STRANGE MESSAGE:
    Reading disc for Solaris Operating Environment...
    The system is being initialized, please wait... \
    To perform an initial install of the Solaris Operating Environment select
    Initial Install. Existing contents of your hard disk will be destroyed.
    To perform an upgrade of the Solaris Operating Environment select Upgrade. The
    Solaris Operating Environment will be updated and other contents on the hard
    disk will be left unchanged. Backing up the existing Solaris Operating
    Environment is recommended.
    1. Initial Install
    2. Upgrade Install
    Select Upgrade or Initial install [1] 2
    Gathering upgrade information, please wait... \
    Could not reinitialize system state. Please exit the installer and restart the
    installation.
    <Press ENTER to continue|
    The system is being initialized, please wait../
    To install basic Solaris products into their default directory locations,
    select Default Install.
    Custom install provides a choice of which Solaris products to install. For each
    product, it also provides an option to customize the products install.
    Note: Default install is not possible. Default boot disk could not be
    determined.
    <Press ENTER to continue>
    Select the geographic regions and software localizations you want to install.
    The English version of Solaris will be installed by default.
    [ ] 0 Northern Africa
    [ ] 1 Eastern Europe
    [ ] 2 Southern Europe
    ------ AT THE END OF PROCESS -----
    Testing the upgrade profile, please wait... /
    The following items will be installed:
    Solaris Operating Environment: Solaris 9 Software 4/03
    Solaris Software Group: Entire Group
    Backup Media Type: None
    64-Bit Selection: Yes
    Region and Locales:
    Southern Europe
    Portuguese (Portugal) ( pt_PT )
    North America
    English (United States) ( en_US )
    English (POSIX C) ( C )
    System Locale: English (United States,ISO8859-1) ( en_US.ISO8
    Products:
    Solaris 9 Software Supplement CD 385.
    Java3D 1.2.1_04 18.3 MB
    OpenGL 1.3 105.7 MB
    PC launcher 1.0.2 0.9 MB
    RSC 2.2.1 8.8 MB
    Solaris On Sun Hardware Documentation
    SunATM 5.1 9.1 MB
    SunForum 3.2 27.1 MB
    <--[90%]--[ENTER To Continue]--[n To Finish]-->
    SunHSI PCI 3.0 0.5 MB
    SunVTS 5.1 PS2 124.4 MB
    Enter 'y' to accept these values and start the installation, or 'n' to
    return to the beginning and make changes (y/n): y
    Installing...
    Installing Solaris software group
    |-1%--------------25%-----------------50%-----------------75%--------------100%|
    # ps -ef
    UID PID PPID C STIME TTY TIME CMD
    root 0 0 0 17:50:55 ? 0:00 sched
    root 1 0 0 17:50:57 ? 0:01 /etc/init -r
    root 2 0 0 17:50:57 ? 0:00 pageout
    root 3 0 0 17:50:57 ? 0:11 fsflush
    root 80 1 0 17:51:57 console 0:00 /bin/ksh /sbin/disk0_install
    root 130 1 0 17:52:14 ? 0:00 /usr/sbin/syslogd
    root 7407 250 0 19:10:06 console 0:00 ps -ef
    root 32 1 0 17:51:01 ? 0:00 /usr/lib/sysevent/syseventd -r /tmp
    root 34 1 0 17:51:16 ? 0:00 /usr/lib/devfsadm/devfsadmd -r /tmp -p /tmp/root/etc/path_to_inst
    root 242 1 0 17:55:29 ? 0:02 /usr/sbin/nscd
    root 250 80 0 17:55:30 console 0:00 sh
    root 215 1 0 17:55:29 ? 0:00 /usr/sbin/rpcbind
    root 238 1 0 17:55:29 ? 0:00 /usr/sbin/inetd -s
    Any ideia whts going wrong?
    Thanks for your attention,
    Buy
    Angelo Faria

    Well, there is no replys to this, so I presume no one else had this problem...

  • Ldap authentication not working for Solaris 8 host - Help!

    Greetings folks,
    I just recently migrated a host to use LDAP authentication. The only difference between this host and the rest of the hosts in the environment that I've converted to use LDAP is that this one is running Solaris 8.
    Here's the steps I took to migrate it (though, I used the same steps for another Sol8 host in another environment and it works fine):
    ldapclient -P stg -d mydomain.com -D cn=proxyagent,ou=profile,dc=mydomain,dc=com -w secret 192.168.1.69
    My /etc/nsswitch.conf looks like this:
    passwd: files ldap
    group: files ldap
    My /etc/pam.conf looks like this:
    login auth requisite pam_authtok_get.so.1
    login auth required pam_dhkeys.so.1
    login auth sufficient pam_unix_auth.so.1
    login auth required pam_ldap.so.1
    sshd auth requisite pam_authtok_get.so.1
    sshd auth sufficient pam_unix_auth.so.1
    sshd auth required pam_ldap.so.1
    other auth requisite pam_authtok_get.so.1
    other auth required pam_dhkeys.so.1
    other auth sufficient pam_unix_auth.so.1
    other auth required pam_ldap.so.1
    passwd auth sufficient pam_passwd_auth.so.1
    passwd auth required pam_ldap.so.1
    I've also cleared out the local user accounts for my human users, so there aren't any more passwd or shadow entries (yes, I ran pwconv). I also cleaned out the /etc/group entries for the same users. The machine appears to be configured properly, because I can run various DS commands that indicate this:
    hostname# getent passwd user1
    user1::1001:1001:User 1:/opt/home/user1:/bin/bash
    hostname# ldaplist -l passwd user1
    dn: uid=user1,ou=people,dc=mydomain,dc=com
    shadowFlag: 0
    userPassword: {crypt}(removed)
    uid: user1
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: account
    objectClass: top
    cn: user1
    uidNumber: 1001
    gidNumber: 1001
    gecos: User 1
    homeDirectory: /opt/home/user1
    loginShell: /bin/bash
    However, in the end, actual logins to this host fail via ssh. Snooping the traffic reveals that all the right info is being handed back to the client, including the crypt'ed password hash, uid, etc. just like I see with other hosts that work.
    Any ideas?
    Thanks!
    Patrick

    I assume you have applied lastest kernel patch and 108993 to this Solaris8 machine, and its nss_ldap.so.1 and pam_ldap.so.1 are the same as the other Solaris8 LDAP clients that are working for ssh via LDAP auth.
    1) Please replace "objectClass: account" with "objectClass: person", I know SUN ONE DS5.2 likes "person".
    2) Did you test and verify telnet/ftp/su working? but SSH not working?
    3) If telnet/ftp/su all worked, and SSH (SUN-SSH or OpenSSH), make sure you have "UsePAM yes" in sshd_config and restart sshd.
    4) It is not a must I think but normally I will add "shadow: files ldap" to /etc/nsswitch.conf, restart nscd after that.
    5) Whenever ldapclient command is run and ldap_cachemgr is restarted, I usually also restart nscd and sshd after that, if not testing result may not be accurate as nscd is still remembering OLD stuffs cached which could be very misleading.
    6) You may use "ssh -v userid@localhost" to watch the SSH communications, on top of your usual "snoop"ing of network packets.
    7) Use the sample pam.conf that is meant for pam_ldap from Solaris 10 system admin guide with all the pam_unix_cred.so.1 lines commented out. This works for me, there is no sshd defintions as it will follow "other".
    http://docs.sun.com/app/docs/doc/816-4556/6maort2te?a=view
    Gary

  • Issue in compiling code on solaris 10 - please help

    I wanted to migrate old PRO *C source code to solaris 10 and oracle 10 enviroment, so copied all files , done settings and tried compiling it. It is giving below error. Any guess why it is happening?
    Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
    Error at line 69, column 2 in file /usr/include/sys/uio.h
    lloff_t uiooffset; /* file offset */
    .1
    PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
    g:
    } char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    The symbol "enum," was substituted for "lloff_t" to continue.

    I wanted to migrate old PRO *C source code to solaris 10 and oracle 10 enviroment, so copied all files , done settings and tried compiling it. It is giving below error. Any guess why it is happening?
    Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
    Error at line 69, column 2 in file /usr/include/sys/uio.h
    lloff_t uiooffset; /* file offset */
    .1
    PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
    g:
    } char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    The symbol "enum," was substituted for "lloff_t" to continue.

Maybe you are looking for