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

Chapter 7 107
Samba/iX Services
Starting and Stopping Samba/iX
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 NAME
#J30 EXEC 10S LP NMBMON,MGR.SAMBA
#J31 EXEC 10S LP SMBMON,MGR.SAMBA
2. Use the following two commands to stop Samba/iX:
:abortjob #smbjobnumber
:abortjob #nmbjobnumber
NOTE Clients connected and writing to files will loose data if an abortjob is
done with clients active.
Initial Test With smbclient Utility
The smbclient utility provides access to SMB servers with an FTP-like
user interface. You can run smbclient utility on POSIX/Shell
environment.
Logon to your MPE system as mgr.samba: