Operating System - OpenVMS
1820098 Members
3603 Online
109608 Solutions
New Discussion юеВ

Re: ftp to vms box no longer succeeds

 
SOLVED
Go to solution
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

any error messages during enable/start ? Anything in SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_RUN.LOG ?

Does SHO SYS/PROC=TCPIP$F* show any processes ?

Does TCPIP SHO DEV/PORT=21 or /PORT=20 show anything ?

TCPIP SHOW SERV FTP/FULL ?

Volker.
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Does the TCPIP$FTP user account exist in SYSUAF ?

$ set def sys$system
$ mc authorize show tcpip$ftp

Volker.
Willem Grooters
Honored Contributor

Re: ftp to vms box no longer succeeds

Volker,
IIRC, that will use TCPIP$FTP_STARTUP.COM...

Carlo,
$ TCPIP SHO SERV/PORT=21/FULL should read:
Service: FTP
State: Enabled
Port: 21 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: TCPIP$FTP Process: TCPIP$FTP
Limit: 10 Active: 0 Peak: 6

File: TCPIP$SYSTEM:TCPIP$FTP_RUN.COM
Flags: None

Socket Opts: Rcheck Scheck
Receive: 0 Send: 0

Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_RUN.LOG

Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0

Cheack state (enabled?) and SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_RUN.LOG. It may give a clue as well.
For a further clue, take a look in Accounting:
$ acc/user=tcpip$ftp/full/since=
Look for the final status code and -text.
Willem Grooters
OpenVMS Developer & System Manager
Willem Grooters
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

Issue output of:

$ SHO LOG SYS$* /FULL
$ DIR SYS$STARTUP:TCPIP$*.COM
$ TCPIP SHO VERSION


Willem Grooters
OpenVMS Developer & System Manager
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Willem,

if TCPIP$FTP_STARTUP.COM is gone, I would have expected an error message from ENABLE+START...

Maybe it's time to restore that file from the last good backup of the system disk or copy it from another system running the SAME version of TCPIP.

Volker.
Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

SHO LOG SYS$* /FULL

$ SHO LOG SYS$* /FULL

(LNM$PROCESS_TABLE) [kernel]
[no protection information]

"SYS$COMMAND" [exec] = "_TNA1295:" [concealed,terminal]
"SYS$DISK" [super,crelog] = "SYS$COMMON:"
"SYS$DISK" [exec] = "USER$DISK2:"
"SYS$ERROR" [exec] = "_TNA1295:" [concealed,terminal]
"SYS$INPUT" [exec] = "_TNA1295:" [concealed,terminal]
"SYS$OUTPUT" [super,confine] = "_TNA1295:" [concealed,terminal]
"SYS$OUTPUT" [exec] = "_TNA1295:" [concealed,terminal]
"SYS$PRINT" [super] = "PEKEP009"
"SYS$SCRATCH" [super] = "USER$DISK:[SCRATCH.CORTHOC]"

(LNM$JOB_80F5FC40) [kernel] [shareable] [Quota=(320,4096)]
[Protection=(RWCD,RWCD,,)] [Owner=[OTHER,CORTHOC]]

"SYS$LOGIN" [exec] = "USER$DISK2:[USERS.STAMPE]"
"SYS$LOGIN_DEVICE" [exec] = "USER$DISK2:"
"SYS$LOGIN_ROOT" [super] = "USER$DISK2:[USERS.STAMPE.]"
"SYS$REM_ID" [exec] = "TELNET_AC1B0D50"
"SYS$REM_NODE" [exec] = "172.27.13.80::" [terminal]
"SYS$REM_NODE_FULLNAME" [exec] = "172.27.13.80::" [terminal]
"SYS$SCRATCH" [exec] = "USER$DISK2:[USERS.STAMPE]"

(LNM$GROUP_000666) [kernel] [shareable,group]
[Protection=(RWCD,R,R,)] [Owner=[OTHER,*]]

(LNM$SYSTEM_TABLE) [kernel] [shareable,system]
[Protection=(RWC,RWC,R,R)] [Owner=[SYSTEM]]

"SYS$ANNOUNCE" [super] = "@SYS$MANAGER:ANNOUNCE.TXT"
"SYS$ANNOUNCE" [exec] = "@SYS$SPECIFIC:[SYSMGR]ANNOUNCE.TXT"
"SYS$APPS" [exec] = "DSA1:" [concealed,terminal]
"SYS$COMMON" [exec] = "DSA0:[SYS0.SYSCOMMON.]" [concealed,terminal]
"SYS$DISK" [exec] = "DSA0:" [concealed,terminal]
"SYS$ERRORLOG" [exec] = "SYS$SYSROOT:[SYSERR]"
"SYS$ETC" [exec] = "SYS$SYSROOT:[SYSHLP.UNSUPPORTED]"
"SYS$EXAMPLES" [exec] = "SYS$SYSROOT:[SYSHLP.EXAMPLES]"
"SYS$HELP" [exec] = "SYS$SYSROOT:[SYSHLP]"
"SYS$I18N_ICONV" [exec] = "SYS$SYSROOT:[SYS$I18N.ICONV.USER]"
= "SYS$SYSROOT:[SYS$I18N.ICONV.SYSTEM]"
"SYS$I18N_LOCALE" [exec] = "SYS$SYSROOT:[SYS$I18N.LOCALES.USER]"
= "SYS$SYSROOT:[SYS$I18N.LOCALES.SYSTEM]"
"SYS$INSTRUCTION" [exec] = "SYS$SYSROOT:[SYSCBI]"
"SYS$JOURNAL" [exec] = "SYS$COMMON:[SYSEXE]"
"SYS$LANGUAGE" [super] = "ENGLISH"
"SYS$LIBRARY" [exec] = "SYS$SYSROOT:[SYSLIB]"
"SYS$LOADABLE_IMAGES" [exec] = "SYS$SYSROOT:[SYS$LDR]"
"SYS$LOCALTIME" [exec] = "SYS$SYSROOT:[SYS$ZONEINFO.SYSTEM]GMT-1."
"SYS$LOGDIR" [exec] = "SYS$COMMON:[SYSMGR.LOGINS]"
"SYS$MAIL" [exec] = "SYS$COMMON:[SYSMGR.SYSMAIL]"
"SYS$MAINTENANCE" [exec] = "SYS$SYSROOT:[SYSMAINT]"
"SYS$MANAGER" [exec] = "SYS$SYSROOT:[SYSMGR]"
"SYS$MESSAGE" [exec] = "SYS$SYSROOT:[SYSMSG]"
"SYS$NET_SERVICES_1" [exec,no_alias] = "DECNET"
= "TCP/IP"
"SYS$NET_SERVICES_10" [exec,no_alias] = "mcr ncp show exec count"
= "TCPIP SHOW COMMUNICATION"
"SYS$NET_SERVICES_11" [exec,no_alias] = "@sys$manager:startnet"
= "@SYS$STARTUP:TCPIP$STARTUP.COM"
"SYS$NET_SERVICES_12" [exec,no_alias] = "mcr ncp set executor state shut"
= "@SYS$STARTUP:TCPIP$SHUTDOWN.COM"
"SYS$NET_SERVICES_13" [exec,no_alias] = " "
= "TCPIP$PPPD_CALLOUT"
"SYS$NET_SERVICES_2" [exec,no_alias] = "Digital Equipment Corporation"
= "Digital Equipment Corporation"
"SYS$NET_SERVICES_3" [exec,no_alias] = "DUGGIE"
= "DUGGIE.europe.ppdi.com"
"SYS$NET_SERVICES_4" [exec,no_alias] = "1.201"
= "172.27.8.215"
"SYS$NET_SERVICES_5" [exec,no_alias] = "DNA IV"
= "TCP/IP"
"SYS$NET_SERVICES_6" [exec,no_alias] = "net 0"
= " "
"SYS$NET_SERVICES_7" [exec,no_alias] = " "
= " "
"SYS$NET_SERVICES_8" [exec,no_alias] = "mcr ncp show exec characteristics"
= "TCPIP SHOW VERSION"
"SYS$NET_SERVICES_9" [exec,no_alias] = "mcr ncp show known link"
= "TCPIP SHOW DEVICE_SOCKET"
"SYS$NLSPATH" [exec] = "SYS$SYSROOT:[SYS$I18N.MESSAGES.USER.%L]%N.CAT"
= "SYS$SYSROOT:[SYS$I18N.MESSAGES.SYSTEM.%L]%N.CAT"
"SYS$NODE" [exec,crelog] = "DUGGIE::" [terminal]
"SYS$POSIXRULES" [exec] = "SYS$SYSROOT:[SYS$ZONEINFO.SYSTEM]GMT-1."
"SYS$PS_FONT_METRICS" [exec] = "SYS$SYSROOT:[SYSFONT.PS_FONT_METRICS.USER]"
= "SYS$SYSROOT:[SYSFONT.PS_FONT_METRICS.SYSTEM]"
"SYS$SHARE" [exec] = "SYS$SYSROOT:[SYSLIB]"
"SYS$SPECIFIC" [exec] = "DSA0:[SYS0.]" [concealed,terminal]
"SYS$STARTUP" [exec] = "SYS$SYSROOT:[SYS$STARTUP]"
= "SYS$MANAGER"
"SYS$STUDY" [super] = "STUDYA2:[STUDY.]" [concealed]
= "STUDYA1:[STUDY.]" [concealed]
"SYS$SYLOGIN" [exec] = "SYS$COMMON:[SYSMGR]SYLOGIN.COM"
"SYS$SYSDEVICE" [exec] = "DSA0:" [concealed,terminal]
"SYS$SYSDISK" [exec] = "SYS$SYSROOT:"
"SYS$SYSROOT" [exec] = "DSA0:[SYS0.]" [concealed,terminal]
= "SYS$COMMON:"
"SYS$SYSTEM" [exec] = "SYS$SYSROOT:[SYSEXE]"
"SYS$TEST" [exec] = "SYS$SYSROOT:[SYSTEST]"
"SYS$TIMEZONE_DIFFERENTIAL" [exec] = "3600"
"SYS$TOOLS" [exec] = "SYS$COMMON:[SYSMGR.TOOLS]"
"SYS$TOPSYS" [user] = "SYS0"
"SYS$TZDIR" [exec] = "SYS$SYSROOT:[SYS$ZONEINFO.SYSTEM]"
"SYS$UPDATE" [exec] = "SYS$SYSROOT:[SYSUPD]"
"SYS$UTIL" [super] = "SYS$APPS:[UTILITIES]"
"SYS$VMSDOC_TEXT" [super] = "SYS$SYSROOT:[SYSHLP.VMSDOC]"
"SYS$WELCOME" [super] = "@SYS$MANAGER:WELCOME.TXT"
"SYS$WELCOME" [exec] = "@SYS$COMMON:[SYSMGR]WELCOME.TXT"

(DECW$LOGICAL_NAMES) [exec] [shareable]
[Protection=(RWCD,RWCD,R,R)] [Owner=[SYSTEM]]


$ DIR SYS$STARTUP:TCPIP$*.COM

Directory SYS$COMMON:[SYS$STARTUP]

TCPIP$SHUTDOWN.COM;1 TCPIP$STARTUP.COM;1

Total of 2 files.

Directory SYS$COMMON:[SYSMGR]

TCPIP$BINDSETUP.COM;1 TCPIP$BIND_SHUTDOWN.COM;1
TCPIP$BOOTP_SHUTDOWN.COM;1 TCPIP$CALLBACKS.COM;1
TCPIP$CONFIG.COM;1 TCPIP$DEFINE_COMMANDS.COM;1 TCPIP$DHCP_BOOTPTODHCP.COM;1
TCPIP$DHCP_SETUPCOMMANDS.COM;1 TCPIP$DHCP_SHUTDOWN.COM;1
TCPIP$DNFS_SHUTDOWN.COM;1 TCPIP$FINGER_SHUTDOWN.COM;1
TCPIP$FTP_SHUTDOWN.COM;1 TCPIP$INET_SHUTDOWN.COM;1
TCPIP$INET_STARTUP.COM;1 TCPIP$IP6_SETUP.COM;1
TCPIP$LBROKER_SHUTDOWN.COM;1 TCPIP$LBROKER_STARTUP.COM;1
TCPIP$LOAD_INETDRIVER.COM;1 TCPIP$LOAD_PPP.COM;1
TCPIP$LPD_SHUTDOWN.COM;1 TCPIP$LPD_STARTUP.COM;1
TCPIP$METRIC_SHUTDOWN.COM;1 TCPIP$METRIC_STARTUP.COM;1
TCPIP$NFS_SERVER_STARTUP.COM;1 TCPIP$NFS_SHUTDOWN.COM;1
TCPIP$NTP_SHUTDOWN.COM;1 TCPIP$NTP_STARTUP.COM;1
TCPIP$PCNFSD_SHUTDOWN.COM;1 TCPIP$POP_SHUTDOWN.COM;1
TCPIP$POP_STARTUP.COM;1 TCPIP$PORTM_SHUTDOWN.COM;1
TCPIP$PWIP_SHUTDOWN.COM;1 TCPIP$PWIP_STARTUP.COM;1
TCPIP$REMOTE_TTY_STARTUP.COM;1 TCPIP$RMT_CHECK_ACCESS.COM;1
TCPIP$SERVICE_SETUP.COM;1 TCPIP$SMTP_SHUTDOWN.COM;1
TCPIP$SMTP_STARTUP.COM;1 TCPIP$SNMP_SHUTDOWN.COM;1
TCPIP$SNMP_STARTUP.COM;1 TCPIP$SYMBOLS.COM;1 TCPIP$TELNET_SHUTDOWN.COM;1
TCPIP$TFTP_SHUTDOWN.COM;1 TCPIP$UCP_STARTUP.COM;1

Total of 44 files.

Grand total of 2 directories, 46 files.

$ TCPIP SHO VERSION

DIGITAL TCP/IP Services for OpenVMS Alpha Version V5.0A
on a COMPAQ AlphaServer DS20E 500 MHzP running OpenVMS V7.1-2

Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

This is in the latest log.

$ PURGE /KEEP=5
$ !
$ RUN SYS$SYSTEM:TCPIP$FTP_SERVER.EXE
├в ├в ****************************************************************** ├в ├в ├в ├в
FTP server started on ├в ├в DUGGIE.europe.ppdi.com 23-JUN-2005 13:36:55.47├в ├в
├в ├в ****************************************************************** ├в ├в ├в ├в
%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
%TCPIP-E-FTP_BIND, cannot bind the address to the socket
$ !
$ EXIT
TCPIP$FTP job terminated at 23-JUN-2005 13:36:55.50
├в ├в Accounting information:
Buffered I/O count: 208 Peak working set size: 4640
Direct I/O count: 213 Peak virtual size: 171248
Page faults: 352 Mounted volumes: 0
Charged CPU time:
Willem Grooters
Honored Contributor

Re: ftp to vms box no longer succeeds

@Volker: Agreed, it might have been shown but that hasn't been communicated ;-)

I guess, that if this (system) file is missing, there may be more trouble in this system...

@Carlo:

$ SHO DEV SYS$SYSDEVICE:

What is error count?


Willem Grooters
OpenVMS Developer & System Manager
Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

$ SHO DEV SYS$SYSDEVICE

Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
DSA0: Mounted 0 AXPVMS712 9820458 547 1
$1$DKE0: (DUGGIE) ShadowSetMember 0 (member of DSA0:)
$1$DKE100: (DUGGIE) ShadowSetMember 0 (member of DSA0:)
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

this is the symptom of the problem:

%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
%TCPIP-E-FTP_BIND, cannot bind the address to the socket

TCPIP$FTP_SERVER is probably NOT installed with privileges (that's one of the things, that TCPIP$FTP_STARTUP.COM is supposed to do). Try to restore TCPIP$FTP_STARTUP.COM from your last backup...

Volker.

PS: Just google for: 'TCPIP-E-FTP_BIND nopriv' to find info about about a previous incident with this symptom...
Kris Clippeleyr
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,
Follow Volker's advice.
TCPIP/IP V5.0A doesn't have separate STARTUP files for the different servers like FTP.
Greetz,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Volker Halle
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

sorry, I don't have access to a TCPIP V5.0A system to check, but TCPIP$FTP_CHILD and TCPIP$FTP_SERVER need to be installed with privileges. This is done (in later versions of TCPIP) in TCPIP$FTP_STARTUP.COM. If this file doesn't exist on your system and if it's not supposed to exist, some other TCPIP procedure needs to do the INSTALL.

Check $ INSTALL LIST SYS$SYSTEM:TCPIP$FTP_CHILD.EXE/FULL
and $ INSTALL LIST SYS$SYSTEM:TCPIP$FTP_SERVER.EXE/FULL

both should be installed with privileges. if they aren't, then that's your problem.

Use $ SEARCH SYS$STARTUP:TCPIP*.COM TCPIP$FTP to find out, which procedure is supposed to do the INSTALL command and try to manually execute them.

Volker.
Willem Grooters
Honored Contributor
Solution

Re: ftp to vms box no longer succeeds

Disk seems Ok

Now on the logicals:
Defined in LNM$PROCESS:

"SYS$DISK" [super,crelog] = "SYS$COMMON:"
"SYS$DISK" [exec] = "USER$DISK2:"

Defined in LNM$SYSTEM:

"SYS$DISK" [exec] = "DSA0:" [concealed,terminal]

Could be a problem, if SYS$DISK is used to refer to a location (logical) that is improperly defined. But it may be a valid definition. By observation, in this case SYS$DISK [super, crelog] = SYS$COMMON is created by login, and the [exec] definition elsewhere (SYLOGIN.COM?)

On startup:
TCPIP$FTP_STARTUP.COM is NOT present in this TCPIP version - just checked on another system running this TCPIP version: FTP is started in SYS$STARTUP:TCPIP$SERVICE_SETUP.COM.
So that is correct.

From your log:

%SYSTEM-F-NOPRIV, insufficient privilege or object protection violation
%TCPIP-E-FTP_BIND, cannot bind the address to the socket
$ !

Now THAT is a problem. I guess that is because FTP is not running, or something is wrong in protection. Have you tried to start the service with sufficient privileges?

(When you try to do it using TCPIP$CONFIGURE, be sure to have done
$ SET MESSAGE/FACI/SEVE/IDENT/TEXT in advance, otherwise there is no feedback from the system)
Willem Grooters
OpenVMS Developer & System Manager
Jan van den Ende
Honored Contributor

Re: ftp to vms box no longer succeeds

Carlo,

Just MAYBE, there is no need to do the restoring.
First, try to do (have) run
@SYS$STARTUP:TCPIP$STARTUP
from a sufficiently privileged account.
Your system manager should be able to do that for you.
That should INSTALL all your TCPIP components, and start them.

And if this does NOT do the job, then it is time to find out why THAT is.

Your trouble looks to be only a symptom of the fact that TCPIP is not functioning completely as it should, and the given procedure should set that right, IF executed sufficiently privileged ( eg, by user SYSTEM)

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

Had a call with HP support. At the moment
with have it all working but will have a reboot as well.

Thanks for the help you all.
Carlo Corthouts
Frequent Advisor

Re: ftp to vms box no longer succeeds

HP support put a solution in place.
But the comments on this thread were very relevant.