There are numbers of possible problems leading into this. Could be issued by running in restricted state or directly from console. Another option is not having Host Servers running or incorrect TCP configuration.
Review NETSTAT Option 3 to verify HostServers are started or restart them by doing: ENDHOSTSVR *ALL
STRHOSTSVR *ALL
Are the host servers started? If started, then try the following commands:
STRQSH
export -s CLASSPATH=/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar
java utilities.JPing localhost
This checks if toolbox whether able to connect to the local host servers. Something like this display if all is correct:
> java utilities.JPing localhost
Verifying connections to system localhost...
Successfully connected to server application: as-file
Successfully connected to server application: as-netprt
Successfully connected to server application: as-rmtcmd
Successfully connected to server application: as-dtaq
Successfully connected to server application: as-database
Successfully connected to server application: as-ddm
Successfully connected to server application: as-central
Successfully connected to server application: as-signon
Connection verified
$
- TCP/IP is not configured as expected on the system. Verify the TCP/IP configuration:
CFGTCP and select option 12. Change TCP/IP domain information.
Must have a host name and domain name.
The Host Name Search Priority should be set to *LOCAL
There should be at least one IP address listed under the Domain Name Server. If there are multiple addresses, each must be unique.
CFGTCP and select option 10. Work with TCP/IP host table entries.
Locate the host table entry for the system, What is the IP address associated with this entry?
This entry should contain the short name for the system (Host Name from CFGTCP option 12) and the long name (HostName.DomainName from CFGTCP option 12).
Use option 2=Change to make any changes, if necessary. There should not be any other Host Table Entries that have the same short and/or long name for the system.
CFGTCP and select option 2. Work with TCP/IP routes.
There should be a *DFTROUTE. The Next Hop should be valid as well.
CFGTCP and select option 1. Work with TCP/IP interfaces.
Locate the IP address shown for the system under CFGTCP option 10, then press F11=Display interface status.
This Interface should be ACTIVE
PING LOOPBACK and LOCALHOST and ensure it is successful. Both should return 127.0.0.1
- Other problem might be the exit program blockage. Exit programs for exit point QIBM_QPWFS_FILE_SERV and QIBM_QZRC_RMT. Do the following to check:
WRKREGINF
Locate exit point QIBM_QPWFS_FILE_SERV
select opt 8=work with exit programs
Is there an exit program? If so remove it
Locate exit point QIBM_QZRC_RMT
select opt 8=work with exit programs
Is there any exit programs? If so remove it
Press F12=cancel