Configuring and Managing MPE/iX Internet Services (August 2002)
Chapter 7
Samba for MPE/iX Services
Starting and Stopping Samba for MPE/iX
104
Starting Samba for MPE/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. You will then 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. If you run the
Samba for MPE/iX version 1.9.16p9, 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
If you run the version of Samba for MPE/iX 2.0.7, the following two entries should exist in file
INETDCNF.NET.SYS:
nmbp dgram udp wait MGR.SAMBA /SYS/SAMBA/NMBD207 nmbd
smbp stream tcp nowait MGR.SAMBA /SYS/SAMBA/SMBD207 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 the
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 for MPE/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.
NOTE The new version of Samba for MPE/iX 2.0.7 is released as the official patch/6.5. The Samba for
MPE/iX 2.0.7 software resides inside the SAMBA account in HFS directories under
/SAMBA/SMB207 after you install the official release patch for Samba. The current version of
Samba for MPE/iX 1.9.16p9 still exists inside the SAMBA account in HFS directories under
/SAMBA/PUB.
You can run only one version of Samba for MPE/iX at a time.
Stopping Samba for MPE/iX
It is important to shutdown Samba for MPE/iX before bringing the system down. You can use the following
commands to stop Samba for MPE/iX:
1. Use SHOWJOB to see if the jobs stay alive; it can look as follows: