# lssrc -t ftp
Service Command Description Status
ftp /usr/sbin/ftpd ftpd -d active
#
Windows PC and my AIX server are on the same LAN ,let's say LAN1
The server that i'm trying to connect to is on another LAN say LAN 2
I was successfully able to ping the AIX server from my local windows workstation
Here is the o/p:
Code:
C:\Users\LINC>ftp
ftp> open 172.16.80.80
Connected to 172.16.80.80.
220 prdsap1 FTP server (Version 4.2 Wed Jun 29 13:24:26 CDT 2011) ready.
500 'OPTS UTF8 ON': command not understood.
User (172.16.80.80:(none)): root
331 Password required for root.
Password:
230-Last unsuccessful login: Wed Jan 22 17:40:48 GMT+05:30 2020 on /dev/pts/0 from 172.16.80.85
230-Last login: Thu Feb 20 14:29:04 GMT+05:30 2020 on ftp from ::ffff:172.16.80.5
230 User root logged in.
ftp> dir
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 18008
-rw------- 1 root system 74 Feb 06 18:55 .TTauthority
-rw------- 1 root system 101 Feb 06 18:55 .Xauthority
-rw-r--r-- 1 root system 268 May 05 2019 .desksetdefaults
drwxr-xr-x 11 root system 4096 Feb 06 18:56 .dt
-rwxr-xr-x 1 root system 3970 Dec 22 2011 .dtprofile
drwxr-xr-x 3 root system 256 Dec 22 2011 .java
drwxr-x--- 3 root system 256 Dec 26 2018 .sapinst
drwxr-x--- 2 root system 4096 Sep 05 2017 .sdtgui
-rw------- 1 root system 10816 Feb 20 13:45 .sh_history
drwx------ 2 root system 256 Dec 23 2011 .topasrecrc
-rw------- 1 root system 169 Feb 10 11:58 .vi_history
-rw-rw-r-- 1 root system 3 Feb 06 18:55 .wmrc
drwxr-xr-x 2 root system 4096 Dec 22 2011 TT_DB
-rw-r--r-- 1 root system 13500 Nov 16 18:57 WebSM.pref
-rw-r--r-- 1 root system 84 Jan 17 2012 WebSM.pref_wsmmonitoring.data
drwxr-xr-x 4 root system 256 Dec 22 2011 admin
drwxr-x--- 2 root audit 256 Sep 15 2011 audit
drwxr-xr-x 3 root system 256 Jan 24 2013 backup
lrwxrwxrwx 1 bin bin 8 Dec 22 2011 bin -> /usr/bin
drwxr-xr-x 2 root system 256 Jan 17 2012 bkp
drwxr-xr-x 2 root system 256 Jan 17 2012 bkup
-rw-r--r-- 1 root system 6263 Aug 30 2017 bosinst.data
-rw-r--r-- 1 root system 194 Jan 22 12:25 con.sh
-rw-r--r-- 1 root system 0 Dec 22 2011 configassist.log
-rw-r--r-- 1 root system 182 Jan 22 12:21 consumption.sh
-rw------- 1 root system 3218089 Feb 27 2018 core
drwxrwxrwx 17 root system 139264 Dec 17 15:51 databackup
drwxrwxr-x 5 root system 8192 Feb 19 23:55 dev
drwxr-xr-x 16 root system 4096 Dec 22 2011 esa
drwxr-xr-x 36 root system 8192 Feb 07 09:45 etc
drwxr-xr-x 7 bin bin 256 Jan 22 10:48 home
-rw-r--r-- 1 root system 11087 Aug 30 2017 image.data
lrwxrwxrwx 1 bin bin 8 Dec 22 2011 lib -> /usr/lib
drwx------ 2 root system 256 Dec 22 2011 lost+found
drwxr-xr-x 176 bin bin 8192 Mar 07 2017 lpp
drwxr-xr-x 2 root system 256 Jan 12 2017 ltodrv
drwxr-xr-x 2 bin bin 256 Sep 15 2011 mnt
drwxr-xr-x 20 root system 4096 Jan 23 2012 opt
drwxr-xr-x 12 orap01 dba 4096 Feb 15 2017 oracle
drwxr-xr-x 4 pconsole pconsole 256 Dec 22 2011 pconsole
dr-xr-xr-x 1 root system 0 Feb 20 14:32 proc
drwxrwxrwx 13 root system 4096 Jan 23 2013 sapcd
drwxr-xr-x 3 root system 256 Dec 23 2011 sapmnt
drwxr-xr-x 3 bin bin 256 Dec 22 2011 sbin
-rw-r--r-- 1 root system 5493447 Aug 13 2019 smit.log
-rw-r--r-- 1 root system 28230 Aug 13 2019 smit.script
-rw-r--r-- 1 root system 48118 Aug 13 2019 smit.transaction
-rw-r--r-- 1 root system 40871 Apr 04 2012 syslog-tmp
drwxr-xr-x 2 root system 256 Jan 17 2012 temp1
drwxrwxr-x 2 root system 256 Dec 22 2011 tftpboot
drwxrwxrwt 59 bin bin 8192 Feb 20 14:32 tmp
lrwxrwxrwx 1 bin bin 5 Dec 22 2011 u -> /home
drwxr-xr-x 3 root system 256 Dec 23 2011 uar
lrwxrwxrwx 1 root system 21 Dec 22 2011 unix -> /usr/lib/boot/unix_64
drwxr-xr-x 51 bin bin 4096 Jan 23 2012 usr
drwxr-xr-x 35 bin bin 4096 Dec 23 2011 var
-rw-r--r-- 1 root system 58 Nov 16 18:57 websm.log
-rw-r--r-- 1 root system 1282 Feb 07 02:15 websm.script
-rw-r--r-- 1 root system 69333 Feb 07 02:15 websm1.transaction
-rw-r--r-- 1 root system 1152 Jan 20 2012 wsmcustomtools.data
226 Transfer complete.
ftp: 4133 bytes received in 0.27Seconds 15.60Kbytes/sec.
ftp>
--- Post updated at 10:24 AM ---
Quote:
Originally Posted by Neo
Did you do a
Code:
traceroute
(or similar command in AIX) to your ftp server from the host you are having issues with?
Also, did you search the site first before asking this question?
I think this question has been asked and answered many times over the years.
Hi, i did search this site and went across 10-12 different posts/questions which were of similar nature,still haven't found a solution .
Yes, did do a traceroute from my host to the ftp server :
Code:
# traceroute 203.112.144.202
trying to get source for 203.112.144.202
source should be 172.16.80.80
traceroute to 203.112.144.202 (203.112.144.202) from 172.16.80.80 (172.16.80.80), 30 hops max
outgoing MTU = 1500
1 172.16.80.100 (172.16.80.100) 31 ms 0 ms 0 ms
2 172.16.80.100 (172.16.80.100) 0 ms !H * *
3 172.16.80.100 (172.16.80.100) 0 ms !H * *
4 172.16.80.100 (172.16.80.100) 0 ms !H * 0 ms !H
#
Thing is the infrastructure @ my organization where i joined 2 weeks back is a mess, no proper OS monitoring/maintenance was done for quite sometime . I immediately need to transfer important business docs from my SAP AIX server to ftp server.
Have checked the services file, ports,inetd.conf file. Tried checking the firewall status which led to this
Code:
# lsfilt -a
Can not open device /dev/ipsec4_filt.
Would be extremely grateful if you can guide me to look for areas where i can troubleshoot ?
I have the following ftp script to get files from a remote location.
However, on running the script I find that I am not even able to connect to ftp server.
I am able to connect to ftp server using other GUI ftp tools like WS_FTP using the same IP.
IP used here is a dummy IP.
What can go... (3 Replies)
Hi,
I have xmanager installed on my windows PC. But I am not able to connect to AIX server.
It's giving the error as follows:
The X11 forwarding request was rejected. Graphics mode is not coming up in AIX server.
Please help as I have to install oracle patchset urgently. (1 Reply)
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Hi,
I have two unix servers A and B. from A i am trying to use the ftp command to connect to B but I am getting the "ftp: connect: A remote host refused an attempted connect operation."
I checked the following things :
1.) Unix Server details for A and B after running the command uname -a... (3 Replies)
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
Hi,
I am unable to connect sun server, server model is sun fire v440
on server 2 ports are there.
serial management, and network management.
I would like to know how to connect serial port if I dont have com port on my system? and on Network Management no ip address is configured.
... (2 Replies)
Hi All,
We have done new FTB setup.
I am not able to to connect to this new target server.
Here is the new setup to send files to the FTB :
- Login : FTB-TAN-DEV-SAP
- Protocol : SFTP
- Port : 54322
- Hostname : ftb-dev.apj.hp
- Env : DEV
- Target ID : 3225
I tried connecting to the... (5 Replies)