View Full Version : FTP start
Guest.Visitor
01-01-1995, 02:00 AM
I can start FTP but it ends immediately. The job log is not very enlightening. Can anyone suggest things to try. All other TCP/IP applications seem to work OK. e.g. HTTP, TelNet, WSG (apart from signing on again) etc. Thanks in advance
Guest.Visitor
11-01-2000, 11:07 AM
Is there anything in the job log that you might be able to share? Dave
Guest.Visitor
11-02-2000, 01:45 PM
First make sure FTP is registered. Use WRKREGINF to determine.Scroll down and you should see: QIBM_QTMF_CLIENT_REQ VLRQ0100 *YES FTP Client Request Validati QIBM_QTMF_SERVER_REQ VLRQ0100 *YES FTP Server Request Validati QIBM_QTMF_SVR_LOGON TCPL0100 *YES FTP Server Logon QIBM_QTMF_SVR_LOGON TCPL0200 *YES FTP Server Logon If not, use this command to register FTP: CALL PGM(QTCP/QTMFEXIT) PARM('*INSTALL ') Let me know if this does/doesn't do it.
Guest.Visitor
11-03-2000, 03:01 AM
Checked that list and it did not have the TCPL0200 part of it. Tried the command and it did not change anything i.e. starts OK but stops immediately. I've attached one of the original job logs which does mention the above format as missing. How do I get it ? Another worrying part of the job log messages, is the line that mentions being unable to obtain storage. This is a new 270 with about 5Gb of 25Gb disk used and at most 3 users currently.
Guest.Visitor
11-05-2000, 08:55 PM
Jim, Looks like your FTP server has not been started. To start the FTP server, and make sure it is always started, type: STRTCPSVR SERVER(*FTP) CHGFTPA AUTOSTART(*YES) NBRSVR(3) INACTTIMO(300) Another possibility... how is your disk utilization? Has it reached 90% or over?
Guest.Visitor
11-06-2000, 06:10 AM
FTP is always started automatically as per the other TCP/IP servers. As per previous messages, it stops immediately (see job log attached to previous message). Disk usage is at 25%. It is a brand new 1 month old Model 270 with s/w as per IBM load, except for PTFs and Service packs which are now up to date as of Nov 3rd. The update had no effect on the FTP start/stop routine. I'm totally bewildered now !!!
Guest.Visitor
11-06-2000, 06:37 AM
Jim, Okay, these suggestions may sound stupid but thought I'd throw-em out there. With authority failure auditing active, try starting the FTP server. Then run command DSPAUDJRNE for type AF. See if the system is logging any authority failures. (They should have shown up in the job log, but worth a shot.) Take a second look at exit points VLRQ0100, TCPL0100, & TCPL0200. Make sure they don't have registered programs attached to them. If there are any, try removing them (noting what they are first) and see if your problems go away. Beyond this and up to date PTFs, no more ideas. HTH Scott
Guest.Visitor
11-06-2000, 07:22 AM
Thanks, Scott but according to the job log and WRKREGINF, TCPL0200 isn't there. As it is the fiorst time I've got down to exit points, how do I check Exit points as you suggest and if I need TCPL0200, how do I get it ?
Guest.Visitor
11-06-2000, 07:28 AM
Is there an exit program? The default will do what you describe. bobh
Guest.Visitor
11-06-2000, 07:44 AM
Jim, Prompt the command WRKREGINF and make sure parms are (Exit Point = *REGISTERED) and (Format = *ALL). The third page down shows the FTP exit points. I have no idea why you would be missing some of the points. To display any programs attached to the points you put an 8 in front of it. I would think that your entire problem hinges on the fact that a point is missing. Never ever seen that one before. No idea how to get it back either.
Guest.Visitor
11-06-2000, 08:00 AM
DISCLAIMER: If you follow these instructions, I know of no way to delete the exit point once you've added it. Jim - To add the exit point, do the following: ADDEXITPGM and F4. Enter QIBM_QTMF_SVR_LOGON as the Exit Point. Enter TCPL0200 as the Exit Point Format. Enter 1 as the Program Number. Enter any valid library/program as Program and Library. (The name and library doesn't matter, you will delete them in a moment.) Press F10. Enter *YES for Create exit point. Press ENTER. This will create the exit point with a library and program name as the exit point program. Enter WRKREGINF, find QIBM_QTMF_SVR_LOGON/TCPL0200 exit point. Put an 8 by it and press ENTER. Put a '4' by the exit program that you just added. This will create the exit point with no exit program attached. I don't know if IBM has a default exit program that is normally attached to the exit point. HTH, Steve
Guest.Visitor
11-06-2000, 11:06 AM
Thanks folks, will try previous suggestions ASAP. But for anyone who has the TCPL0200 in place and working, what are the exit programs that should be there so I can check my system to see if thdey exist - and then I can chase IBM to see what happened to them if not there...
Guest.Visitor
11-06-2000, 11:29 AM
Scott, I hit something similiar in my Trinidad installation. They were missing the 4 QIBM_QTMF exits. I added them, but I can't get them to show in the WRKREGINF list. It seems like they went off into 400 fuzzy land. Does TCP have to be shut down and restarted? I haven't tried this yet. TIA. Jack
Guest.Visitor
11-06-2000, 12:05 PM
Jack - Try WRKREGINF *ALL and see if they appear as *NO under the REGISTERED column. If so, from a command line enter CALL QUSRGPT PARM('QIBM_QTMF_SVR_LOGON' 'TCPL0200' X'00000000' X'00000000') HTH, Steve
Guest.Visitor
11-06-2000, 12:13 PM
I think we are all talking about the same thing here but the wording is a little confusing. Let me recap: 1. The registered exit points have always been there for me when I received an AS/400 from IBM. I have never seen them missing before. No idea how or why they should be missing. Steve mentioned how to add an exit point earlier. I have never had to do this so I don't know why it wouldn't show up after doing what he mentioned. I wouldn't think you would have to restart any of the TCP/IP servers. 2. You may not necessarily have an exit program attached to an exit point. Most of these exit points are just there for your benefit. You can either buy an exit program from someone or code it yourself. If you choose not to use exit point programs then you don't have to do so. If you have IBM support, you might try bouncing it off of them. Since we have at least two systems here that are apparently missing exit points, I'm sure there is a reasonable explanation for it. I have checked my reference materials and can't find any mentions of missing exit points. Puzzled?????
Guest.Visitor
11-06-2000, 12:14 PM
Jim - I checked one of our other systems. It has TCPL0200 with no exit programs. It was purchased with V4R4. 'My' system is also V4R4 but does not have TCPL0200 on it. It was upgraded from V4R2 to V4R4 Go figure . . . HTH, Steve
Guest.Visitor
11-08-2000, 12:45 AM
First of all, many thanks to all who took the time to respond to this. I can now start FTP without it falling straight over again. It looks like the TCPL0200 "missing" exit point was causing the problem and creating the exit point was the solution. I hope there are no more missing bits to come... However (yes, there is more)I find that when I try to link to the AS/400 from my PC, I cannot sign on when prompted. I am rejected !! I have tried all of the AS/400 userids plus my network id, which does exist on the AS/400. Still the same. I have even increased my level of authority on that one to *secofr status. So over to you guys for part 2 of the problem although this one is probably a lot simpler. One other question... How do you get to know about commands such as WRKREGINF etc. ???????
Guest.Visitor
11-08-2000, 06:07 AM
Jim - Check QUSER and QTCP user profiles and verify that they are enabled. (Ours are enabled but have no password associated so they can't be used to sign on.) Review the 4 (I suppose that's the current number) FTP exit points using WRKREGINF and find out if there is an exit program associated with any of them. If so, find the source and determine what it does. I have an exit program that rejects all user profiles except one that was specifically created for FTP - your exit point could be doing something similar. FTP to your /400 from a green screen on the same /400. When you get the FTP logon prompt, there will be a user ID there. (Something like "Enter login ID (steve):".) Verify that this is the same as your current user ID. How did I learn about WRKREGINF? I'm not really sure - probably from reading some article about protecting the /400 using exit programs. There was a time when, after installing a new release, I would do a GO CMD* and look for unfamiliar commands to see what they did but I don't do that much anymore. HTH, Steve
Guest.Visitor
11-08-2000, 06:51 AM
Thanks, Steve. To answer your queries: QUSER and QTCP are enabled. In fact QTCP cannot be changed at all anyway. No exit programs associated with any of the 4 FTP exit points. Tried FTPing from green screen and came up with my own id which is at *Secofr level. Got an error 530 ie "permanent negative completion" ??? Tried with QSECOFR as well and got the same. I must admit I've reached my limits on this side and am totally confused !!
Guest.Visitor
11-08-2000, 07:43 AM
Jim - Was this the message (530 permanent negative completion)?? 'Permanent negative completion' is a generic description of all (most?) 5xx messages that refer to a problem with the server. If this isn't the exact message, what was it? Thanks, Steve
Guest.Visitor
11-08-2000, 08:25 AM
Yes - 530 was the message id, Steve...
Guest.Visitor
11-08-2000, 11:02 AM
Jim, Use WRKREGINF and scroll down to the Exit Points QIBM_QTMF_CLIENT_REQ VLRQ0100 *YES FTP Client Request Validation QIBM_QTMF_SERVER_REQ VLRQ0100 *YES FTP Server Request Validation QIBM_QTMF_SVR_LOGON TCPL0100 *YES FTP Server Logon QIBM_QTMF_SVR_LOGON TCPL0200 *YES FTP Server Logon Use Option 8 and verify that there are no exit programs associated with any of the exit points. Error "530 Log on attempt by user XXX rejected" usually refers to an exit program that does not permit that user access. If any exit programs are being used check to make sure the user has authority to the objects and libs being used. If this doesn't help - feel free to email me (I don't check this site every day) and I'll help any way I can. -pmann12@yahoo.com P.S. I knew about the WRKREGINF and the rest of this stuff because I've tripped the same land mines you're now seeing blow up. I've been working with AS/400s since 1988.
Guest.Visitor
11-28-2000, 11:45 AM
Sorry to bring this up again but I ran across something that might be helpful down the road - jpigott wrote: "CALL PGM(QTCP/QTMFEXIT) PARM('*INSTALL ')" Please note that there are 2 (required) blanks after *INSTALL and before the final single quote. The omission of these blanks MAY be the reason this issue was bandied about so long. HTH, Steve
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.