Hi,
I suucesfully installed NetFtp Server and started the server on a Solaris machine. From a remote system I ftpd in to the Solaris box and able to login as anonymous user
ftp> status Connected to sever_name. Type: ascii; Verbose: On ; Bell: Off ; Prompting: On ; Globbing: On Debugging: Off ; Hash mark printing: Off .

but when I give a command like 'ls' it fails, it says
ftp> ls Connection closed by remote host.

this is my configeration file
debug: 1 port: 8026 daemon mode: 1 run in background: 1 # maintainer email: bob@example.com error log: /etc/ftpd.errors allow anonymous: 1 pam authentication: 1 client logging: /etc/ftpd.log chdir message file: .message retrieve rule: $pathname ne "/etc/passwd" && $filename ne +".htaccess" home directory: / store rule: !$user_is_anonymous || $dirname =~ m|^/incomin +g/| allow site exec command: 1
This is the error i got in my ftpd.error file
Resource limit RLIMIT_NPROC cannot be set. This may be because the BSD +::Resource module is not available on your system, or it may be becau +se your operating system does not support RLIMIT_NPROC. Without resou +rce limits, the FTP server may be open to denial of service (DoS) att +acks. The real error was: at /Perl_Modules/new/lib/site_perl/Net/FTP +Server.pm line 3270. no ftp user in password file...... at /Perl_Modules/new/lib/site_perl/ +Net/FTPServer/Full/Server.pm line 285, <STDIN> line 2. Net::FTPServer::__ANON__('no ftp user in password file...... at /P +erl_Modules/new/lib/site_perl/Net/FTPServer/Full/Server.pm line 285 Net::FTPServer::Full::Server::user_login_hook('Net::FTPServer::Ful +l::Server=HASH(0x2f914)', 'anonymous', 1) called at /Perl_Modules/new +/lib/site_perl/Net/FTPServer.pm line 4662 Net::FTPServer::_PASS_command('Net::FTPServer::Full::Server=HASH(0 +x2f914)', 'PASS', 'xxx.aa.com') called at /Perl_Modules/new/lib/site_ +perl/Net/FTPServer.pm line 3002 Net::FTPServer::run('Net::FTPServer::Full::Server') called at ftpd +.pl line 35

In reply to Net Ftp Server connection fail by YGP

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.