285 pts.
 Starting SMTP in AS/400
I have problem on starting of SMTP. I already start the smtp using STRTCPSVR SERVER(*SMTP) but it does not start and no joblogs. I also try this on navigator. Righclick the SMTP then start but it does not started also. How to fix this problem? anyone? Thanks

Software/Hardware used:
ASKED: August 4, 2010  9:19 AM
UPDATED: October 18, 2011  1:16 AM

Answer Wiki:
Hi , I am also facing the similar problem when check my log i am getting this msg Message . . . . : Job 021568/QTCP/QTSMTPSRVD started on 09/11/10 at 15:29:03 in subsystem QSYSWRK in QSYS. Job entered system on 09/11/10 at 15:29:03. Message . . . . : Job 021571/QTCP/QTSMTPSRVD ended on 09/11/10 at 15:29:03; 1 seconds used; end code 0 X. Cause . . . . . : Job 021571/QTCP/QTSMTPSRVD completed on 09/11/10 at 15:44:37 after it used 1 seconds processing unit time. The job had ending code 0. The job ended after 1 routing steps with a secondary ending code of 0. The job ending codes and their meanings are as follows:
Last Wiki Answer Submitted:  November 9, 2010  12:03 pm  by  BISHT321   245 pts.
All Answer Wiki Contributors:  BISHT321   245 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

How to fix this problem?

Until we know what the problem is, we can’t guess how to fix it.

but it does not start and no joblogs.

No joblogs for what? No joblog for your interactive job? The STRTCPSVR command runs and doesn’t put any messages at all in your joblog? It doesn’t log a message telling you that the service started or that the service failed to start? What does show up in your joblog?

If nothing is in your joblog, what is the LOG() attribute of your job?

I also try this on navigator. Righclick the SMTP then start but it does not started also.

What does your history log show at the time that you tried to start SMTP?

Have you configured SMTP? (Have you configured TCP/IP?) What attributes do you have set for SMTP? Use the CHGSMTPA to bring up the SMTP attributes.

Tom

 108,310 pts.

 

Check this:
On command line, key NETSTAT
Then take option #1
Check inserface status – must be Active

 315 pts.

 

Hi, I got the same problem..
Interface is active.
SMTP some settings
“Autostart server . . . . . . . . *YES”
Automatic registration . . . . . *NO
User ID prefix . . . . . . . . QSM
Address . . . . . . . . . . . QSMRMTAD
System name . . . . . . . . TCPIP
Alias table type . . . . . . . *SYSTEM
Mail router . . . . . . . . . . (here is my Mail Server IP MS Exchange Server)

STRTCPSVR *SMTP said STMP started, but in iSeries Navigator is stopped
and no logs, can you help me?

Thanks

 10 pts.