10.3.9 problems with FTP server - port not open?

I have set up the ftp server in MacOSX Server 10.3.9 and I think the configuration is correct, but I am unable to access it from a client. When I check the open ports on the server from the client (running 10.4.10), ports 20 and 21 are not open, even though the firewall is not running. How do I open these ports, or start the server listening on them? The FTP server is running as far as Server Admin is concerned, although I have to say that I can't see a process in Activity Monitor with ftp in its name.

Mac OS X (10.3.9)

Posted on Aug 23, 2007 2:55 PM

Reply
4 replies

Aug 24, 2007 1:44 AM in response to Nick Collingridge

I think I might have got a bit farther with this problem, but this just gets me nearer to the problem, not to a solution.

When I stop the ftp service I get an error message in the console that says:

server servermgr_ftp: ftp config:Error:Unable to hup xinetd - pid file shows pid='(null)'

I believe that this means that Server Admin has tried to get xinetd to read its config file but since xinetd is not running (and hence no pid is available) it is unable to do this.

If I try and start xinetd from the terminal I get the following error message:

server xinetd[5484]: bind failed (Permission denied (errno = 13)). service = ftp
server xinetd[5484]: 5484 {init_services} no services. Exiting...

I now know that xinetd is the process that (amongst other things) listens on port 20-21 for an attempt to establish an ftp session and then launches ftpd to service that connection. At least I think that is how it works! Or should work...

Aug 24, 2007 5:03 AM in response to Nick Collingridge

Hi

You have to port forward external requests made to your fixed public IP address for ftp ports 20, 21 to the ftp server’s private IP address.

On the server launch terminal and issue this command:

su root

Supply the password when prompted. Dont worry if you dont see anything being typed. This is normal as there is no echo for passwords in terminal. Now issue this command:

serveradmin fullstatus ftp

Post the result

Tony

Sep 10, 2007 12:42 AM in response to Antonio Rocco

I do have those ports forwarded on the router - that's definitely not the cause of the problem, just so that it isn't a red herring for anyone else with this problem.

I have still not reolved the problem and have now given up trying to get it to work. I'm sure that it is some sort of configuration problem, but everything appears to be set up correctly through the MacOSX UI for these things. It may also be a corrupted system file, but I don't currently want to go through a reinstall to try to fix it because of the time and potential disruption involved. I will update to Leopard server when that comes out and hopefully the problem will be fixed then!

The main reason (in a roundabout way - I'm not going to go into details) that I wanted to get this going was to be able to publish calendars from iCal, and hopefully leopard's iCal server will fix the problem in a more straightforward and elegant way.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

10.3.9 problems with FTP server - port not open?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.