samba installation

Hi All,

I want to install Samba packages in my server...I saw the processes that are related to samba are running.

Being root, i dont have full permissions to stop samba and start it.

I dont know whether i can kill the samba process.

I was told to install samba on the system...

Any one have any idea on this how to stop samba and install .....

either kill the smbd daemon or try stopping the process.
with the ps -ef command you can identify the processes of the deamons : /usr/local/samba/bin/nmbd and /usr/local/samba/bin/smbd or /opt/samba/bin/startsmb and /opt/samba/bin/stopsmb.
try killing these processes an remove the files :b:

Hi ,

Thanks for ur reply...

I thought of ur suggestion , but left it bcos after killing ,

can i able to start samba....

I want to ask one thing ...eventhough i am root , why i cant stop it...

If you are running Solaris 10, the SMF might be restarting it after you kill it...

But at first, did you try to stop it gracefully?
Instead of using the kill -9 , you could try pkill -HUP smbd , then grep for the sm b process and see if its still there.
svcs |grep -i smb OR svcs |grep -i samba <- Is there anything ?

Hi incredible...

Thanks for ur input ...it worked..