Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

interix and ftp

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> interix and ftp Page: [1]
Login
Message << Older Topic   Newer Topic >>
interix and ftp - Apr. 14, '03, 10:27:29 AM   
M._Goodman

 

Posts: 3
Joined: Apr. 14, '03,
Status: offline
I am attempting to setup FTP access to my workstation. I
edited the Interix config file to allow ftp service and started the subsystem service. I can FTP from the workstation, but receive " connection refused" error when trying to connect to the workstation. FTP port is open. Any idea' s?
Thanks!
Post #: 1
RE: interix and ftp - Apr. 14, '03, 2:26:33 PM   
markfunk

 

Posts: 673
Joined: Mar. 31, '03,
Status: offline
I' m assuming you are running Interix from SFU 3.0.

1) make sure /usr/sbin/inetd is running.
2) do a " netstat -a -o" and make sure there is an ftp port
in a LISTENING state. Look at the process id that owns the ftp port. Make sure this process id corresponds to the PSXSS.EXE process.

note: you don' t have to reboot the system after editing /etc/inetd.conf. You just have to send a signal to the inetd process or restart it.
To re-start inetd do:
$ cd /etc/init.d
$ sh inet stop
$ sh inet start

To send inetd process a signal that re-reads the
/etc/inetd.conf file, do:
$ ps -efX unix
$ kill -HUP ###
where ### is the process id of inetd found in the preceeding ' ps' command

(in reply to M._Goodman)
Post #: 2
RE: interix and ftp - Apr. 15, '03, 9:09:55 AM   
M._Goodman

 

Posts: 3
Joined: Apr. 14, '03,
Status: offline
Thank you for your rapid response. Yes, SFU v3.0. Psxss.exe is running. The netstat -a -o command
displayed these ports associated with the PID of psxss.exe:
UDP Geo:syslog
UDP Geo:1041
UDP Geo:1042
UDP Geo:1043

None of the UDP ports were displayed explicitly as
" Listening" , but all TCP ports displayed " Listening" .

We double checked inetd.conf to ensure ftp is not commented. The inetd.conf file described a " camp"
statement in the comments section, but we have not
implemented it. We are running this on Windows XP.

(in reply to M._Goodman)
Post #: 3
RE: interix and ftp - Apr. 16, '03, 12:45:52 AM   
markfunk

 

Posts: 673
Joined: Mar. 31, '03,
Status: offline
In the netstat output you' re looking for a line

TCP GEO:ftp geo:0 LISTENING

If it is not there, then this means that either inetd is not running or if it is, then the ftp line in /etc/inetd.conf isn' t quite right. Look at the output of " ps -efX unix" . Look for the /usr/sbin/inetd process.

If it is there, then make sure the UID is local Administrator. It will probably show up as:

<nistrator

I' m not sure what will happen if its not local Administrator.

If /usr/sbin/inetd is not there, then that' s your problem. Try running it manually. Login as local administrator by doing:
$ /bin/login +Administrator
$ /usr/sbin/inetd

Now check the output of " ps -efX unix" again.

Remember - when installing SFU 3.0, you get a dialog box that asks if you want to enable " case sensitivity" and if you want to enable " setuid" binaries. You must enable both of these if you want things to work properly.

(in reply to M._Goodman)
Post #: 4
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> interix and ftp Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047