Solved

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

Posted on 2006-07-03
1
744 Views
Last Modified: 2013-11-17
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?  
0
Comment
Question by:Westez
1 Comment
 
LVL 22

Accepted Solution

by:
Rick Hobbs earned 250 total points
ID: 17054395
Answer to first question - Yes.

Answer to second question -
ps -ef|grep smdb
ps -ef|grep nmbd
ps -ef|grep swat
locate process_id_of_each
kill process_id_of_each

to start again - refresh -s inetd
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question