Solved

FTP access

Posted on 2003-10-28
10
431 Views
Last Modified: 2010-03-18
My server is redhat 7.2 with netmax pro suite front end. After doing an update, I'm no langer able to ftp into the box. I get:
"Connected to xxx.xx.x.x
Connectionn closed by remote host."

When I ftp to localhost at the console I get:

"Connected to localhost (127.0.0.1).
421 Service not available, remote server has closed connection"

I am able to ftp out of the box to another server.

Any suggestions?
Thanks
0
Comment
Question by:timothyking
  • 4
  • 4
  • 2
10 Comments
 
LVL 1

Expert Comment

by:mr_rabit
ID: 9633944
try to restart the xinetd services
if this doesn't work try:
use the command chkconfig --list

see if your ftp services is there and set to on

if not set it to on
like
chkconfig wu-ftpd on

and then try to restart the xinetd service

good luck

mr_rabit
0
 

Author Comment

by:timothyking
ID: 9634134
ftp is set to "on"

What is the command to restart xinetd services?
Thanks
0
 
LVL 1

Expert Comment

by:mr_rabit
ID: 9634159
/etc/rc.d/init.d/xinetd restart

or

services xinetd restart

greetz mr_rabit
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Expert Comment

by:mr_rabit
ID: 9634172
sorry must be service not services
greetz

mr_rabit
0
 
LVL 18

Expert Comment

by:liddler
ID: 9634186
Is the service running? (ps -aux ftpd)
Has the update added or modified tcp-wrappers (tcpd).  If so have a look at /etc/hosts.allow and /etc/host.deny
run the ftp server wrapped by truss
i.e.
truss -fae in.ftpd
then try and ftp in and see where it fails
0
 

Author Comment

by:timothyking
ID: 9634672
Another clue: When trying ftp connections from a workstation, I tailed the messeges log and I'm seeing:

netmax proftpd[7490] : no such group 'nogroup'
netmax proftpd[7490] : Fatal: Group: Unknown group 'nogroup'

there is a referrene to 'nogroup' in the proftpd.conf file. Not sure if I shouls remark it.

thanks
0
 
LVL 1

Assisted Solution

by:mr_rabit
mr_rabit earned 37 total points
ID: 9634727
this means that you login as anonymous ???


try to add the group nogroup and it should work as anonymous.
or remove or remark that line in the proftpd.conf

greetz
mr_mr_rabit
0
 

Author Comment

by:timothyking
ID: 9634879
I tried both with no success. I got different errors in the messeges log.

"Failed binding to 0.0.0.0 , port 21 Address already in use"

"Check the ServerType directive to ensure you are configured correctly"
0
 
LVL 18

Accepted Solution

by:
liddler earned 38 total points
ID: 9636810
port already in use sounds like you have an ftpd running and u  are trying to startb another.
You need to add nogroup to your /etc/group file
0
 

Author Comment

by:timothyking
ID: 9637231
I looks like during the upgrade a different copy of proftpd.conf was put in place. The folks at Netmax suspected a hacking. We put an older copy of the file in its place and ftp now works. I will keep a close eye on things.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question