[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2006-07-03
1
Medium Priority
?
750 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
Suggested Courses

649 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