LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ProFTPD - "500 Sorry, no server available to handle request on 192.168.1.103" - what? (https://www.linuxquestions.org/questions/linux-general-1/proftpd-500-sorry-no-server-available-to-handle-request-on-192-168-1-103-what-171926/)

orange400 04-19-2004 01:48 AM

ProFTPD - "500 Sorry, no server available to handle request on 192.168.1.103" - what?
 
I'm getting this error remotely and locally on my linux box. I've researched several people's posts about his problem and have not seen one that was resolved. So I'm gonna try to fix this as much as I can! I'll give you as many details about the server as possible.

I installed it from a tar.bz2 file, compiled from source. I ran ./configure, make, and make install with no options. I created my own little proftpd.conf file which is located in /etc. It is a functional file I believe. But I'm typing this on my windows box and don't want to copy from the screen unless you guys need it. When I run proftpd, I have to use the -c /etc/proftpd.conf option for it to find the config file (kinda weird imo). I will give any details asked, I'm pretty desperate! This is really getting me confused and I'm almost ready to give up proftpd. But I really don't want to do that :confused:

Thanks everybody, you're all very helpful! I would not have a linux side to me if it weren't for all of you ;)

trickykid 04-19-2004 07:46 AM

If you can post your config file here, it might be helpful. What happens when you attempt to start it, any output or errors? Since your running it as standalone, do you have that specified in your config file for it? Yeah, more details is helpful.

orange400 04-19-2004 09:13 PM

Ok, here's my config (BTW - what's the name of the text-based internet browser in red hat 9? I'm copying this from OSRV's screen.)

ServerName "Orange Servers"
ServerType standalone
ServerAdmin synthead@comcast.net
Port 21

User anonymous
Group anonymous

DisplayConnect /usr/src/proftpd-1.2.9/osrv/connect.txt

<Directory /users/jaybowden>
<Limit ALL>
AllowUser jaybowden
AllowGroup users
</Limit>
</Directory>

<Directory /users/nes_power>
<Limit ALL>
AllowUser nes_power
AllowGroup users
</Limit>
</Directory>

<Directory /users/loganbgm7>
<Limit ALL>
AllowUser nes_power
AllowGroup users
</Limit>
</Directory>

[end]

It's short but sweet. I have much more to add but I ended there until I got the server actually working.

For those of you who have a functional ProFTPD server - how did you compile it (what ./config options did you use)?

How would I get ProFTPD running in inetd? I'm trying whatever I can (that bring one of the things) and I wanted to run it in that mode originally.

orange400 04-20-2004 06:55 PM

bump

orange400 04-21-2004 03:07 AM

bump, no one has a clue?

djchris 04-21-2004 05:45 PM

proftp
 
You can use instead of proftp, ssh so you can do a secure ftp.

Greetz,

Chris

orange400 04-22-2004 02:25 AM

What?

Doctafonk 04-22-2004 04:52 AM

Shot in the dark....maybe try adding this to your config:
Bind 192.168.1.103
(if infact 192.168.1.103 is the address that users will be connecting to via ftp).
Do a netstat -an when your ftp server is running. Do you see something like this:

"tcp 0 0 192.168.1.103:21 0.0.0.0:* LISTEN"
?

To answer your text based browser q, I think lynx is what you want.

orange400 04-22-2004 12:49 PM

Hey thanks, I'll try that when I get to the server again!

orange400 04-22-2004 06:08 PM

Holy s**t!! That worked!! Thank you so much man, you don't know what this means to me! OSRV is going linux-based ...... w0000t ..... :D

Dang, you rock, that was only your third post too!

orange400 04-22-2004 08:38 PM

Hey gotta quick afterward q ...

I have a hard drive mounted as /users that I have all the user information on. Each user has a directory on there named by their username (ie /users/loganbgm7). I don't want them to be able to "cd .." into the /users directory and the rest of the computer. What directives could I use to prevent this? Users should be able to create their own directories and cd into them as well as out of them.

Doctafonk 04-22-2004 09:03 PM

Heh, glad it worked, mate :)

Yeah, only third post, but been using linux for a while. I just subscribed to this forum the other day to ask about a specific permissioning question that I had.

With your next question, are you talking specifically about FTP or about general access (telnet, ssh, etc) to the box?

If FTP, check out the DefaultRoot directive. Can find info about it at Proftpd's docs page.

orange400 04-23-2004 03:45 AM

Wow man, you're the best! DefaultRoot worked peachy. My configuration is expanding rapidly now, hopefully the server will be fully configured and online by the end of the weekend. That's my goal. Couldn't do it woithout you guys :D

orange400 04-23-2004 05:00 AM

http://www.linuxquestions.org/questi...029#post896029

Here's another one, a little more difficult ...

I have a /users directory that is actally hdb1. On this drive, there are many directories, each named after a username. And following this, there's an anonymous directory too, for user anonymous. In each user directory (excluding anonymous), there's a pub directory for public files. This directory should grant read-only access to user anonymous. They would access the pub directories of each user via links in the anonymous directory. These links would be treated as folders.

How would I be able to get this one going?

szobi 05-29-2004 11:18 AM

Hello,

I had a different problem, but I've got the same error message (standalone ftp server, previously working configuration). I've found out that my reverse has been changed to xyz.com, but the xyz.com didn't had a ptr record. So, I've included !256.256.256.256 xyz.com! to my /etc/hosts file, which solved my problem. (of course I'll have change my reverse or make a ptr record to xyz.com, but temporarily it was a solution). I hope that I could help for some who found this topic, as I did before I've figured out my solution.
ciao,


All times are GMT -5. The time now is 09:43 PM.