-   AIX (
-   -   Starting Samba (

agallant 10-19-2004 09:01 AM

Starting Samba
How do i start samba in AIX? i tired google and could not find out how to. Good news it that i got it as well as webmin installed so thanks to every one who helped with that.


crabboy 10-19-2004 09:51 AM

Is samba installed? It does not come by default on AIX.

Depending on which package you download and install, or if you do it from source will determin how to run it.

Some packages will mkssys it into the SRC (System Resource Controller) for you and others, as well as the sources package, you will likely have to create a script in /etc/rc.d/rc2.d to start.

Mark Taylor 10-19-2004 09:53 AM

did you get an rc.samba with your samba installation ?

if so then ./rc.samba start ...

this is a perl script that starts smdb and nmdb with the -D flag....

Mark Taylor

agallant 10-19-2004 10:19 AM

What is the script that i will have to write also as for the ./rc.samba start it did not work. I did install it from

AIX Version 5
(C) Copyrights by IBM and by others 1982, 2002.
login: root
root's Password:
* *
* *
* Welcome to AIX Version 5.2! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
Last unsuccessful login: Mon Oct 18 12:11:27 CDT 2004 on ftp
Last login: Tue Oct 19 09:40:58 CDT 2004 on ftp from ::ffff:

# ./rc.samba start
ksh: ./rc.samba: not found.

zorba4 10-19-2004 01:27 PM

Have a look here :

Mark Taylor 10-21-2004 05:17 AM

>># ./rc.samba start
>>ksh: ./rc.samba: not found.

(_8(|) - d'oh

yeah, of course its not in your home directory, did you run a find command to locate it ?

the "./" was to indicate that you were in the directory where the rc.samba script was located.

this command will find it if its on your system, run as root.

find / -name rc.samba 2>/dev/null


Tranvan 10-31-2004 01:22 AM

I need to learn how to start and configure samba on AIX 5.2. I installed samba level on AIX 5.2. all information I found so far only apply to older level of samba (2.x). Please help. Thanks. Van

zorba4 10-31-2004 06:30 AM

@Tranvan : read the paper I mentionned here above, it shows how to start Samba on AIX, it's quite classical : copy the sample configuration file, startup the daemons and the use the GUI.

I just did it a gain, only page 12 the documentation is enough : it tells you how to update /etc/inetd.conf in order to startup the daemons, and then use swat in order to configure users, shares and printers.

All times are GMT -5. The time now is 12:54 AM.