Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

104 Chapter7
Samba/iX Services
Starting and Stopping Samba/iX
Starting Samba/iX Under the INETD Control
If you choose to run SMBD and NMBD processes under control of
INETD, you should have new entries in SERVICES.NET.SYS and
INETDCNF.NET.SYS and then you have to create symbolic links to make
SERVICES.NET.SYS link to /etc/services and INETDCNF.NET.SYS
symbolic links to /etc/inetd.conf respectively. Perform the following
steps:
1. Logon as manager.sys.
2. Copy SERVSAMP.NET.SYS file to SERVICES.NET.SYS if
SERVICES.NET.SYS doesn’t exist. The following two entries should
exist in file SERVICES.NET.SYS:
nmbp 137/udp
smbp 139/tcp
3. Copy INCNFSMP.NET.SYS file to INETDCNF.NET.SYS if
INETDCNF.NET.SYS doesn’t exist, the following two entries should
exist in file INETDCNF.NET.SYS:
nmbp dgram udp wait MGR.SAMBA /SYS/SAMBA/NMBD nmbd
smbp stream tcp nowait MGR.SAMBA /SYS/SAMBA/SMBD smbd
4. Use the following two commands to create symbolic links to make
SERVICES.NET.SYS link to /etc/services and INETDCNF.NET.SYS
links to /etc/inetd.conf, respectively:
:newlink /etc/services, /SYS/NET/SERVICES
:newlink /etc/inetd.conf, /SYS/NET/INETDCNF
5. Stream JINETD.NET.SYS to start SMBD listener and NMBD server
(or use INETD -c to reread configuration file if INETD is already
running.)
6. Use SHOWOUT JOB= Jobnumber
7. Print Oxxx.OUT.HPSPOOL to check for any problems in the spool files.
In case of problems, check for the job listings for useful error messages
and look into the Samba/iX log file /usr/local/samba/var/log.smb
and log.nmb for hints. You can control the amount of log messages with
the “debug level” directive inside the config file.
Stopping Samba/iX
It is important to shutdown Samba/iX before bringing the system down.
You can use the following commands to stop Samba/iX:
1. Use SHOWJOB to see if the jobs stay alive, it can look as follows:
JOBNUM STATE JIN JLIST JOB
#J30 EXEC 10S LP NMBMON,MGR.SAMBA
#J31 EXEC 10S LP SMBMON,MGR.SAMBA