Configuring and Managing MPE/iX Internet Services (July 2001)
Chapter 7 113
Samba for MPE/iX Services
Starting and Stopping Samba for MPE/iX
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.