Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

FTP access

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
timothyking
Asked:
timothyking
  • 4
  • 4
  • 2
2 Solutions
 
mr_rabitCommented:
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
 
timothykingAuthor Commented:
ftp is set to "on"

What is the command to restart xinetd services?
Thanks
0
 
mr_rabitCommented:
/etc/rc.d/init.d/xinetd restart

or

services xinetd restart

greetz mr_rabit
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
mr_rabitCommented:
sorry must be service not services
greetz

mr_rabit
0
 
liddlerCommented:
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
 
timothykingAuthor Commented:
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
 
mr_rabitCommented:
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
 
timothykingAuthor Commented:
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
 
liddlerCommented:
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
 
timothykingAuthor Commented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now