image
image
Ticket Options
Question Details
TICKET ARCHIVE -> Panther & Ftp
toport - May 24, 2005 - 11:04 am
image
image
I am totally lost, I have done everything I can think of to try using the built-in ftp service and am unable to connect. When I try connecting to a 10.3.9 server, I don't even get a login I get either connection refused or no address associated with nodename. I don't have the firewall services enabled, I've checked permissions on the server, tried connecting via terminal, IE, via IP address, dns name, stopping ftp service, restarting etc. etc.
Is there something somewhere I'm missing?
The one thing I come across in the system log is "unable to hup xinetd" pid shows pid =' "null"' and servermgr_ftp:ftp config:Info:New setting equals old setting for key 'instances' value '52'.
I've read about the xinetd.pid file but not sure if I'm supposed to run this process and how exactly to do that?? I went into /etc/xinetd.d/ftp and made sure disable was not turned on, I saw to run the following:
$ sudo kill -HUP `cat /var/run/xinetd.pid` but I get "no such file or directory"
Can anyone fill me in?? Thanks!!
argonaut - May 24, 2005 - 2:10 pm
image
image
Hi Tracy!

You would get a "no such file or directory" on /var/run/xinetd.pid only if you have ALL services turned off (System Preferences | Sharing | Services)
And basically turning on and off each service from here only changes the disable entry on each service's parameter file on /etc/xinetd.d/

Let's try this:

a. Make shure you have the Firewall turned off

b. Stop all services from the Sharing preferences | Services. Uncheck each service and wait for a confirmation that the service has stopped.

c. When all the services have stopped launch the terminal application and from the prompt type
$ cat /var/run/xinetd.pid
You should get a 'No such file or directory' response

d. Now is a good time to check permissions on the /var/run directory just to be on the safe side...on the prompt type
$ ls -ald /var/run
You should get a listing similar to this:
drwxrwxr-x 31 root daemon 1054 24 May 10:49 /var/run
Take a look at the first part... (drwxrwxr-x) your output should be identical-

e. Go back to the Sharing preferences | Services tab
Turn on only the Ftp Access service . Wait for the confirmation and a message like this:
"Other people can access your FTP server at ftp://xxx.xxx.xxx.xxx/ or browse for "$$$$$$" by choosing Network from the Go menu in the Finder."

f. If you did receive confirmation Go back to the terminal application and type
$ ls -l /var/run/xinetd.pid
You should get a directory listing like this:
-rw-r--r-- 1 root daemon 5 24 May 10:49 /var/run/xinetd.pid

f. If you still get a "No such file" response, or the ftp service did not start up check the ftp log by typing
$ cat /var/log/ftp.log and come back with the results

g. If the ftp service started try to connect to it from the same machine, using the ip address mentioned while starting the service (the url that starts with ftp://)
go to the terminal application and type:
$ ftp xxx.xxx.xxx.xxx
You should get an answer from the server

Cheers!

Argonaut

--------



--------
toport - May 25, 2005 - 8:05 am
image
image
Thanks Argonaut!! I will try this, I can't really stop all the services till this weekend but will let you know the results. Thanks again, I have been waiting for days on apple's website for a response.
toport - May 25, 2005 - 8:21 am
image
image
Argonaut, one stupid question. Does the ftp service need to be in the sharing panel if I am on OS X server? I thought FTP was all configured from Server Admin? Thanks.

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0