1834144 Members
2092 Online
110064 Solutions
New Discussion

Re: anonymous ftp

 
Sharon Bi_4
Occasional Advisor

anonymous ftp

Hi,

I created an anonymous ftp account on a HP 10.20. I was able to login. But
when I do a " ls ", it gives me the following error message:

ftp>crt0:ERROR couldn't open /usr/lib/dld.sl error no: 000000002

Does anybody know how to fix it? Thanks in advance!
3 REPLIES 3
Atif Malik_2
Frequent Advisor

Re: anonymous ftp

Verify that your HPUX system has /lib and /bin linked to /usr/lib /usr/bin

if not, just type the following commands:

ln -s /usr/lib /lib
ln -s /usr/bin /bin

ftp that you're running is using the wrong version of ls. Fix it by doing

cp /sbin/ls /home/ftp/usr/bin/ls

Hope this helps...
Atif
Paul Hite_2
Frequent Advisor

Re: anonymous ftp

You probably have followed the instructions on the ftpd man page that lead you
to create ~ftp/usr/bin and then put the ls command in it. I'll bet that you
copied /usr/bin/ls which uses shared libraries instead of /sbin/ls which does
not. You need to use /sbin/ls just as the man page says.
Sharon Bi_4
Occasional Advisor

Re: anonymous ftp

Thanks! It's working now.