Operating Systems > Linux and UNIX

slackware questions

<< < (2/5) > >>

voidmain:

quote:Originally posted by Stryker:
huh? i'm confused. I dont have a car, or know anything about them (mechanically). I mean the ftp server on the slackware distrobution isn't accepting any logins. I feel lost now, i'm not sure if you are teasing me, saying something off topic to confuse me, or that is the actual answer and i'm just stupid. all well, maybe i worry too much.
--- End quote ---


It was a joke (common mechanics joke). Muffler bearings do not exist. I use this phrase periodically and it's my sick way of saying "need more information". I thought you had been around long enough to know me by now. Sorry about that.

There are two ways that most FTP servers can be spawned. Either in daemon mode or from inetd (or xinetd). If you have an /etc/inetd.conf file edit it and you should find a line that is commented out containing "ftp". Uncomment it and "kill -1" the PID number for the "inetd" process. If you are using "xinetd" there should be a /etc/xinetd.d directory containing a file called "ftp" or "ftpd". In that file there might be a line "disable = yes". Change it to "no" and "kill -1" the xinetd process.

If you are using PROFTPD for an FTP server you also have the option to run it in daemon mode rather than from inetd. This is done in PROFTPD's configuration file "/etc/proftpd.conf". Of course if you run it in daemon mode you will have to start it in the startup script that your other daemons are started with. It's been 8 years since I've used Slack so I'm not sure which FTP server and inetd packages it includes today.

If you could tell me which FTP server you have installed, and whether you have either the inetd or xinetd packages installed, that would be a big help.

[ January 25, 2003: Message edited by: void main ]

Stryker:
it's proftp running on inetd. it's running and everything, it prompts me for a login when i connect. it just doesn't accept any credentials i give it (except anonymous, which i disabled).

Stryker:
it's proftp running on inetd. it's running and everything, it prompts me for a login when i connect. it just doesn't accept any credentials i give it (except anonymous, which i disabled).

And i have been here long enough, but i just never heard you use that phrase before.

(Edit), someone please delete the other one, I accidently pressed post twice cause it was going slow.

[ January 25, 2003: Message edited by: Stryker ]

voidmain:

quote:Originally posted by Stryker:
it's proftp running on inetd.


--- End quote ---


It can't be both. If it is started from inetd and no one is trying to connect there should be no ftpd process running. inetd will start an instance of it at login time. If it is running then that means you are starting it as a daemon and it should be commented out in your /etc/inetd.conf file so as not to fight over port 21.

Since it is running I will assume that you have it set to run in standalone mode (ServerType standalone) in the /etc/proftpd.conf. Can you paste in a copy of your /etc/proftpd.conf so I can look it over?

You might also want to search for ftp related login messages in your /var/log/messages and /var/log/secure logs:

# grep ftp /var/log/messages | tail
# grep ftp /var/log/secure | tail

 
quote:
And i have been here long enough, but i just never heard you use that phrase before.

--- End quote ---


Judging from your user# I would say that you haven't been here long enough (unless you read this forum long before you registered).

[ January 25, 2003: Message edited by: void main ]

Stryker:
My browsers being weird, i edited this post about 3 times to get it right. this is the uncommented code in /etc/proftpd.conf.
I assure you it is running with inetd. the problem is not getting it to connect, but getting it to login after you connect. From what you've told me it seems like you are trying to advise me on getting it running.


--- Code: ---
--- End code ---

And I did read here before i signed up. And even still I read all those old posts.


--- Code: ---
--- End code ---

[ January 25, 2003: Message edited by: Stryker ]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version