LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2002, 05:07 PM   #31
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30

Once i type that command I get this:

Connected to localhost.
421 Service not available, remote server has closed connection.
ftp> _


Thats when it just goes to the ftp prompt...
 
Old 03-29-2002, 05:12 PM   #32
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
inetd/xinetd is definitely NOT starting the ftp server.

First we need to find out which you are running... type this:

ps -ef | grep inetd

and tell me what you see.
 
Old 03-29-2002, 05:14 PM   #33
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
root 211 0 23:15 tty1 00:00:00 grep ftp

basically the only thing running something with ftp is grep ftp.
 
Old 03-29-2002, 05:17 PM   #34
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
I think you misread what I typed... I'm not looking for "ftp", I'm looking for "inetd". Please try again.
 
Old 03-29-2002, 05:21 PM   #35
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
LOL sorry... here it is:

root 82 1 0 19:34 ? 00:00:00 /usr/sbin/inetd
root 213 110 0 23:21 tty1 00:00:00 grep ftp
 
Old 03-29-2002, 05:24 PM   #36
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Now, what does the exact entry in /etc/inetd.conf look like for "ftp" ? what does the entry for ftp look like in /etc/services?
 
Old 03-29-2002, 05:31 PM   #37
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
inetd.conf :

#ProFTPD FTP Daemon:
ftp stream tcp nowait root /usr/sbin/tcpd proftpd


services :

ftp-data 20/tcp # File Transfer [Default Data]
ftp-data 20/udp # File Transfer [Default Data]
ftp 21/tcp # File Transfer [Control]
ftp 21/tcp # File Transfer [Control]
 
Old 03-29-2002, 05:47 PM   #38
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
one more command I need info from:

ls -l /usr/sbin/*ftp*
 
Old 03-29-2002, 05:52 PM   #39
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
I type it in... and I get :

/bin/ls: -: No such file or directory
/usr/sbin/ftpshut: Invalid time interval specified
usage: /usr/sbin/ftpshut [ -1 min ] [ -d min ] time [ warning-message ... ]
 
Old 03-29-2002, 05:58 PM   #40
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
ok... I tried the command with an L instead of the line... since on this board they look the same... and I got this:


-rwxr-xr-x 1 root bin 5712 Jun 20 2001 /usr/sbin/ftpshut*
lrwxrwxrwx 1 root root 7 Jan 23 17:59 /usr/sbin.in.proftfpd -> proftpd*
-rwxr-xr- 1 root bin 10096 Jun 3 2001 /usr/sbin/in.tftpd*
-rwxr-xr- 1 root bin 259568 Jun 20 2001 /usr/sbin/proftpd*
 
Old 03-29-2002, 06:17 PM   #41
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Try changing the entry in /etc/inetd.conf to this:

ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.proftpd

Now you'll have to restart inetd. I have no idea how to do that in slackware other than killing the process and restarting it. If you aren't sure how to do that, just reboot

Then try "ftp localhost" again.

If this doesn't fix the problem, then you might want to look for clues in these files:

/etc/hosts.allow
/etc/hosts.deny
/etc/ftpaccess

I think there's also a configuration file for proftpd lurking around somewhere (/etc/proftpd.conf ??).
 
Old 03-29-2002, 06:23 PM   #42
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
I dont have an ftpaccess file... should I and what should it contain?
 
Old 03-29-2002, 06:29 PM   #43
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
I did what you told me to do and when I type the "ftp localhost" command I got this:

connect: Connectiopn refused
 
Old 03-29-2002, 06:33 PM   #44
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
On other thing... I typed the "proftpd -n" It said:

proftpd blahblahblah ... Standalone mode startup


then I went to my win box and tried to log in... it worked...
sept It shows that I have no folders or files. How do I change that?
 
Old 04-01-2002, 09:41 AM   #45
bripage
Member
 
Registered: Jan 2002
Location: Moorpark
Distribution: SLACK 8!
Posts: 230

Original Poster
Rep: Reputation: 30
Well.... now for some reason, everytime I turn my nix box off, I have to reinitiate proftpd. Ive done it once, but the second time, nothing happend at all and I wasnt able to connect via ftp client on my windows box. I checked inetd.conf and proftpd.conf, and niether has been changed since got it working. what do i need to do?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
binary ftp trouble anmsg Linux - Networking 2 10-14-2004 11:51 PM
FTP Trouble. boardinglaxplr Debian 2 10-01-2004 09:34 PM
ftp trouble mvanadel Linux - Networking 2 06-30-2004 05:30 PM
Trouble with FTP RaistlnMjr Linux - Newbie 15 10-13-2002 11:30 PM
FTP trouble eweborg Linux - Networking 2 03-04-2002 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration