LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-10-2010, 02:19 PM   #1
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
svcadm: Pattern 'nfs/status' doesn't match any instances


I'm trying to share a folder via NFS from a Sol 10 (127127-11) server. I edited dfstab:
Code:
share -F nfs -o rw=shostname -d "IS"  /usr/path
Then I try to enable the service:

Code:
$ sudo svcadm -v enable -r nfs/server
svc:/network/nfs/server:default enabled.
svc:/milestone/network enabled.
svc:/network/loopback enabled.
svc:/network/physical enabled.
svc:/network/nfs/nlockmgr enabled.
svc:/network/rpc/bind enabled.
svc:/system/filesystem/minimal enabled.
svc:/system/filesystem/usr enabled.
svc:/system/boot-archive enabled.
svc:/system/filesystem/root enabled.
svc:/system/device/local enabled.
svc:/system/identity:node enabled.
svc:/system/sysidtool:net enabled.
svc:/milestone/single-user:default enabled.
svc:/milestone/devices enabled.
svc:/system/device/fc-fabric enabled.
svc:/system/sysevent enabled.
svc:/system/manifest-import enabled.
svc:/system/filesystem/local:default enabled.
svc:/milestone/single-user enabled.
svc:/system/filesystem/minimal:default enabled.
svc:/system/identity:domain enabled.
svcadm: No such service "svc:/network/nfs/status".
svc:/system/filesystem/local enabled.
$ svcs -a | grep nfs
disabled       May_17   svc:/network/nfs/cbd:default
online         15:11:59 svc:/network/nfs/mapid:default
offline        May_17   svc:/network/nfs/nlockmgr:default
offline        May_17   svc:/network/nfs/client:default
offline        15:11:47 svc:/network/nfs/server:default
The only thing in network-nfs-server:default.log is "[ Jun 10 15:11:47 Enabled. ]", and there's nothing from today in network-nfs-status:default.log (last entry June 3).

I can't manually enable nfs/status because it "doesn't match any instances".

But as far as I can see I have the right files installed:
Code:
$ pkginfo | grep nfs
system      SUNWnfsckr                       Network File System (NFS) client kernel support (Root)
system      SUNWnfscr                        Network File System (NFS) client support (Root)
system      SUNWnfscu                        Network File System (NFS) client support (Usr)
system      SUNWnfsskr                       Network File System (NFS) server kernel support (Root)
system      SUNWnfssr                        Network File System (NFS) server support (Root)
system      SUNWnfssu                        Network File System (NFS) server support (Usr)
$ more /var/sadm/install/contents | grep "/var/svc/manifest/network/nfs"
/var/svc/manifest/network/nfs d none 0755 root sys SUNWnfssr SUNWnfscr
/var/svc/manifest/network/nfs/cbd.xml f manifest 0444 root sys 2204 53695 1106350153 SUNWnfscr
/var/svc/manifest/network/nfs/client.xml f manifest 0444 root sys 2980 51885 1106350149 SUNWnfscr
/var/svc/manifest/network/nfs/mapid.xml f manifest 0444 root sys 2364 975 1106350150 SUNWnfscr
/var/svc/manifest/network/nfs/nlockmgr.xml f manifest 0444 root sys 2204 53993 1166763677 SUNWnfscr
/var/svc/manifest/network/nfs/rquota.xml f manifest 0444 root sys 2288 62355 1106350149 SUNWnfssr
/var/svc/manifest/network/nfs/server.xml f manifest 0444 root sys 3333 18726 1106350148 SUNWnfssr
/var/svc/manifest/network/nfs/status.xml f manifest 0444 root sys 2023 38699 1106350152 SUNWnfscr
And /var/svc/manifest/network/nfs/status.xml exists and is identical as on another Sol 10 server (the one I'm going to be mounting the export on).

I did try removing and readding 138217-01 because it seemed like the most recent patch I had to include SUNWnfscr, but that didn't work.

How do I get it back?
 
Old 06-10-2010, 06:22 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
That's a bit odd.

Try re-importing the manifest:
# svccfg import /var/svc/manifest/network/nfs/status.xml

Dave
 
Old 06-11-2010, 08:23 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
That did it, thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Match pattern and replace sol_nov Programming 7 11-30-2009 08:23 PM
[SOLVED] Adding (not replacing) a pattern match with a similar pattern? b-bri Linux - Newbie 2 08-31-2009 12:36 AM
printing pattern match and not whole line that matches pattern Avatar33 Programming 13 05-06-2009 06:17 AM
perl pattern match question lluciano Programming 4 02-28-2006 05:59 AM
svcadm: Pattern 'apache' doesn't match any instances xpucto Solaris / OpenSolaris 8 02-19-2006 07:30 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration