Solved

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

Posted on 2006-07-03
1
742 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:
rickhobbs earned 250 total points
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now