0 Replies Latest reply: Jul 1, 2014 3:48 PM by J Peters-Oracle RSS

    Solaris 11.1 network configuration dependency netadm and default project

    J Peters-Oracle

      Solaris 11.1 network configuration is dependent upon the "netadm" system account membership to the "default" project.

       

      root@#uname -v

      11.1

       

      Example of improperly configured "default" project,

       

      root@# grep default /etc/project

      #default:3::::

       

      root@# id -p netadm

      uid=16(netadm) gid=65(netadm) projid=(NONE)

       

      root@# su - netadm

      May 6 22:31:07 su: pam_unix_cred: no default project for user netadm

      No default project!

      su: unable to set credentials

       

      Network configuration failure mode is as follows:

       

      Excerpt /var/adm/messages,

       

      May 2 20:30:51 HOSTNAME svc.startd11: http://ID 748625 daemon.error network/locaton:upgrade failed: transitioned to maintenance (see 'svcs -xv' for details)

       

      root@:/var/svc/log# svcs -xv svc:/network/location:upgrade

      svc:/network/location:upgrade (?)

      State: maintenance since May 2, 2014 08:30:51 PM UTC

      Reason: Method failed.

      See: http://support.oracle.com/msg/SMF-8000-8Q

      See: /var/svc/log/network-location:upgrade.log

      Impact: 10 dependent services are not running:

      svc:/network/physical:default

      svc:/milestone/network:default

      svc:/network/nfs/client:default

      svc:/network/iscsi/initiator:default

      svc:/system/ocm:default

      svc:/network/shares:default

      svc:/system/fcoe_initiator:default

      svc:/network/iptun:default

      svc:/network/location:default

      svc:/network/ssh:default

       

      root@:/var/svc/log# tail -4 network-location:upgrade.log

      May 2 20:30:22 Leaving maintenance because disable requested. ]

      May 2 20:30:22 Disabled. ]

      May 2 20:30:51 Enabled. ]

      May 2 20:30:51 Missing passwd or project entry for ":default". ]

       

      The contents of "/etc/project" should include the following,

       

      root@# cat /etc/project

      system:0::::

      user.root:1::::

      noproject:2::::

      default:3::::

      group.staff:10::::

       

      The "netadm" account should be of following form,

       

      root@# id -p netadm

      uid=16(netadm) gid=65(netadm) projid=3(default)