1826341 Members
4253 Online
109692 Solutions
New Discussion

removing Samba

 
SOLVED
Go to solution
Olga_1
Regular Advisor

removing Samba

How to uninstall SAMBA?

Thank you.
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: removing Samba

Hi Olga,

How was it installed? If it was via swinstall, you need to use swremove. If it was any other method, you should be able to remove the target install directory (i.e. rm -rf /opt/samba). Also check for any startup/shutdown scripts and links and clean those up as well.


Pete

Pete
Sachin Patel
Honored Contributor

Re: removing Samba

Olga,
run /usr/sbin/swlist if you see samba or CIFS then use swremove to remove them (cifs is hp's samba).
If someone has install samba by compiling then find out where it is.
Most problable it is in /opt/samba or /usr/local/samba.

Remove that directory. Remove startup script from /sbin/init.d/

Sachin
Is photography a hobby or another way to spend $
Olga_1
Regular Advisor

Re: removing Samba

Thank you Pete.
Will I need to reboot?
Bill Flores_1
New Member

Re: removing Samba

Olga,

You don't have to reboot after removing Samba.
Olga_1
Regular Advisor

Re: removing Samba

Bill, did you use swremove?
Sachin Patel
Honored Contributor

Re: removing Samba

Olga,
You don't have to reboot in anycase.

Just kill any smb or nmb process.

Sachin
Is photography a hobby or another way to spend $
Steven E. Protter
Exalted Contributor

Re: removing Samba

If samba was installed with a DEPOT it will show up on swlist as CIFS/9000

As root:

/sbin/init.d/samba stop

[425#] swlist -l product | grep CIFS
CIFS-Client A.01.08 HP CIFS/9000 Client
CIFS-Development A.01.09.02 CIFS/9000 server source code files
CIFS-Server A.01.09.02 CIFS/9000 (Samba) File and Print Services



swremove these products and you're done.

It removes the startup files and such itself.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com