My Oracle Support Banner

SMF service fails with 'svc.startd could not set context for method' and 'chdir: No such file or directory' (Doc ID 1615161.1)

Last updated on SEPTEMBER 18, 2024

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Symptoms

Some of the SMF services refuse to start and go into the 'maintenance' state.

 

Example:

# svcs-xv

...
svc:/network/location:upgrade (?)
State: maintenance since Wed Jan 15 16:43:56 2014
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
 See: http://support.oracle.com/msg/SMF-8000-KS
 See: /var/svc/log/network-location:upgrade.log
Impact: 9 dependent services are not running:
      svc:/network/physical:default
      svc:/milestone/network: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
...
offline        -             16:43:40         - svc:/network/physical:default
offline        -             16:43:40         - svc:/network/location:default
offline        -             16:43:40         - svc:/milestone/network:default
offline        -             16:43:41         - svc:/network/iptun:default
offline        -             16:43:41         - svc:/network/ssh:default
offline        -             16:43:41         - svc:/network/iscsi/initiator:default
offline        -             16:43:43         - svc:/network/shares:default
offline        -             16:43:45         - svc:/system/ocm:default
offline        -             16:43:45         - svc:/system/fcoe_initiator:default
maintenance    -             16:43:56         - svc:/network/location:upgrade
...

 

In the log file of the SMF service (per svcs -xv output) the following can be seen:

...
[ Jan 10 12:56:38 Executing start method ("/lib/svc/method/net-loc upgrade"). ]
[ Jan 10 12:56:38 svc.startd could not set context for method:  ]
chdir: No such file or directory
[ Jan 10 12:56:38 Method "start" exited with status 96. ]
...

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.