Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get wuftpd up n running

Status
Not open for further replies.

lifeform

Programmer
Mar 11, 2002
1
SG
been bz reading up n meddling with configurations for wuftpd but it just doesnt seem to work rite.
installed rh7.2 with ftp support.

what configurations do i need to make from there?

tried to ftp the server machine but got the following error:
"an error occurred reading the ocntents ofhte folder.make sure the filename is valid and you have permission to access the location specified.

details: a connection with the server could not be established"

i've created a user during installation.

pls advise.


what other settings do i need to make
 
A lot of things could be going on here.
Have you set up /etc/xinetd.d/wu-ftpd ?

Have you set disable = no and restarted xinetd services?

service xinetd restart

Sample /etc/xinetd.d/wu-ftpd file:

# default: on
# description: The wu-ftpd FTP server serves FTP connections.
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -a -l
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
disable = no
}


Regards,
Bryan C.
 
Hi,

Many of the redhat xinetd controlled service rpms ship with a xinetd control file that leaves the service disabled (ignored) by the xinetd daemon. This is for security reasons so that when people 'install everything' they don't also leave themselves totally open. The simplest way on redhat to enable an xinetd service is with chkconfig (as root) :

# /sbin/chkconfig wu-ftpd on

If you restart xinetd you should then see xinetd listening on port 21 :

# /etc/rc.d/init.d/xinetd restart
# /usr/sbin/lsof -i TCP:21

You should then be able to 'ftp localhost' and sign in with any regular user account and password. For practical use, however, you then need to open the lokkit firewall to allow ftp traffic. Unless you disabled it, you will probably find that the lokkit default is not allowing ftp at present. You administer it with (as root) :

# /usr/sbin/lokkit

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top