Smf managed service not starting


 
Thread Tools Search this Thread
Operating Systems Solaris Smf managed service not starting
# 1  
Old 10-06-2008
Smf managed service not starting

Hi Experts,

While playing with smf in my local system ( which is not in production ) i am unable to restart the service svc:/network/nfs/server:default . I tried starting it in different way, however unable to restart the same.

I was checking the dependency for that I disabled the service svc:/network/nfs/mapid:default

Then later I enable the above service and tried enabling the service

svc:/network/nfs/server:default

No luck Smilie.

Later I tried restoring the smf service by running the script available on the below path

/lib/svc/bin/ ./restore_repository and rebooted the system , still no success Smilie.

Please help and also suggest where I went wrong in the entire process .

Thanks
# 2  
Old 10-06-2008
Did you configure the system to share some filesystems ?
nfs/server won't run if it has nothing to do.
# 3  
Old 10-06-2008
Thanks bro,

I do not have any nfs file to share.

But is't it should start the services once I am trying to start manually
# 4  
Old 10-06-2008
I guess its starts but quickly ends when detecting it has nothing to do.
# 5  
Old 10-06-2008
if nothing is shared in /etc/dfs/dfstab the service won't start!
# 6  
Old 10-07-2008
Thanks guys,

I have one more question .

Once I open /etc/dfs/dfstab i do not see any nfs file entry there, however once I run the command df –n , there are couple of nfs file system are visible.

How that’s possible.

Thanks again in anticipation
# 7  
Old 10-07-2008
this are nfs shares from OTHER servers!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Service smf ntp maintenance

Hello, My ntp service goes in maintenance mode in Solaris 11. I do "svcadm clear ntp", the service is back but after 1 minute it crashes but automatically restarted. After the third attempt it goes in maintenance again : After the clear : 1 minute later it crashes but it is... (2 Replies)
Discussion started by: bob74350
2 Replies

2. AIX

[Tip] Using DHCP for Managed Systems Service Processors

This is a warning because we just went through searching for the error for some weeks. In many cases the managed systems (respectively their service processors) reside on their own network, together with the HMC(s) managing them. In this setup usually the HMC acts as DHCP server for the service... (0 Replies)
Discussion started by: bakunin
0 Replies

3. Solaris

How to make SMF service start last?

I need to start a service among the last on a freshly booted system. Via the manifest, I've made it dependent on very milestone on the computer yet the service still comes back with an error that a kstat variable in the kernel does not exist. I run it right the service process right there... (6 Replies)
Discussion started by: JWH
6 Replies

4. Solaris

removing associated processes from a SMF service

I'm running Tibco Hawk (hawkhma and agent) on a number of solaris 10 boxes (both x86 and Sparc). Tibco Hawk is a monitoring system, that can monitor processs and logs on the OS and applications. It also have the ability to start a process, if it for some reason, have died. I have implemented... (2 Replies)
Discussion started by: u_paludan
2 Replies

5. Solaris

Service shutdown sequence via SMF

Hi all, Is there any way to configure a certain service to be shutdown first via SMF? Thanks in advance Eugene (2 Replies)
Discussion started by: srage
2 Replies

6. Solaris

Service shutdown sequence via SMF

Hi all, Is there any way to configure a certain service to be shutdown first via SMF? Thanks in advance Eugene (1 Reply)
Discussion started by: srage
1 Replies

7. Solaris

Permission denied in SMF service log

I can't get the exact error message because I am at home, but on Solaris 10u5 machine I have at work, a few services are stuck in the maintenance state with the following error message in the individual service logs (/var/svc/log/FMRI:instance.log): Cannot chdir: permission denied Fortunately... (2 Replies)
Discussion started by: ilikecows
2 Replies

8. Solaris

Apache 2 doesnt create SMF service at installation

Hello everybody, I intended to use Apache 2 first time on my S10 U7 box. But the package (V2) is not ok for the developpers and they need 2.2.12 somehow. I removed Apache 1.3 and installed 2.2.12 with the stream package which I downloaded from Sunfreeware.com It's running perfectly if I start... (2 Replies)
Discussion started by: shadowfaxxxx
2 Replies

9. Solaris

SMF service HELP

I would like to run command whenever system boot up, i.e "/opt/admin/script/closegen -c /opt/share/script/colsehg" How do I integrate above command in to SMF services. -sam (1 Reply)
Discussion started by: sam786
1 Replies

10. Web Development

managed service reccomendations

Dunno If its ok to post this, but I am looking for a company to manage our linux server. If the company is a specialist in security issues then that would be ideal Thanks Ed (5 Replies)
Discussion started by: edzillion
5 Replies
Login or Register to Ask a Question