LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ftp problem (https://www.linuxquestions.org/questions/linux-software-2/ftp-problem-158913/)

scialom 03-17-2004 08:14 AM

Ftp problem
 
Hello,

When I try to connect to my ftp as localhost (ftp localhost) I get this error:
trying 127.0.0.1
connection refuesd

Any ideas?

Assaf

ftetia 03-17-2004 08:29 AM

Hi scialom,

I don't know what kind of software do you use and which distrib but look errors in /var/log/messages file.

If you use tcp_wrapper take a look in /etc/hosts.allow.
Verify your config and last but not least do you have start your ftp service.
That's stupid but sometime it the cause of failed connexion.

scialom 03-17-2004 08:34 AM

Hi

I am new for linux so... How do I start it?
I am using proftp.

Thanks,
Assaf

ftetia 03-17-2004 08:49 AM

if you have install proftpd with rpm package you have in /etc/init.d/ a script call proftpd
so
do under root
# service proftpd start (redhat) or
/etc/init.d/proftpd start

or
/sbin/proftpd -n -c /etc/proftpd/proftpd.conf (your config file of proftpd)

bye and good luck
Welcome to linux world.

scialom 03-17-2004 10:45 AM

Thanks!

andrewlkho 03-17-2004 12:37 PM

Furthermore, it sounds as though you've not got the ftpd running. Check by doing:
$ nmap localhost
and if it's listening, you should see something like:
21/tcp open ftp
Otherwise, you're gonna need to start it...

scialom 03-18-2004 09:49 AM

Part 2

I try to install proftpd on another machine and I get this error:
no acceptable c complier found

Any ideas?

Assaf

adm1329 03-18-2004 10:08 AM

what linux distro are you running?

scialom 03-18-2004 10:14 AM

suse 8.0

ftetia 03-18-2004 03:13 PM

No compilator found
 
Hi,

That"s mean you don't have gcc compilator for your suse 8.0. Install gcc suse package.
Bye

:study:

scialom 03-19-2004 04:34 AM

Thanks it solved this problem.

But...
In the readme doc they say that after running ./configure (that run just fine) I have to run this command:

make install-strip
I get this error:

bash: make: command not found

Do I need to intall something else?

Thanks again,
Assaf


All times are GMT -5. The time now is 05:27 PM.