svcs command shows the state as disabled


 
Thread Tools Search this Thread
Operating Systems Solaris svcs command shows the state as disabled
# 1  
Old 11-18-2011
svcs command shows the state as disabled

Hi

I need to export a directory named /sybase from my solaris machine via NFS. The svcs command shows the state as disabled. Please let me know how to export the directory.

Once the directory is exported from the solaris machine it has to be mounted locally in an aix machine. Can some one tell me the commands to do this.

Code:
cbspsrd01:# uname -X
System = SunOS
Node = cbspsrd01
Release = 5.10
KernelID = Generic_142909-17
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 32

0:0:0 /
cbspsrd01:# svcs network/nfs/server
STATE          STIME    FMRI
disabled       14:03:43 svc:/network/nfs/server:default

# 2  
Old 11-18-2011
Add this to /etc/dfs/dfstab:
Code:
share -F nfs /sybase

Then run
Code:
shareall

# 3  
Old 11-21-2011
Hi,

First you have to enable NFS then start sharing...

#svcadm enable nfs and check the /etc/services,port numbers..

it will help to you. if any questions let me know...Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Metastat shows state needs maintenance

Hi, We have a Solaris 10 machine with update 11 and was configured with IBM storage. It was assigned 2 LUNs (each 70GB) which were striped to make it 140GB. we have taken full backup of entire machine and Our storage team replaced IBM storage with Nimble storage (they did storage-level... (6 Replies)
Discussion started by: prvnrk
6 Replies

2. UNIX for Dummies Questions & Answers

Ls command shows : NOT A DIRECTORY

I am working on ksh shell. In some folders if i write ls *MYFILE* > NEWFILE then it shows error on few files as <filename>/:NOT A DIRECTORY i have around 9 thousand files in this folder and out of them around 61 are showing error. However, when i created softlink of that directory and... (3 Replies)
Discussion started by: JYOTIHA
3 Replies

3. Solaris

FATAL: system is not bootable, boot command is disabled

Dear all, I Need your help,my server v240 with sun solaris 10 can't remote login.I try conncet via rsc and then go to OK prom....and i get the status : {1} ok boot -a FATAL: system is not bootable, boot command is disabled {1} ok boot cdrom -s FATAL: system is not bootable, boot command is... (2 Replies)
Discussion started by: fredginting
2 Replies

4. Shell Programming and Scripting

Check & use output of svcs command

Hello Dear Friends, I need to check output of svcs command and so the status of some instances. -bash-3.00$ svcs -a | grep rfe online Aug_04 svc:/application/rfe/rfe_master_3:default online Aug_04 svc:/application/rfe/rfe_master_4:default as you can see there are two... (1 Reply)
Discussion started by: EAGL€
1 Replies

5. AIX

Command that shows mem slots

A while back I had a command that shows the memory slots (and info on the modules inserter) in an IBM AIX machine. I cannot remember it at this time, can someone help me out with this command please? (4 Replies)
Discussion started by: bbbngowc
4 Replies

6. UNIX for Advanced & Expert Users

Need svcs equivalent command

Hi, I am new to HP-UX. Can someboby help me with the svcs equivalent command in HP-UX ??? svcs is command that we use in Solaris for service status. I need to get the status of services in HP-UX. Thanks in advance. (2 Replies)
Discussion started by: EmbedUX
2 Replies

7. Linux

Command for list of active/disabled users

Hi, I want to know the command for finding out the list of active/disabled users in Linux System. Model:x86_64. Rev:2.6.9 Thanks in advance for your help Mike (1 Reply)
Discussion started by: Mike1234
1 Replies

8. Solaris

svcs command on solaris 8 and 9

Hi, Can anybody tell me what is the command to start and stop services on solaris 8. I found command svcs on solaris 10 but not on 8 or 9. Please guilde me. Thanks, Rucha (7 Replies)
Discussion started by: rucha_mahajan
7 Replies

9. UNIX for Advanced & Expert Users

inetd smserver state disabled

Since a third party supplier upgraded our solaris server from version 8 to 10 the automatic mounting of the CD drive has stopped. I have ran that inetadm command and can see that the smserver shows as enabled but the STATE is disabled. Is there a command I can run that will show the state of... (1 Reply)
Discussion started by: miredale
1 Replies

10. UNIX for Advanced & Expert Users

who -9 command shows logged out users

List using 'who -u' command shows logged out user name along with active users. 'kill -9' command fails to kill the user as there no prcess is running. Any solution regarding this problem. (5 Replies)
Discussion started by: utpol_68
5 Replies
Login or Register to Ask a Question