Solved

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

Posted on 2006-07-03
1
748 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

688 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