09-04-2002
I was checking back through old posts I had responded to and came across yours. Did you ever get this working?
Some other thoughts:
1. INETD
You could change your /etc/hosts.allow file to have all ftp accepted by putting this into the file:
in.ftpd: ALL
You wrote:
this is all I see when I check inetd.conf file:
ftp stream tcp nowait root /usr/bin/in.ftpd
The entry should have one more piece:
ftp stream tcp nowait root /usr/bin/in.ftpd in.ftpd
Insure no spaces at the begining of the line or at the end (actual case in SunSolve mentioned this error)
Insure that /etc/inet/inetd.conf is linked from /etc/inetd.conf.
# ls -l /etc/inetd.conf
lrwxrwxrwx 1 root root 17 May 7 2001 /etc/inetd.conf -> ./inet/inetd.conf
2. RESOLV.CONF
Did you check your /etc/resolv.conf to point to the correct nameserver? Are you running bind on the ftp server? If so, was it stopped and restarted (Solaris will cache entries and ignore changes in DNS - caching only servers are needed on the server if you use any round robin).
3. REBOOT
Last resort - reboot and see if the problem goes away. Could have cached other info which is interfering (arp table, network routes,...)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Solaris Server (V880) version 8
Brand new box just installed O/S, what do I need to do in order to get FTP working.
I have updated the /etc/hosts.equiv file
Problem - When trying to ftp to the server I get a login incorrect message, this is with the root user.
Are there some... (1 Reply)
Discussion started by: miredale
1 Replies
2. Cybersecurity
I just started a new job and inherited a Fedora core 3 server. I wanted to open the ftp ports and I wanted to verify this code before I mess things up. From my reading the two lines below should allow ftp access can anyone confirm my attempt.
iptables -A INPUT -p tcp - sport 21 -m state - state... (0 Replies)
Discussion started by: mungaz
0 Replies
3. Solaris
Hi all,
i am not able to connect the ftp through userA.
Can you please tell me what are the possible ways to troubleshoot
this issue?
Regards
krishna (2 Replies)
Discussion started by: krishna176
2 Replies
4. SCO
I have problem with ftp connection on SCO UNIX 5.0.7, it is work slowly. How I can
make accelerate. (6 Replies)
Discussion started by: draganmi
6 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Anyone encounter whereby when you FTP from an Unix server (Solaris 8) to another server (Window Server 2003), you tend to wait a long while when you do a "ls" and you get a timeout after that. However, when you FTP again and do a "ls", the result of "ls" shown immediately. All connection are... (5 Replies)
Discussion started by: ahlude
5 Replies
6. Shell Programming and Scripting
I am getting the error in this command when i am pitting it in shell script
ftp -nvi jcmpcor1.abc.com >/work/test98.dat << EOD
error:-
invalid command.
but when i am writting it from outside it work fine. (7 Replies)
Discussion started by: ravi214u
7 Replies
7. UNIX for Dummies Questions & Answers
Can anyone point me in the right direction..
I have a test system which requires vxWorks to be loaded via TCPIP
I am using a Sun ultra10 box with Sol 9.0 installed as the server
I have configured the server and am able to load the boot image without any problems. I assume it is using the... (0 Replies)
Discussion started by: shortsrkt
0 Replies
8. HP-UX
Hi,
Have anyone seen this problem, there is one remote side where their ftp connection to our server will always fail with connection closed by remote host and the second connection will be working.
is this an OS issue or network issue?
Thanks
Robert (4 Replies)
Discussion started by: robertngo
4 Replies
9. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
10. Shell Programming and Scripting
Hi I am trying to execute a shell script which is in unix server gs1. The script is below which basically connects to another unix server q15 and tries to get a file using FTP .
But i get error as "ftp: connect: Connection refused
Not connected.
Not connected."
Please help with if the below... (8 Replies)
Discussion started by: samrat dutta
8 Replies
LEARN ABOUT SUNOS
ftpconfig
ftpconfig(1M) System Administration Commands ftpconfig(1M)
NAME
ftpconfig - set up anonymous FTP
SYNOPSIS
ftpconfig [ftpdir]
ftpconfig -d ftpdir
DESCRIPTION
The ftpconfig script is executed by the super user to set up anonymous FTP. Anonymous FTP allows users to remotely log on to the FTP server
by specifying the user name ftp or anonymous and the user's email address as password. The anonymous users are logged on to the FTP
Server and given access to a restricted file area with its own file system root. See chroot(2). The FTP area has its own minimal system
files.
This command will copy and set up all the components needed to operate an anonymous FTP server, including creating the ftp user account,
creating device nodes, copying /usr/lib files, and copying timezone data. The passwd and group files set up have been stripped down to
prevent malicious users from finding login names on the server. The anonymous file area will be placed under ftpdir. If the ftp user
account already exists, then the current FTP area is used, and the system files in it are updated. All other files are left untouched. This
command should be run to update the anonymous FTP area's configuration whenever a system patch is installed, or the system is upgraded.
OPTIONS
-d Create a new or update an existing ftpdir without creating or updating the ftp user account. Use this option when creating guest
FTP user accounts.
OPERANDS
The following operands are supported:
ftpdir The absolute pathname of the directory under which the anonymous FTP area is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpaddhost(1M), in.ftpd(1M), useradd(1M), chroot(2), attributes(5)
SunOS 5.10 1 May 2003 ftpconfig(1M)