Mail Archives: cygwin/2002/10/28/12:32:49
No one here will know about your non-Cygwin tools. I'm sure you can get this all to work, but you'll need to solve the problem yourself.
Here are some suggestions for your debugging; they MAY or MAY NOT work but could provide you with clues. Also, these are generalizations and I may not be 100% accurate. Hopefully this help you some..
From a shell -- Cygwin OR MS Windows CDM.EXE, you can switch to the "other" environment using commands.
-------------------------------------------
ex: (from CMD.EXE)
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\WINNT>sh
$ pwd
/cygdrive/c/WINNT
$ cmd
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>sh -c 'ls -l *sh'
sh -c 'ls -l *sh'
-r-xr-xr-x 1 Administ None 1083 Oct 7 14:59 watch.sh
--------------------------------------------
If you want to "mix" commands or run Cygwin commands from a C: prompt, you need to make sure your Windows Environment variable PATH includes the path for Cygwin's "bin" directory. Must be defined as Windows-style path like so: C:\Cygwin\bin
If you can then run Cygwin commands from a C: prompt, be aware that Cygwin expects UNIX style pathing "/tmp" not "c:\temp". Highly reccomended you search the list archives and documentation regarding "cygpath".
I'd try to determine why you get long timeouts before your system gives up with "command not found". That's a clue you have a pathing issue. You might want to create "testing" shell or BAT scripts throughout your command chain, and have them echo to the screen what they get as parameters (I'm assuming something in your setup calls another command which can't be found).
Personally I'd suggest you consider staying inside the Cygwin environment and use Cygwin's sshd server to remotely execute commands. Setting up the sshd server is not always trivial due to NT permissions, etc. but when it's working, it's REALLY nice.
Good luck!
-Scott
> -----Original Message-----
> From: Steven Weiss [mailto:sweiss AT iafrica DOT com]
> Sent: Sunday, October 27, 2002 9:35 AM
> To: cygwin AT cygwin DOT com
> Subject: domain users problem
>
>
> Cygwin 1.3.10
> Ataman 3.1
> W2000
>
> Hi
>
> I am having a performance problem when executing cygwin
> commands i.e. ls
> when running the command through Ataman rexec.
>
> Example:
>
> Domain user from client PC -
> rexec SERVER cmd
>
> Ataman validates the user as the domain users and presents
> the user with a
> c:> prompt.
> The user types 'ls' and it takes about 30 seconds for a
> directory listing to
> come back. Also when typing 'bash', the command just hangs in
> a sort of
> interative mode and any additional commands typed return a ':
> command not
> found' error.
>
> If the user is not a domain user and is local to SERVER, then
> I do not have
> any problems. Also if the user logs directly in at the
> Console I do not have
> any problems.
>
> I have another server configured exactly the same way and am
> not getting
> this problem and I cannot see anything different.
>
> Regards
> Steven Weiss
>
> At command prompt USER-A types ls
>
>
> I'm using a W2000 rexec from a client to to execute a b
>
>
>
>
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -