Operating System - HP-UX
1855932 Members
13778 Online
104107 Solutions
New Discussion

Re: ftp issue ...in rx4640 server

 
boomer_2
Super Advisor

ftp issue ...in rx4640 server

Hi guys,
m getting this in my syslog of rx4640 server....
rx4640 8gb ram
11iv2
itanium


Jan 4 11:17:09 cedge-dr ftpd[7216]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 10.1.4.155 [10.1.4.155], anonymous

As a result of which m not able to ftp over the network...from 10.1.4.xx to 10.1.1.xx network...

Please help me out its a serious issue...
since there are guys who directly ftp from their desktop to my develpmentnserver..

23 REPLIES 23
Dennis Handly
Acclaimed Contributor

Re: ftp issue ...in rx4640 server

From the error messages, is "ftp" in in /etc/passwd?
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Dennis,

No its not in /etc/passwd ...............

thnx..
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Dennis,
Also strangely what i have observed is when i ftp from my internet explorer it works absolutely fine however large the file may be..
I am not able to ftp from command prompt only .....to my hpux server ??????

Murat SULUHAN
Honored Contributor

Re: ftp issue ...in rx4640 server

Hi Boomer

Which user did you tried ftp in command prompt

Best Regards
Murat
Murat Suluhan
Torsten.
Acclaimed Contributor

Re: ftp issue ...in rx4640 server

... and what results/messages did you get in your command window?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Yogesh M Puranik
Valued Contributor

Re: ftp issue ...in rx4640 server



Hi Boomer!!

first let below things!!

1]Ftp daemon is running on the server .

2]The user from where u are doing ftp is having the access of ftp also checkout the shell provide to user.

3]Might be ftp is disable for anonymous user in your env.



Rgds

- Yogesh


boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

hi yogesh,
u said
>
Might be ftp is disable for anonymous user in your env.

Where shall i check it ?????

Also Murat i have tried for every user result the same..

m getting this message

closing active connections ...........
Murat SULUHAN
Honored Contributor

Re: ftp issue ...in rx4640 server

Hi Boomer

I want to see your session log like Torsten

Can you try ftp with command line, try to login your server and then submit your entire session log please

Best Regards
Murat
Murat Suluhan
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Murat,
I have started one ftp session to transfer 165 MB now from my command prompt and still yet i havent received any error..very strange ..as soon as any error comes i will fwd the entire sessions to u ..thnx..........

Regards,
Boomer...
Yogesh M Puranik
Valued Contributor

Re: ftp issue ...in rx4640 server

Hey boomer!!


>>>>>>>>>>>>>>>>>>>
Hi Murat,
I have started one ftp session to transfer 165 MB now from my command prompt and still yet i havent received any error..very strange ..as soon as any error comes i will fwd the entire sessions to u ..thnx.......
>>>>>>>>>>>>>>


With respect to your above conversation,which concluded that you are able to ligin with that user but your ftp of 165 MB is still going which not throwing any error.

1]whether ur able to do it successfully??
2]whether ur problem is resolved ??

Please clarify your query ??


Rgds

Yogesh
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Yogesh,
Actually i m able to do it from my PC but when colleagues other than me r trying THEY dnt get any error..THE SESSION simply hangs ...

hence cant even give u the error....
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi yogesh,
when i tried for a user myself from his PC i got this error in my syslog

Jan 4 14:57:18 ge-dr ftpd[13114]: lost connection to 10.1.4.xx [10.1.4.xx]
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi guys,
I tried from a user from his PC ,after which i got this message at the ftp prompt ;

Netout :connection reset by peer

OldSchool
Honored Contributor

Re: ftp issue ...in rx4640 server

"Jan 4 11:17:09 cedge-dr ftpd[7216]: FTP LOGIN REFUSED (ftp not in /etc/passwd) FROM 10.1.4.155 [10.1.4.155], anonymous"

man ftpd. you don't have anonymous login configured (hence the earlier question about the password file).

boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Oldschool,
I am not getting what ur saying ???????
Earlier it was working fine until there was a power fluctuation at our end ,as a cause of which our primary site was down from where i am trying to ftp to DR site where the server is
situated...

also ftp works from internet explorer,as well as scp works too..but i have some scripts which use ftp so m facing PROBLEM...
Steven Schweda
Honored Contributor

Re: ftp issue ...in rx4640 server

Default configuration (B.11.11):

dy # grep ftp /etc/passwd
tftp:*:510:1:Trivial FTP user:/usr/tftpdir:false

After using SAM (Networking and
Communications -> Network Services ->
Anonymous FTP) to enable anonymous FTP:

dy # grep ftp /etc/passwd
tftp:*:510:1:Trivial FTP user:/usr/tftpdir:false
ftp:*:500:1:Anonymous FTP user:/home/ftp:/usr/bin/false

So:

> No its not in /etc/passwd ...............

sounds bad. Especially when combined with
that original "(ftp not in /etc/passwd)"
complaint.
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Steven,
My server shows ,


root #/var/adm >grep ftp /etc/passwd

ftpuplds:VWWfsiHrg57mU:125:110:FTP Upload,,,:/home/ftpuplds:/usr/bin/sh
testftp:IPa.IELEykwdM,zyMS:114:111:,,,:/home/testftp/./spool:/usr/bin/ftpshell
spcbftp:Yi8ImAnIjwrLU:193:115:,,,:/home/spcbftp:/usr/bin/sh
gbcbftp:tiAor7b5btDgk:194:116:,,,:/home/gbcbftp:/usr/bin/sh
tgcbftp:NjugP8odq8fGc:195:117:,,,:/home/tgcbftp:/usr/bin/sh


So now what should i do ????
hpux 11i v2,8gb RAM

nothing in /var/adm/inetd.sec
error occured are as follows :->


ftp 10.1.1.4
Connected to 10.1.1.4.
220 cedge-dr FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_32286) Fri Apr 15 17:37:21 GMT 2005) ready.
Name (10.1.1.4:tejas): f1v2
331 Password required for f1v2.
Password:
230 User f1v2 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bin
200 Type set to I.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> cd fmanager
250 CWD command successful.
ftp> cd glif
250 CWD command successful.
ftp> mput glif_20080104_00017.lst
mput glif_20080104_00017.lst? y
200 PORT command successful.
150 Opening BINARY mode data connection for glif_20080104_00017.lst.
########################################################
send aborted

421 Service not available, remote server has closed connection
Continue with mput?
=============================================================================

root #/tmp >ftp 10.1.1.4
Connected to 10.1.1.4.
220 cedge-dr FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_32286) Fri Apr 15 17:37:21 GMT 2005) ready.
Name (10.1.1.4:tejas):
331 Password required for tejas.
Password:
230 User tejas logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bin
200 Type set to I.
ftp> ahsh
?Invalid command
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> cd /backup
250 CWD command successful.
ftp> mput kmeminfo
mput kmeminfo? y
200 PORT command successful.
150 Opening BINARY mode data connection for kmeminfo.
########################################################
426 Data Connection: Interrupted system call.
Yogesh M Puranik
Valued Contributor

Re: ftp issue ...in rx4640 server



Hey Boomer,


What is the size of your file that u wana going to ftp???


Rgds

Yogesh
Steven Schweda
Honored Contributor

Re: ftp issue ...in rx4640 server

> So now what should i do ????

It depends on what you wish to do. I've
already explained what I did in SAM to enable
anonymous FTP, which added the "ftp" account
to my /etc/passwd. No doubt, it could be
added in other ways, too.
OldSchool
Honored Contributor

Re: ftp issue ...in rx4640 server

ok, you really need to define clearly what issue(s) you are facing.

very first post showed that anonymous ftp wasn't working...(Steve S gave you details about how to set that up btw)

then you started talking about other people's desktops not working, IE doing something, your login working, large file transfers working / not working.

Define them and concentrate on resolving one at a time.
boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Ok guys,
Let me explain ur problem nw..

I have 2 sites..A and B

when i ftp thru command prompt from site A to site B i get this errors like,
Netout:conection reset by peer
421 Service not available, remote server has closed connection
426 Data Connection: Interrupted system call.

Even ftp thru edit plus not wrkng the session just hangs....
whereas when i use ftp thru internet explorer it works abs fine...

now i hope my problem is pretty clear...to u guys...
OldSchool
Honored Contributor

Re: ftp issue ...in rx4640 server

"I have 2 sites..A and B"

Ok, and these are both HPUX boxes or what?

"when i ftp thru command prompt from site A to site B i get this errors like,
Netout:conection reset by peer
421 Service not available, remote server has closed connection
426 Data Connection: Interrupted system call."

Command prompt on Server A....again is this Windows, or HPUX?

What ftp commands are you running? who are you attempting to login as?

Did this ever work? If yes, has anything changed in the network (like IPs or subnets)?

Or is this an attempt to make start an "anonymous" ftp session?

"Even ftp thru edit plus not wrkng the session just hangs...."

OK, yet another "new" problem...and not necessarily related...lets come back to this one.

"whereas when i use ftp thru internet explorer it works abs fine..."

So your windows machine justs connects or do you need to supply "login as" information?
What happens if you open a windows command processor window on this box and attempt to ftp?
What ftp command(s) did you run?
Does it succeed?



boomer_2
Super Advisor

Re: ftp issue ...in rx4640 server

Hi Oldschool,
I have logged a call with HP in reagrds with this issue.
Lets see what they have to say on this one nw..
Thanx for all of ur efforts ,but i will keep u guys updated on this issue.