Link to home
Start Free TrialLog in
Avatar of Westez
Westez

asked on

Samba install, how to start daemons manually and on reboot?

AIX 5.2 is the os level. Samba 3.0.22, I pulled the binaries from Samba's site http://us1.samba.org/samba/ftp/Binary_Packages/AIX/.  They extracted to /opt/Samba/3.0.22/.  The snmd, nmbd, swat, and winbindd, all are in /opt/Samba/3.0.22/sbin/.  I have an old doc from IBM that says to modify the /etc/services and /etc/inetd.conf adding these lines, for installing Samba 2 on Aix 4.3.

/etc/services
netbios-ns 137/udp
netbios-ssn 139/tcp
swat 901/tcp

/etc/inetd.conf
netbios-ssn stream tcp nowait root /opt/Samba/3.0.22/sbin/smbd smbd
netbios-ns dgram udp wait root /opt/Samba/3.0.22/sbin/nmbd nmbd
swat stream tcp nowait.400 root /opt/Samba/3.0.22/sbin/swat swat

After editing the files, type refresh -s inetd

So I'm asking is this the proper syntax and files that need to be modified to set this up in Aix 5.2 so the daemons start automatically on a reboot of the server.
And, what's the syntax to stop and start these daemons manually?  
ASKER CERTIFIED SOLUTION
Avatar of Rick Hobbs
Rick Hobbs
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial