In response to the e-mail I received
I tried to enable it again, here it is again --
Yes, the files in question are in /etc/sfw/smb.conf

==================================================
bash-3.00# svcadm enable samba

bash-3.00# svcs -l samba
fmri         svc:/network/samba:default
name         SMB file server
enabled      true
state        offline
next_state   none
state_time   Thu Apr 06 08:40:52 2006
restarter    svc:/system/svc/restarter:default
dependency   require_all/error file://localhost/etc/nsswitch.conf (online)
dependency   require_any/none svc:/network/loopback (online)
dependency   require_all/none svc:/network/physical (online)
dependency   require_all/restart file://localhost/etc/sfw/smb.conf (online)

bash-3.00# svcs -vx samba
svc:/network/samba:default (SMB file server)
 State: offline since Thu Apr 06 08:40:52 2006
Reason: Unknown.
   See: http://sun.com/msg/SMF-8000-AR
   See: man -M /usr/sfw/man -s 1m smbd
   See: man -M /usr/sfw/man -s 4 smb.conf
Impact: This service is not running.

bash-3.00# cat /etc/release
                            Solaris Nevada snv_36 X86
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 20 March 2006
bash-3.00#   
==============================================================

NOW follow this !!!!
bash-3.00# ps -ef | grep smbd
    root 12969 10972   0 01:38:31 ?           0:00 /usr/sfw/sbin/smbd -D 
/etc/sfw/smb.conf
    root 12979 12969   0 01:39:01 ?           0:00 /usr/sfw/sbin/smbd -D 
/etc/sfw/smb.conf
bash-3.00# kill -9 12969 12979
bash-3.00# ps -ef | grep smbd                                  NOTE: ALL  samba 
killed 

NOTE: NEW smbd started 

bash-3.00# /usr/sfw/sbin/smbd -D /etc/sfw/smb.conf &
[1] 13262
bash-3.00# ps -ef | grep smbd
    root 13262 13190   1 08:52:16 pts/2       0:00 /usr/sfw/sbin/smbd -D 
/etc/sfw/smb.conf
bash-3.00# uname -a
SunOS samba 5.11 snv_36 i86pc i386 i86pc

bash-3.00# ps -ef | grep smbd
    root 13272 13190   0 08:52:52 pts/2       0:00 grep smbd
    root 13270 10972   0 08:52:46 ?           0:00 /usr/sfw/sbin/smbd -D 
/etc/sfw/smb.conf
[1]+  Done                    /usr/sfw/sbin/smbd -D /etc/sfw/smb.conf

 NOTE: This Done line came on the screen 

bash-3.00# uname -a
SunOS samba 5.11 snv_36 i86pc i386 i86pc

bash-3.00# ps -ef | grep smbd                 NOTE: -- Still running!!! 
    root 13270 10972   0 08:52:46 ?           0:00 /usr/sfw/sbin/smbd -D 
/etc/sfw/smb.conf
bash-3.00# 
---------------
-- Thanks   Nil
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to