Operating System - HP-UX
1833875 Members
1970 Online
110063 Solutions
New Discussion

several ftp sessions concurrent whith de same user

 

several ftp sessions concurrent whith de same user

Hi All.

I have a problem when execute several ftp sessions (same shell started via cron using .netrc file).

From systemB, i am executing the 20 lines with the ftp shell at the same time (with different parameter in order to get different files), But into the systemA (a trusted system), some times in the syslog, shows:

pam_acct_mgmt:No account present for user. 0
ftpd: User user1: Login Incorrect
ftpd: pam_open_session: General Commercial Security error.

The failed sessions number is variable in each test.

But without trusted system all is right.
--------
the content of the shell execute_ftp:

echo "get /tmp/file.$1 ." >> file_in.$1
ftp -i hostname < file_in.$1 > file_out.$1 2>err_file.$1

the cron line:

05 * * * * /tmp/execute_ftp 1
05 * * * * /tmp/execute_ftp 2
05 * * * * /tmp/execute_ftp 3
:
:
05 * * * * /tmp/execute_ftp 20


I hope someone can help me!!!
Thanks
3 REPLIES 3
Joseph T. Wyckoff
Honored Contributor

Re: several ftp sessions concurrent whith de same user

Omniback / Data Protector is certainly not the right forum... lets try networking!
Omniback and NT problems? double check name resolution, DNS/HOSTS...
Sridhar Bhaskarla
Honored Contributor

Re: several ftp sessions concurrent whith de same user

Hi,

If you are using ftpaccess (-a flag in inetd.conf and /etc/ftpd/ftpaccess file), then look for the clause 'limit'. That will limit the number of concurrent sessions.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: several ftp sessions concurrent whith de same user

Thaks Sri.

But some guy gave me a patch phco_22928.
Aparently this patch fix it

Thanks!!!