Technical article 118602

ftp to OpenServer 5.0.5 is failing, in syslog I see "inetd[???]: smp_set_id failed No such file or directory, Cannot change to home directory, 18"

OpenServer 5.0.5

Written · Last revised

Problem

ftp to OpenServer 5.0.5 is failing with the following error message:

421 Service not available, remote server has closed connection

Telnet sessions may work fine, but ftp does not work regardless of
what user I am logged in as from the local system.  The following
error messages may appear in /var/adm/syslog as well:

Aug 27 13:04:51 <SYS_NAME> inetd[???]: smp_set_id failed No such file or directory, Cannot change to home directory, 18

Aug 27 09:04:51 <SYS_NAME> inetd[???]: /etc/comsat: exit 0x1

Cause

You may not have the required patches installed on the OpenServer 5.0.5 system and the user root does not have a home directory.

Solution

Apply the following patches to your system:

rs505a
oss497c
oss600a
oss471f

These patches are there documentation can be found at:

https://ftp.scoexpert.com/openserver5/
After these patches are installed, telnet sessions may no longer
function properly for the root user.  This is because the root user
does not have a home directory.  This directory must be created.
To do so, enter single user mode or System Maintenance mode and look
for which directory is attempting to be accessed:
# grep root /etc/passwd
root:x:0:3:Superuser:/root:/bin/sh
In the above example, root's home directory is /root.  This may vary
on your system, but root's home directory is the 6th field in this
line.  By default, the home directory of account "root" is the root
directory, "/".  Some system administrators may choose to
change this, for example setting it to a directory "/root".
If a system is configured in this manner and the directory
named as root's home does not actually exist, root may no
longer be able to login via telnet.

Be sure this directory exists and has the proper permissions:

# l -d /root
drwxr-xr-x  40 root     bin         1536 Aug 30 08:37 /root

If the above command returns nothing or the permissions are incorrect, please make the appropriate modifications:

# mkdir /root
# chmod 755 /root
# chown root:bin /root

Ftp services should work fine for you now.

See also

TA110105, "What is SLS OSS497C, the Core OS Supplement for SCO OpenServer Release 5.0.5?"

          TA109909, "What is Release Supplement 505A for SCO OpenServer Release
5.0.5?"

TA105899, "What is SLS OSS471F, the Intel Pentium Pro and Pentium II Microcode Driver for SCO OpenServer 5.0.4 and 5.0.5?"

TA110079, "What is SLS OSS600A, the Y2K SLS for SCO OpenServer 5.0.5 + RS505A?"

          TA110090,  "Special notes and recommendations before installing
OSS600A, the Year 2000 Supplement for SCO OpenServer 5.0.5."

TA109467, "How do I set up guest ftp on SCO OpenServer 5.0.x?"

From the Xinuos technical article database, record 118602. Reproduced with permission. The original is at www.sco.com/ta/118602, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.