Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <416CAAF8.8050005@hq.astra.ph>
Date: Wed, 13 Oct 2004 12:11:36 +0800
From: Carlo Florendo <list-subscriber@hq.astra.ph>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: other services ok, ftp not (was 1.5.11 - tcp problems)
References: <4745850620.20040921112624@scenta.co.uk> <416B3A95.4010506@hq.astra.ph> <Pine.GSO.4.61.0410121150090.24643@slinky.cs.nyu.edu> <416C92BD.90100@hq.astra.ph> <416C9DAA.F96DAB7B@dessent.net>
In-Reply-To: <416C9DAA.F96DAB7B@dessent.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hello Brian,

Brian Dessent wrote:

>Carlo Florendo wrote:
>
>  
>
>>Thank you so much for your comments!    However, updating the relevant
>>directories to have +x, and updating all the relevant files to have +rx
>>still didn't solve the issue.  I've tried to track down the problem via
>>the source code of inetutils-1.3.2-28 and it seems the actual error
>>message is produced by the following code:
>>    
>>
>
>I can't tell from your message but since your prompts contain the
>username 'SYSTEM' I am assuming that you're testing this from a sysbash
>prompt in the context of something that's being run from a service, CGI,
>cronjob, etc... If that's the case then it sounds awfully like the
>problem of SYSTEMROOT being removed from the environment.  Check that
>this variable is set for the process that is trying to run ftp.  There's
>lots of recent threads about it in the archives if you need more
>background.
>
>  
>
You really have a keen eye!  However, the string "SYSTEM" doesn't have 
anything to do with the problem since I just
set the PS1 environment variable to "SYSTEM" since I don't want it 
printing my name.

My PS1 is set to:  PS1="SYSTEM \w\n$ "

And of course, if I change PS1 to the cygwin default (as shown below), 
ftp still won't work.

SYSTEM /
$ export   PS1='\[\033]0;\w\007
 > \033[32m\]\u@\h \[\033[33m\w\033[0m\]
 > $ '

Carlo@win1 /
$ ftp
ftp: ftp/tcp: unknown service

Thanks!

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

