problem in starting apache...

2003-06-09 Thread Jason Fu
Please give some clues. Thanks!


[EMAIL PROTECTED] ~
$ /usr/sbin/apachectl start
[Mon Jun  9 23:41:45 2003] [warn] Loaded DSO lib/apache/mod_auth_mysql.dll 
uses
plain Apache 1.3 API, this module might crash under EAPI! (please recompile it 
w
ith -DEAPI)
[Mon Jun  9 23:41:45 2003] [warn] Loaded DSO lib/apache/libphp4.dll uses plain 
A
pache 1.3 API, this module might crash under EAPI! (please recompile it with 
-DE
API)
Syntax error on line 278 of /etc/apache/httpd.conf:
Cannot add module via name 'mod_mysql_auth.c': not in list of loaded modules
/usr/sbin/apachectl start: httpd could not be started

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/



bug(s) in new login 1.9-4

2003-06-10 Thread Jason Fu
[EMAIL PROTECTED] ~
$ telnet -l root phoenix
Trying 218.188.58.70...
Connected to phoenix.
Escape character is '^]'.
Password:
Fanfare!!!
You are successfully logged in to this server!!! <=

[EMAIL PROTECTED] ~
$ logout
Connection closed by foreign host.

===
Phoenix is with login 1.8-1


[EMAIL PROTECTED] ~
$ telnet -l tsfu kirin
Trying 218.188.58.111...
Connected to kirin.
Escape character is '^]'.
Password:
Switching to user tsfu failed!  <=
Connection closed by foreign host.



Kirin is with login 1.9-4



Jason

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/



ftp, anonymous login...

2003-06-16 Thread Jason Fu
Below are what I came across when I tried to access my proftpd with 
anonymous/ftp. Is cygwin ported of proftpd really working?


Thanks!!

Jason


=
[EMAIL PROTECTED] ~
$ ncftp phoenix
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason ([EMAIL PROTECTED]).
Resolving phoenix...
Connecting to 218.188.58.67...

ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [Phoenix]
Logging in...
Login incorrect.
Sleeping 19 seconds...
=


# This is a basic ProFTPD configuration file (rename it to 
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName  "ProFTPD Default Installation"
ServerType  inetd
DefaultServer   on

# Port 21 is the standard FTP port.
Port21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask   022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances30

# Set the user and group under which the server will run.
#User   SYSTEM
#Group  Administrators

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.

  AllowOverwriteon


# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire  section.

  User  nobody
  Group nogroup
#  AnonRequirePassword  on
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias anonymous ftp

  # Limit the maximum number of anonymous logins
  MaxClients10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin  welcome.msg
  DisplayFirstChdir .message

  # Limit WRITE everywhere in the anonymous chroot
  
DenyAll
  


http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/



Re: ftp, anonymous login...

2003-06-16 Thread Jason Fu
I've created a nobody a/c, an ftp a/c and a nogroup group in my w2k3. The 
nobody a/c is with a password "nobody" and the ftp a/c a password "ftp". Both 
of them are members of the nogroup. I've updated the /etc/password by mkpasswd 
-l > /etc/passwd too afterwards.


[EMAIL PROTECTED] ~
$ telnet -l ftp phoenix
Trying 218.188.58.94...
Connected to phoenix.
Escape character is '^]'.
Password:
Fanfare!!!
You are successfully logged in to this server!!!

[EMAIL PROTECTED] ~
$ logout
Connection closed by foreign host.

[EMAIL PROTECTED] ~
$ telnet -l nobody phoenix
Trying 218.188.58.94...
Connected to phoenix.
Escape character is '^]'.
Password:
No directory /home/nobody!
Logging in with home = "/".
Fanfare!!!
You are successfully logged in to this server!!!

[EMAIL PROTECTED] /
$ logout
Connection closed by foreign host.

[EMAIL PROTECTED] ~
$ ncftp phoenix
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason ([EMAIL PROTECTED]).
Resolving phoenix...
Connecting to 218.188.58.94...

ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [Phoenix]
Logging in...
Login incorrect.
Sleeping 19 seconds...



Do any other special thing I forget to do yet?

Thanks!!


Jason



On Mon, Jun 16, 2003 at 09:04:40PM +0800, Jason Fu wrote:
> Below are what I came across when I tried to access my proftpd with
> anonymous/ftp. Is cygwin ported of proftpd really working?

Yes, works for me:

$ ncftp 15.1.193.136
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason ([EMAIL PROTECTED]).
Connecting to 15.1.193.136...
ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [TISHLERJASON]
Logging in...
Anonymous access granted, restrictions apply.
Logged in to 15.1.193.136.
ncftp / >

> # A basic anonymous configuration, no upload directories.  If you do
> # not want anonymous users, simply delete this entire 
> # section.
> 
>   Usernobody
>   Group   nogroup

Did you create the nobody user and/or the nogroup group?

Jason

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/



Re: ftp, anonymous login...

2003-06-17 Thread Jason Fu
With both of ftp and nobody a/c disabled and the line

AnonRequirePassword   off

in /etc/proftpd.conf as set above, I've got the following.



[EMAIL PROTECTED] ~
$ ncftp -u nobody phoenix
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason ([EMAIL PROTECTED]).
Resolving phoenix...
Connecting to 218.188.58.94...

ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [Phoenix]
Logging in...

Password requested by 218.188.58.94 for user "nobody".

Anonymous login ok, send your complete email address as your password.

Password:

Anonymous access granted, restrictions apply.
Logging in...
Logged in to phoenix.

ncftp / > ls
AniMatrix@ daemon@
Baseline Security Analyzer@e@
CD1.binhttpd-2.0.46/
CntrlDir/  ls-lR.txt
MPEG4 Direct Maker@md5sum.exe@
MSc (IT)@  n55100cht.exe
MeteorGardenII@xvid@
cygwin1.dll
ncftp / >



[EMAIL PROTECTED] ~
$ ncftp phoenix
NcFTP 3.1.4 (Jul 02, 2002) by Mike Gleason ([EMAIL PROTECTED]).
Resolving phoenix...
Connecting to 218.188.58.94...

ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation) [Phoenix]
Logging in...
Login incorrect.
Sleeping 19 seconds...




That is, I could have an a/c called nobody for anonymous ftp (no password 
needed). I could not use ftp://[EMAIL PROTECTED] but ftp://[EMAIL PROTECTED] in IE 
only 
(Netscape 7.02 doesn't work either).

Any idea?


Jason

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/



Re: ftp, anonymous login...

2003-06-17 Thread Jason Fu
I've done what you say:

I made ftp a member of users group and changed the proftpd.conf as described 
by you but still have the same result and of course this time even nobody 
could not work as an anonymous a/c either but still all other user a/c work as 
before.

Since I've got no other version of Windows but Server 2003, what platform are 
you using?


Regards,

Jason








Jason,

On Tue, Jun 17, 2003 at 03:57:53PM +0800, Jason Fu wrote:
> That is, I could have an a/c called nobody for anonymous ftp (no
> password needed). I could not use ftp://[EMAIL PROTECTED] but
> ftp://[EMAIL PROTECTED] in IE only (Netscape 7.02 doesn't work either).
>
> Any idea?

Create a Windows account called "ftp" and edit your /etc/proftpd.conf as
follows:

  User  ftp
  Group users
...


Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



cygwin1.dll in /usr/sbin for inetd...

2003-08-11 Thread Jason Fu
Hi there,

I've come across a problem for long; i.e.

[EMAIL PROTECTED] ~
$ inetd --install-as-service

[EMAIL PROTECTED] ~
$ net start "cygwin inetd"
The service is not responding to the control function.

More help is available by typing NET HELPMSG 2186.


[EMAIL PROTECTED] ~
$ cp /bin/cygwin1.dll /usr/sbin/

[EMAIL PROTECTED] ~
$ net start "cygwin inetd"
The CYGWIN inetd service is starting.
The CYGWIN inetd service was started successfully.

Could anyone give me an idea such that I no longer need to keep 
/bin/cygwin1.dll as well as /usr/sbin/cygwin1.dll for /usr/sbin/inetd? It's 
always a problem whenever I have cygwin1.dll update since I need to manually 
make a copy of /bin/cygwin1.dll in /usr/sbin.


Thanks.


Regards,

Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



found problem in cygwin 1.3.14-1...

2002-10-28 Thread Jason Fu
No more tab in bash shell available.
 
I can't use tab to search programs like shutdown.exe by simply type the 'tab" 
key after typing "shu" as before:
 

 
$ ls /bin/sh{TAB]
sh.exeshar.exe  shred.exe
sha1sum.exe   showfigfonts  shutdown.exe
 
tsfu@KIRIN ~/Shared Documents/pub
$ shu[TAB]
 
==
 
No response at all.
 
I could do so with 1.3.12 or before. In short, the "tab" function of bash no 
longer works properly as before.

 
Regards,
 
Jason Fu

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/




Re: Re: found problem in cygwin 1.3.14-1...

2002-10-30 Thread Jason Fu
I don't think so. I think it's bug as shown below:

===


root@KIRIN ~
$ cd Shared\ Documents//ftp/cygwin/

root@KIRIN ~/Shared Documents/ftp/cygwin
$ ls
cygipc-1.11-1.tar
ftp%3a%2f%2fmirrors.rcn.net%2fmirrors%2fsources.redhat.com%2fcygwin
setup.exe
setup.log
setup.log.full

root@KIRIN ~/Shared Documents/ftp/cygwin
$ ./setup.log
./setup.log   ./setup.log.full

root@KIRIN ~/Shared Documents/ftp/cygwin
$ ./setup.log

===

I don't think setup.log and setup.log.full should be with execute permission 
but not setup.exe as shown above. It's a bug!


Jason Fu




Jason,

In the command position command completion only includes files with execute 
permission.

Since Cygwin 1.3.13, "ntsec" is on by default, when in the past it was off by 
default. No doubt your files don't have explicit execute permissions.

You'll need to add explicit execute permissions to ".exe" files and scripts to 
get them to be expanded by filename completion in the way you want.

I make a very quick scan of the READLINE section of the BASH manual and didn't 
see a way around this, but the sub-section "Programmable Completion" might 
hold an option / answer I didn't notice.

Randall Schulz
Mountain View, CA USA


At 19:26 2002-10-28, you wrote:

No more tab in bash shell available.

I can't use tab to search programs like shutdown.exe by simply type the 'tab"
key after typing "shu" as before:



$ ls /bin/sh{TAB]
sh.exeshar.exe  shred.exe
sha1sum.exe   showfigfonts  shutdown.exe

tsfu@KIRIN ~/Shared Documents/pub
$ shu[TAB]

==

No response at all.

I could do so with 1.3.12 or before. In short, the "tab" function of bash no
longer works properly as before.


Regards,

Jason Fu

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/




GNU C/C++ no longer works anymore...

2003-02-27 Thread Jason Fu
[EMAIL PROTECTED] ~/My Documents/C++
$ cat time.cc
#include 
#include 

int main()
{
  time_t tp;

  tp = time(NULL);
  char *s = asctime(localtime(&tp));

  cout << s << endl;

  return 0;
}

[EMAIL PROTECTED] ~/My Documents/C++
$ c++ time.cc
c++: installation problem, cannot exec `cc1plus': No such file or directory

[EMAIL PROTECTED] ~/My Documents/C++
$

http://www.hkucs.org/~tsfu/
http://members.staroffice.com/www/tsfu/



--
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/



Installation of fltk hung

2003-11-06 Thread Jason Fu
Please be informed that: setup hung when I tried to install fltk 1.1.4-2 after 
downloading upon flxx_chooser.jpg and the space is shrinking too.

Regards,

Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



setup cannot proceed to do the installation...

2003-11-06 Thread Jason Fu
Dear gurus,

I normally separate the normal user a/c and the admin a/c in my Server 2k3. I 
use the normal user a/c doing the downloading of various CYGWIN packages and 
then I use the admin a/c (here the admin is called root like UNIX) to do the 
installation. Recently I find the installation cannot proceed after MD5 
checking. I tried several times to remove /var/log/setup.log* and it continued 
to finish the installation. But this morning, the installation could not 
continue again and I removed the /var/log/setup.log* but this time it didn't 
work anymore.

Anybody has any idea of what's going on?

Thanks!


Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: setup cannot proceed to do the installation...

2003-11-08 Thread Jason Fu
Sorry.

I use normal user to download and then the admin a/c to install such that all 
CYGWIN instaled packages belong to admin. Recently, after downloading by the 
normal user a/c, I cannot simply invoke the admin a/c to finish the 
installation; it simply stops with both the "back" and "next" buttons dimmed  
after MD5 checking!!. I could only "cancel" the installation and nothing else. 
I've struggled several times to try to fix the problem:
i) I successfully installed once after removing the /var/log/setup.log*
ii) I successfully installed once after copying the /var/log/setup.log* from 
another server 2k3.
iii) I successfully installed once after copying the setup.log* from the 
"download" side by the normal user a/c.
iv) NOW this morning I'm trying after I could not proceed again with both the 
"back" and "next" buttons dimmed after MD5 checking again!!

I tried the above i)-iv) since each method was valid ONCE only!!

Please help.

Thanks.


Jason

> On Fri, 2003-11-07 at 13:28, Jason Fu wrote:
>> Dear gurus,
>>
>> I normally separate the normal user a/c and the admin a/c in my Server
>> 2k3. I  use the normal user a/c doing the downloading of various
>> CYGWIN packages and  then I use the admin a/c (here the admin is
>> called root like UNIX) to do the  installation. Recently I find the
>> installation cannot proceed after MD5  checking. I tried several times
>> to remove /var/log/setup.log* and it continued  to finish the
>> installation. But this morning, the installation could not  continue
>> again and I removed the /var/log/setup.log* but this time it didn't
>> work anymore.
>>
>> Anybody has any idea of what's going on?
>
> Well, if we had some details, maybe. You haven't even given the error or
> symptoms of "cannot continue". And deleting the log files is the last
> thing I'd suggest in 'fixing' setup.
>
> Rob
> --
> GPG key available at:
> <http://members.aardvark.net.au/lifeless/keys.txt>.

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: setup cannot proceed to do the installation...

2003-11-08 Thread Jason Fu
Rob,

Please be informed that the files are too big to be sent to [EMAIL PROTECTED] 
but could you receive it?

Thanks!

Jason

 Original Message 
Subject: failure notice
From: [EMAIL PROTECTED]
Date: Sun, November 9, 2003 10:33 am
To: [EMAIL PROTECTED]
Cc:

Hi. This is the qmail-send program at sources.redhat.com.
I'm afraid I wasn't able to deliver your message to the following
addresses. This is a permanent error; I've given up. Sorry it didn't
work out.

<[EMAIL PROTECTED]>:
ezmlm-reject: fatal: Sorry, I don't accept messages larger than 10
bytes (#5.2.3)

--- Enclosed are the original headers of the message.

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: setup cannot proceed to do the installation...

2003-11-09 Thread Jason Fu
Thanks Rob!

For the time being, I'm using a stupid way of working around it. I remove the 
/var/log/setup.log* every time first. Then I invoke setup.exe in the package 
directory by the normal user a/c. After it goes to the selection menu of the 
site for downloading, I click "next" to let go. At the same time, another 
setup.exe invoked by the admin a/c comes up and starts the installation until 
it finishes. This "dirty" method works for the 3rd times today.

Hope you'll sort out the real problem. Thanks!


Cheers,

Jason

> On Sun, 2003-11-09 at 13:37, Jason Fu wrote:
>> Rob,
>>
>> Please be informed that the files are too big to be sent to
>> [EMAIL PROTECTED]  but could you receive it?
>
> I received them, and will review during the week.
>
> Rob
>
> --
> GPG key available at:
> <http://members.aardvark.net.au/lifeless/keys.txt>.

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: setup cannot proceed to do the installation...

2003-11-10 Thread Jason Fu
Well, the latest workaround is:
1) delete /var/log/setup.log* by the root a/c
2) cp "download packages"/setup.log* /var/log
3) start setup.exe in user mode and "next" as usual for downloading
4) start setup.exe in "kernel" mode and just "next" as setup.exe in user mode 
is running.
5) I could see "next" after MD5 checking and finish the installation in 
"kernel" mode.

Yes, I agree there's a file permission problem.
===
[EMAIL PROTECTED] ~
$ ls -la /var/log/
total 1021
drwxrwxrwx+   4 Administ Users   0 Nov 11 08:22 .
drwxrwx---+  12 Administ Users   0 Aug 20 20:11 ..
drwxrwx---+   2 root Users   0 Jul  1 12:33 apache
drwxrwx---+   2 root Users   0 Sep 29 23:39 exim
-rw-r--r--1 SYSTEM   Administ0 Sep  6 11:21 init.log
-rw-r--r--1 SYSTEM   Administ0 Nov  9 08:44 mountd.log
-rw-r--r--1 SYSTEM   Administ0 Nov  9 08:44 nfsd.log
-rw-r--r--1 SYSTEM   Administ0 Nov  9 08:44 portmap.log
-rw-r--r--1 SYSTEM   Administ15380 Nov 11 11:50 servicelog
-rw-r--r--1 root None   282044 Nov 11 08:24 setup.log
-rw-r--r--1 root None   230584 Nov 11 08:24 setup.log.full
-rw-rw-rw-1 root None   514976 Nov 11 11:52 wtmp

===

[EMAIL PROTECTED] ~
$ UnicodeSupport - Windows NT/2000/XP
Unicode clipboard I/O
ls -la /var/log
total 2004
drwxr-xr-x+   4 Administ Users   0 Nov  8 10:05 .
drwxrwx---+  12 Administ Users   0 Aug 12 21:38 ..
drwxrwx---+   2 root Users   0 Aug  8 22:46 apache
drwxrwx---+   2 root Users   0 Sep 30 00:07 exim
-rwxr-xr-x1 SYSTEM   Administ0 Aug 20 19:41 init.log
-rw-r--r--1 SYSTEM   Administ0 Nov  8 10:05 mountd.log
-rw-r--r--1 SYSTEM   Administ0 Nov  8 10:05 nfsd.log
-rw-r--r--1 SYSTEM   Administ0 Nov  8 10:05 portmap.log
-rwxrwxrwx1 root None17718 Nov 11 11:51 servicelog
-rwxr-x---+   1 Administ Users 1292068 Nov 11 00:11 setup.log
-rwxr-x---+   1 Administ Users  234210 Nov 11 00:11 setup.log.full
-rwxr-x---+   1 root Users  49 Nov  7 08:52 
setup.log.postinstallXa00656
-rwxr-x---+   1 root Users   0 Nov 10 11:24 
setup.log.postinstallXa02440
-rwxr-x---+   1 root Users   0 Nov  9 22:24 
setup.log.postinstallXa02528
-rwxr-x---+   1 root Users  49 Nov  7 18:42 
setup.log.postinstallXa02952
-rwxr-x---+   1 root Users  49 Nov  8 21:43 
setup.log.postinstallXa03188
-rwxr-x---+   1 root Users  49 Nov  9 08:47 
setup.log.postinstallXa03768
-rwxr-x---+   1 root Users  49 Nov  8 09:04 
setup.log.postinstallXa03804
-rw-rw-rw-1 root None   501424 Nov 11 11:51 wtmp

===

The "Dragon" is the Server 2003 with the problem and the "Zeus" is another 
Server 2003 without the problem.


Cheers,

Jason

> Jason Fu wrote:
>
>> i) I successfully installed once after removing the
>> /var/log/setup.log*
>
>Shankar Unni wrote:
> Is it possible that your admin account does not have the right
> permissions to write to a setup.log file owned by the user account?

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: Samba for Cygwin

2003-11-12 Thread Jason Fu
I've found this piece of old message when I tried to sort anything about 
CYGWIN port of Samba.

>
> Joshua Jensen wrote:
>
>> I show all my students Cygwin, and they love it.  Their number one
>> question, though, is "where is Samba for Cygwin?".  Are there aspects
>> of Samba that are particularly problematic when porting to Cygwin?
>> Are there any plans for Samba on Cygwin?
>

Samba does not just allow file sharing from UNIX/Linux box but it also acts as 
a domain controller for Windows box for network access. I do think that Samba 
for CYGWIN is worth it since it could simply allow 
Windows95/98/98SE/ME/NT/2K/XP/2K3 to be the domain controller for other 
Windows workstation to control network access.

>
> Umm...why?
>
> Samba allows linux/unix machines to export shares using the SMB/CIFS
> protocol.
>
> smbfs allows linux machines to mount shares from other machines (incl.
> windows) using SMB/CIFS.
>
> Windows ALREADY can export and mount shares using SMB/CIFS.  These
> filesharing tools are *builtin* to windows 9x/Me and NT/2k.  Why run
> samba?
>
> That's like asking to port WINE to Cygwin (or port cygwin to WINE).

We don't need WINE for CYGWIN since CYGWIN is already on Windows platform. But 
we need Samba on Windows for working as a domain controller to control network 
access from various workstation. For marketing purpose, not all versions in NT 
family are allowed to be domain controller.

> It's a gee-whiz proof-of-concept, but has no practical value.
>
> --Chuck
>
>
> --

Samba for CYGWIN does have practical value; you buy Windows XP/2K for at most 
US$300 but you buy for Windows Server NT4.0/2K/2K3 for at least US$3,000 and 
only servers are allowed to be "promoted" to be domain controllers. With Samba 
for CYGWIN, we may no longer need server version Windows, do we? Although the 
I/O is not so good on Windows box as compared with Linux box, it still makes 
sense that CYGWIN is able to do all Linux can do.

Please correct me if I'm wrong.


Cheers,

Jason

PS This is a very old message dated back to 2001 but I still think it's worth 
it to bring up this issue for all of your concern.

http://www.hkucs.org:8080/~tsfu/


--
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/



gcj problem...

2004-02-16 Thread Jason Fu
Any idea about it...

$ gcj HelloWorld.java
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+0
x7
c): undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status

=
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
=

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: gcj problem...

2004-02-18 Thread Jason Fu
I do remember there's the same usage of gcj with javac and I did not notice 
the changes as mentioned in the links you mention.

Anyway, thanks.

Jason

> On Mon, 16 Feb 2004, Jason Fu wrote:
>
>> Any idea about it...
>>
>> $ gcj HelloWorld.java
>> 
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+0
x7c):
>> undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit
>> status
>>
>> =
>> public class HelloWorld
>> {
>> public static void main(String[] args)
>> {
>> System.out.println("Hello World!");
>> }
>> }
>> =
>>
>> http://www.hkucs.org:8080/~tsfu/
>
> Here's an idea:
>
>> Problem reports:   http://cygwin.com/problems.html
>
> Please pay particular attention to the bit about attaching the cygcheck
> output.
>   Igor
> --
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "I have since come to realize that being between your mentor and his
> route to the bathroom is a major career booster."  -- Patrick Naughton

http://www.hkucs.org:8080/~tsfu/


--
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/



Corrupted binary file download...

2002-05-17 Thread Jason Fu

I've checked Apache 2.0.36 and 1.3.24 compiled by CYGWIN on WinXP, Win2K
and Win .Net Enterprise Beta 3615. They all have the same problem -
corrupted file download. And there's not such a problem on 2.0.36 (Win32)
version on WinXP at all. I'm using the latest CYGWIN available from
www.cygwin.com.  I used 1.3 (Win32) before on WinXP and it's no such a
problem at all but I did not test the latest 1.3 (Win32) version.


2.0.36 is compiled on Win2K Pro, WinXP and .Net Enterprise Beta 3615
and 1.3.24-5 is from cygwin.com of ccourse.

Thanks.


Jason



--
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/




Old packages...

2003-09-03 Thread Jason Fu
Hi there,

I always keep my CYGWIN packages as "current" as possible. But this turns out 
to be a lot of old files left behind/before for me to handle/delete. I really 
wonder if there's any available tactics to handle old files and just keep the 
latest version.

Thanks!

Jason Fu

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: Old packages...

2003-09-03 Thread Jason Fu
Sorry that I did not make it clear. What I mean is those source files and not 
the installed packages.

Just wonder if there's any way being used by cygwin'ers to handle a lot of 
binary sources of different versions after downloading the latest one.


Regards,

Jason Fu

> On Thu, Sep 04, 2003 at 11:13:18AM +0800, Jason Fu wrote:
>>Hi there,
>>
>>I always keep my CYGWIN packages as "current" as possible. But this
>> turns out  to be a lot of old files left behind/before for me to
>> handle/delete. I really  wonder if there's any available tactics to
>> handle old files and just keep the  latest version.
>
> You are making a point from the assumption that leaving old files behind
> is a desired/expected behavior.  It isn't.
>
> If you report the old files that are left behind to the cygwin-apps
> mailing list then the package maintainer will correct that problem.
> --
> Please use the resources at cygwin.com rather than sending personal
> email. Special for spam email harvesters: send email to
> [EMAIL PROTECTED] and be permanently blocked from mailing lists at
> sources.redhat.com

http://www.hkucs.org:8080/~tsfu/


--
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/



Re: Old packages...

2003-09-09 Thread Jason Fu
Thank you, Max!
It works perfectly with options:
clean_setup.pl -DDir -DFile -prev -prevobs

Thanks!!


Jason

> Jason Fu wrote:
>> Sorry that I did not make it clear. What I mean is those source files
> and
> not
>> the installed packages.
>>
>> Just wonder if there's any way being used by cygwin'ers to handle a
>> lot
> of
>> binary sources of different versions after downloading the latest one.
>
> clean_setup.pl at http://home.ix.netcom.com/~mchase/zip/
>
> Max.

http://www.hkucs.org:8080/~tsfu/


--
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/



tetex-base 2.0.2-13...

2003-09-19 Thread Jason Fu
Hi there,

Please be informed that the installation of tetex-base 2.02-13 gets hung.

Cheers,

Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



setup.exe cannot proceed...

2003-09-19 Thread Jason Fu
Hi there,

I tried to update this morning and setup.exe just could not proceed and 
crashed earlier after invoked.

Regards,

Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



setup.exe cannot proceed...

2003-09-19 Thread Jason Fu
Hi there,

I tried to update this morning and setup.exe just could not proceed and
crashed earlier after invoked.

But this is only when use the mirrors.rcn.net.

Regards,

Jason

http://www.hkucs.org:8080/~tsfu/


--
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/



RE: setup.exe cannot proceed...

2003-09-19 Thread Jason Fu
>
> Have you tried lately?

Yes, I tried again for ftp://mirrors.rcn.net but it still didn't work yet.

> Works for me.
> I use Direct Connection.
> Try that.

I tried for ftp://mirrors.kernel.org and it worked.

Anyway, I should not rely only ftp://mirrors.rcn.net but many other mirror 
sites.


Jason

>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Jason Fu
> Sent: Friday, September 19, 2003 8:32 PM
> To: cygwin
> Subject: setup.exe cannot proceed...
> Importance: High
>
>
> Hi there,
>
> I tried to update this morning and setup.exe just could not proceed and
> crashed earlier after invoked.
>
> But this is only when use the mirrors.rcn.net.
>
> Regards,
>
> Jason
>
> http://www.hkucs.org:8080/~tsfu/
>
>
> --
> 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/

http://www.hkucs.org:8080/~tsfu/


--
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/



cygwin ange-ftp...

2005-01-27 Thread Jason Fu
Hi there,

I've found there's some problem with the ftpd of cygwin recentrly while
using ange-ftp in xemacs. I could not list my home in a cygwin box but I
have no problem at all in all other unix box.

Please advise and thanks.

Regards,

Jason FU





--
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/



cygwin ping

2005-01-27 Thread Jason Fu
Hi there,

After I updated the cygwin ping, I have this whenver I try to ping:


ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument


Thanks.

Jason FU


--
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/



Re: cygwin ange-ftp...

2005-01-27 Thread Jason Fu
Mister,

Sorry that I had no problem at using the same cygwin xemacs accessing
other UNIX boxes like Solaris and Linux in listing the homes there. So the
problem is the ftpd of cygwin and no other, isn't it?

Regards,

Jason


>
>
> Jason Fu wrote:
>
> Hi there,
>
> I've found there's some problem with the ftpd of cygwin recentrly
> while using ange-ftp in xemacs. I could not list my home in a cygwin box
> but I have no problem at all in all other unix box.
>
>
> Describe how you "list my home" in ange-ftp in xemacs.
>
> WAG: You are using the windows version XEmacs and attempting to edit
> files via ange-ftp and that is failing. If so then it's probably because
> your Windows XEmacs is executing a Cygwin ftp client and should instead
> be using a Windows oriented ftp.
> --
> Are there seeing eye humans for blind dogs?





--
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/



Re: cygwin ping

2005-01-27 Thread Jason FU
Christopher Faylor  cygwin.com> writes:

> 
> On Thu, Jan 27, 2005 at 10:04:07PM +0800, Jason Fu wrote:
> >After I updated the cygwin ping, I have this whenver I try to ping:
> >
> >ping: recvfrom: Invalid argument
> >ping: recvfrom: Invalid argument
> 
> We're going to need the type of details mentioned here:
> http://cygwin.com/problems.html


That's what I had whenever I ping

Script started on Fri Jan 28 08:57:24 2005
ESC]0;~/Shared Documents/ftp/Cygwin World/work^G
[EMAIL PROTECTED] ESC[33m~/Shared Documents/ftp/Cygwin World/workESC[0m
$ ping www.cygwin.com
PING www.cygwin.com (12.107.209.250): 56 data bytes
sendto: Operation not permitted
ping: wrote www.cygwin.com 64 chars, ret=-1
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
...
==

[EMAIL PROTECTED] ~/Shared Documents/ftp/Cygwin World
...release/ping/ping-1.0-1.tar.bz2

That's the "ping" that I'm using.

Regards,

Jason FU




--
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/



1.0-1: ping problem

2005-01-27 Thread Jason FU
$ ping www.cygwin.com
PING www.cygwin.com (12.107.209.250): 56 data bytes
sendto: Operation not permitted
ping: wrote www.cygwin.com 64 chars, ret=-1
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
...




--
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/



Re: cygwin ange-ftp...

2005-01-28 Thread Jason FU
Corinna Vinschen  cygwin.com> writes:

> 
> On Jan 28 08:45, Jason Fu wrote:
> > Mister,
> > 
> > Sorry that I had no problem at using the same cygwin xemacs accessing
> > other UNIX boxes like Solaris and Linux in listing the homes there. So the
> > problem is the ftpd of cygwin and no other, isn't it?
> 
> Works for me if the XP Firewall is setup for this.
> 
> Corinna
> 

It doesn't work for both XP sp2 and Server 2003. I've closed the sp2 firewall in
XP and I could do ange-ftp to other UNIX boxes but not to any of the cygwin
boxes. That's it.


Jason


--
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/



Re: 1.0-1: ping problem

2005-01-28 Thread Jason FU
Lino Miguel Martins Tinoco  telecom.pt> writes:

> 
> Jason FU wrote:
> 
> > $ ping www.cygwin.com
> > PING www.cygwin.com (12.107.209.250): 56 data bytes
> > sendto: Operation not permitted
> > ping: wrote www.cygwin.com 64 chars, ret=-1
> > ping: recvfrom: Invalid argument
> > ping: recvfrom: Invalid argument
> > ...
> 
> It seems the packet is assembled but it cannot be sent. Have you any
> firewall installed? If so, shut down the firewall and test again.
> 
> --Lino Tinoco
> 
> 


[EMAIL PROTECTED] ~
$ /c/WINDOWS/system32/ping.exe www.cygwin.com

Pinging www.cygwin.com [12.107.209.250] with 32 bytes of data:

Reply from 12.107.209.250: bytes=32 time=231ms TTL=55
Reply from 12.107.209.250: bytes=32 time=230ms TTL=55
Reply from 12.107.209.250: bytes=32 time=238ms TTL=55


[EMAIL PROTECTED] ~
$ /usr/bin/ping.exe www.cygwin.com
PING www.cygwin.com (12.107.209.250): 56 data bytes
sendto: Operation not permitted
ping: wrote www.cygwin.com 64 chars, ret=-1
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument
ping: recvfrom: Invalid argument


That's the same machine (Server 2003) for me to ping with Windows ping an \d
cygwin ping shown above.


Jason FU



--
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/



ftpd daemon doesn't work properly with emacs ange-ftp

2005-01-28 Thread Jason FU
Corinna Vinschen  cygwin.com> writes:

>
> 
> In this case, see http://cygwin.com/problems.html
> 
> Corinna
> 

Just boot up Knoppix to ange-ftp from xemacs there to a cygwin bax and come
across the same problem. That is, no listing of the home can be done with xemacs
ange-ftp.


Jason FU



--
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/



1.0-1 ping problem (nt, 2000, xp and server 2003

2005-02-15 Thread Jason FU
Hi there,

I'm noticing this summer, that whenever I try to ping cygwin, 

$ ping www^M
PING www.hgcbroadband.com (210.0.255.160): 56 data bytes^M
sendto: Operation not permitted^M
ping: wrote www.hgcbroadband.com 64 chars, ret=-1^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M
ping: recvfrom: Invalid argument^M


Could this be a problem with 1.0-1 ping utility?"


Regards,

Jason FU



--
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/



Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-20 Thread Jason FU
Christopher Faylor  cygwin.com> writes:

> 
> I've made a new version of the Cygwin DLL and associated utilities
> available for download.  As usual, a list of what has changed is below.
> 
> To update your installation, click on the "Install Cygwin now" link on
> the http://cygwin.com/ web page.  This downloads setup.exe to your
> system.  Then, run setup and answer all of the questions.
> 
> If you have questions or comments, please send them to the Cygwin
> mailing list at: cygwin  cygwin.com .
> 
>   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
> 
> If you want to unsubscribe from the cygwin-announce mailing list, look
> at the "List-Unsubscribe: " tag in the email header of this message.
> Send email to the address specified there.  It will be in the format:
> 
> cygwin-announce-unsubscribe-you=yourdomain.com  cygwin.com
> 
> If you need more information on unsubscribing, start reading here:
> 
> http://sources.redhat.com/lists.html#unsubscribe-simple
> 
> Please read *all* of the information on unsubscribing that is available
> starting at this URL.
> 
> Christopher Faylor
> TimeSys, Inc.
> 
> Changes since 1.5.14-1:
> 
> corinna: Revamp process token handling to allow fast privilege switching.
> 
> corinna: Fix ctime handling.
> 
> cgf: Fix problem which caused cygwin not to dereference symlinks in the
> middle of a path in some cases.
> 
> cgf: Clean up and simplify cygwin's lock handling.
> 
> cgf: Fix crashes on startup that some users experienced.
> 
> cgf: Make sure that nonexistent host names, services, and other network
> entities are correctly identified as such.
> 
> corinna: Implement true (optional) syslog handling.
> 
> corinna: Handle case when unix socket type doesn't match requested socket
> type.
> 
> corinna: (Hopefully) Fix multiple race conditions in cygserver.
> 
> phumblet: Fix setuid returning -1 when supplementary group list contains
> duplicate entries.
> 
> dave.korn: Fix incorrect parsing of "n" (as NaN) in *scanf().
> 
> brian.dessent: Fix cygcheck so that it will not report on files in the
> PATH twice when "." is in the path.
> 
> phumblet/corinna: Change initgroups/getgroups to create correct list of
> supplementary groups for changing user context
> 
> corinna: Revert to "Bypass traverse checking" by default"
> 
> cgf: Always run destructors on process exit.  Don't rely on atexit for
> this.
> 
> 


After installing the latest cygwin-1.5.15-1, I restarted the computer for it to
take effect. Since then, I could no longer shutdown the machine with the cygwin
shutdown.exe as follows:

=
[EMAIL PROTECTED] ~
$ shutdown.exe now
WARNING!!! System is going down NOW
shutdown: Couldn't shutdown: A required privilege is not held by the client.

[EMAIL PROTECTED] ~
$ uname
CYGWIN_NT-5.1

[EMAIL PROTECTED] ~
$ uname -a
CYGWIN_NT-5.1 ITO2 1.5.15(0.127/4/2) 2005-04-18 12:20 i686 unknown unknown Cygwi
n

=


[EMAIL PROTECTED] ~
$ shutdown.exe now
WARNING!!! System is going down NOW
shutdown: Couldn't shutdown: A required privilege is not held by the client.


[EMAIL PROTECTED] ~
$ uname -a
CYGWIN_NT-5.2 Zeus 1.5.15(0.127/4/2) 2005-04-18 12:20 i686 unknown unknown 
Cygwin

=

shutdown no longer works for both Windows XP SP2 and Windows Server 2003.

Please advise.

Thanks!


Regards,

Jason


--
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/



Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-21 Thread Jason FU
Corinna Vinschen  cygwin.com> writes:

> 
> On Apr 21 05:01, Jason FU wrote:
> > Christopher Faylor  cygwin.com> writes:
> > 
> > [Unneeded, useless, annoying full quote removed]
> > > 
> > After installing the latest cygwin-1.5.15-1, I restarted the computer for it
> > to
> > take effect. Since then, I could no longer shutdown the machine with the
> > cygwin
> > shutdown.exe as follows:
> 
> I've uploaded a new version of shutdown which should solve this problem.
> 
> Corinna
> 

It doesn't work either as follows:

===

[EMAIL PROTECTED] ~
$ shutdown.exe now
WARNING!!! System is going down NOW
shutdown: Couldn't shutdown: Error 5 Access is denied.


[EMAIL PROTECTED] ~
$ uname -a
CYGWIN_NT-5.2 Dragon 1.5.15(0.127/4/2) 2005-04-18 12:20 i686 unknown unknown Cyg
win

===

This is my Server 2003.

Regards,

Jason



--
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/



Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-21 Thread Jason FU
Corinna Vinschen  cygwin.com> writes:

> 
> On Apr 21 13:33, Jason FU wrote:
> > Corinna Vinschen  cygwin.com> writes:

> > It doesn't work either as follows:

> Running as admin?
> 
> Corinna
> 

Yes, Server 2003 only allows administrators to turn off the machine.

Jason



--
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/



Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-22 Thread Jason FU
Corinna Vinschen  cygwin.com> writes:

> 
> On Apr 22 00:52, Jason FU wrote:

> I know, that's why I was asking.  I just ran shutdown-1.5-1 again on
> 2003 Server and it works fine for me.  I tried it in local sessions,
> remote desktop sessions and in a sshd logon from another machine.  In
> all cases shutdown worked as expected.  So what shall I do?
> 
> Corinna
> 

I have the same problem in Windows XP SP2.

Jason


--
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/



Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Jason FU
Gerrit P. Haase  familiehaase.de> writes:

> 
> Krzysztof Duleba wrote:
> 
> > Hi
> > 
> > Since gcc 4.0 is out, sooner or later there will be a Cygwin release. As
> > much as I look forward to it, I hope it won't replace the current release
> > of 3.3.
> > 
> 
> I'll try to do so.  AFAIK it is just one configure flag which needs to
> be changed.
> 
> Gerrit

I perfer CYGWIN to have only one compiler to work at one time as normal Linux
does. I prefer a more UNIX like CYGWIN.

Thanks.

Jason



--
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/



Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Jason FU
Corinna Vinschen  cygwin.com> writes:

> 
> On Apr 22 13:17, Corinna Vinschen wrote:

> 
> I've created a patched version of shutdown which should give us some
> hint why it doesn't work for you.  The source is attached.  Just call
> `make shutdown' and run this newly created shutdown instead of the 
> release version and report back.
> 
> Corinna
> 

===
[EMAIL PROTECTED] ~/Shared Documents/C++
$ ls -la shutdown.*
-rw-r--r--  1 tsfu None 10631 Apr 22 21:13 shutdown.c
-rwxr-xr-x  1 tsfu None 24549 Apr 22 21:14 shutdown.exe

[EMAIL PROTECTED] ~/Shared Documents/C++
$ shutdown.exe now
WARNING!!! System is going down NOW
shutdown: Couldn't shutdown: Error 5 Access is denied.
===

It still doesn't work with the same message.

Thanks.

Jason



--
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/



Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Jason FU
Jason FU  ust.hk> writes:

> 
> Corinna Vinschen  cygwin.com> writes:
> 
> > 
> > On Apr 22 13:17, Corinna Vinschen wrote:
> 
> > 
> > I've created a patched version of shutdown which should give us some
> > hint why it doesn't work for you.  The source is attached.  Just call
> > `make shutdown' and run this newly created shutdown instead of the 
> > release version and report back.
> > 
> > Corinna
> > 

Sorry!!

This one works. I forgot to use

./shutdown.exe ...

Thanks, Corina.


Jason




--
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/



Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Jason FU
Markus SchÃnhaber  schoenhaber.de> writes:

> 
> Am Freitag, 22. April 2005 13:27 schrieb Jason FU:
> > Gerrit P. Haase  familiehaase.de> writes:
> > > Krzysztof Duleba wrote:
> > > > Hi
> > > >
> Asking just out of curiosity: how are you affected by the simple possibility 
> to install multiple versions off gcc? If you want just one version of gcc on 
> your system, isn't installing just one version of gcc an option for you?
> 
> Regards
>   mks
> 
> BTW: On my Linux box, I have installed both gcc 3.3.5 and gcc 3.4. Obviously 
> at most one of them is doing some work at a given time.
> 
> 

I think GCC is a reliable tool. We don't need to have the old version to
co-exist for chaos. If you worry that GCC 4.0 doesn't work properly, why don't
you wait for a while for people's comments? With multiple versions of the same
development tool, you'll have infinite nightmares for your code.

Thanks.

Jason



--
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/



man ls....

2005-04-22 Thread Jason FU
About manpage, on Windows XP SP2 or before when I man ls,

=
LS(1)   User Commands   LS(1)

NAME
   ls - list directory contents

SYNOPSIS
   ls [OPTION]... [FILE]...

DESCRIPTION
   List  information  about the FILEs (the current directory by default).
   Sort entries alphabetically if none of -cftuSUX nor --sort.

   Mandatory arguments to long options are mandatory  for  short  options
   too.

   -a, --all
  do not ignore entries starting with .

   -A, --almost-all
  do not list implied . and ..

   --author
  with -l, print the author of each file
=

But on my Windows Server 2003, I have the following when I man ls,


=

LS(1)   User Commands   LS(1)

ESC[1mNAMEESC[0m
   ls - list directory contents

ESC[1mSYNOPSISESC[0m
   ESC[1mls ESC[22m[ESC[4mOPTIONESC[24m]... [ESC[4mFILEESC[24m]...

ESC[1mDESCRIPTIONESC[0m
   List  information  about the FILEs (the current directory by default).
   Sort entries alphabetically if none of ESC[1m-cftuSUX ESC[22mnor ESC[1m--
sortESC[22m.

   Mandatory arguments to long options are mandatory  for  short  options
   too.

   ESC[1m-aESC[22m, ESC[1m--allESC[0m
  do not ignore entries starting with .

   ESC[1m-AESC[22m, ESC[1m--almost-allESC[0m
  do not list implied . and ..

   ESC[1m--authorESC[0m
=

What should I set for having the screen more properly set?

Thanks.

Regards,

Jason


--
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/



Re: gcc 4.0 and 3.3 at the same time?

2005-04-23 Thread Jason FU
Krzysztof Duleba  skrzynka.pl> writes:

> 
> Jason FU wrote:
> 
> > > > Since gcc 4.0 is out, sooner or later there will be a Cygwin
> release. As

> If you don't want to have more compilers, don't install them. I am also
> wondering what is a "normal Linux". All my Linux boxes have 3 C compilers
> and my Windows box has 5 of them.
> 
> Regards
> Krzysztof Duleba
> 
> 

If multiple versions are to exist in one box, I wish that's the case for all
OSes and not just CYGWIN. I suppose CYGWIN works like a Windows emulator of UNIX
only and works exactly "the same" as its UNIX counterpart(s). That's all. Don't
make our life too complex with different feature(s) in different ported
version(s). See what I mean?

Thanks.

Jason




--
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/



I have user mounts instead of system ones.

2005-05-29 Thread Jason FU
As described in

http://cygwin.com/ml/cygwin/2004-06/msg00347.html

I also have the same problem.

But after I tried the line
eval "`mount -m | sed 's/ -u / -s /'`"
and reboot my Windows Server 2003, I still have the following as before:

[EMAIL PROTECTED] ~
$ mount -m
mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
mount -f -u -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -u -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -u -b "C:/cygwin" "/"
mount -f -s -b "C:/cygwin" "/"
mount -f -s -b "a:" "/a"
mount -f -s -b "c:" "/c"
mount -f -s -b "d:" "/d"
mount -f -s -b "e:" "/e"
mount -f -s -b "f:" "/f"
mount -f -s -b "h:" "/h"
mount -f -s -b "i:" "/i"
mount -f -s -b "j:" "/j"
mount -u -b --change-cygdrive-prefix "/cygdrive"
mount -s -b --change-cygdrive-prefix "/cygdrive"


Please advise. Thanks!

Regards,

Jason


--
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/



Re: I have user mounts instead of system ones.

2005-05-30 Thread Jason FU
Reini Urban  x-ray.at> writes:

> 
> Jason FU schrieb:
> 
> Run
>umount -U
> now to remove all user mounts.
> 

Does it mean that I'll have all the services up after this command and rebooting
the machine?

Thanks.

Jason




--
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/



Re: I have user mounts instead of system ones.

2005-05-30 Thread Jason FU
Reini Urban  x-ray.at> writes:
> 
> 
> Run
>umount -U
> now to remove all user mounts.
> 

Does it mean that I'll have all of my services up after this umount and reboot?

Thanks.


Jason


--
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/



Re: I have user mounts instead of system ones.

2005-05-30 Thread Jason FU
Reini Urban  x-ray.at> writes:

> 
> Jason FU schrieb:
> > As described in
> > 
> > http://cygwin.com/ml/cygwin/2004-06/msg00347.html
> > 
> > I also have the same problem.
> > 

> 
> Run
>umount -U
> now to remove all user mounts.
> 

But after this command, how do I restart those services again, please?

The description for Event ID ( 0 ) in Source ( init ) cannot be found. The local
computer may not have the necessary registry information or message DLL files to
display messages from a remote computer. You may be able to use the /AUXSOURCE=
flag to retrieve this description; see Help and Support for details. The
following information is part of the event: init : PID 1768 : starting service
`init' failed: fork: 0, No error.


The description for Event ID ( 0 ) in Source ( exim ) cannot be found. The local
computer may not have the necessary registry information or message DLL files to
display messages from a remote computer. You may be able to use the /AUXSOURCE=
flag to retrieve this description; see Help and Support for details. The
following information is part of the event: exim : PID 1712 : starting service
`exim' failed: fork: 0, No error.

The description for Event ID ( 0 ) in Source ( portmap ) cannot be found. The
local computer may not have the necessary registry information or message DLL
files to display messages from a remote computer. You may be able to use the
/AUXSOURCE= flag to retrieve this description; see Help and Support for details.
The following information is part of the event: portmap : PID 1912 : starting
service `portmap' failed: fork: 0, No error.


The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local
computer may not have the necessary registry information or message DLL files to
display messages from a remote computer. You may be able to use the /AUXSOURCE=
flag to retrieve this description; see Help and Support for details. The
following information is part of the event: sshd : PID 2028 : starting service
`sshd' failed: fork: 0, No error.



[EMAIL PROTECTED] ~
$ ps -e
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 1644   11644   1644?   18 23:21:04 /usr/bin/cygrunsrv
 1712   11712   1712?   18 23:21:04 /usr/bin/cygrunsrv
 169216441692   1752?   18 23:21:04 /usr/sbin/cygserver
 1768   11768   1768?   18 23:21:04 /usr/bin/cygrunsrv
 1912   11912   1912?   18 23:21:05 /usr/bin/cygrunsrv
 2028   12028   2028? 1019 23:21:05 /usr/bin/cygrunsrv
I3176   13176   3176  con 1005 23:49:54 /usr/bin/bash
I3772   13772   3772  con 1003 23:50:32 /usr/bin/bash
 2012   12012   2012  con 1003 23:53:38 /usr/bin/bash
 282820122828   3096  con 1003 23:54:08 /usr/bin/ps

[EMAIL PROTECTED] ~
$



Thanks.

Jason


--
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/



Re: I have user mounts instead of system ones.

2005-05-30 Thread Jason FU
Larry Hall  cygwin.com> writes:

> 
> Unless you installed these services with a particular user specified (see
> the '-u' flag of 'cygrunsrv'), none of the services should be using any 
> user mount.  All services started by 'cygrunsrv', by default, run as 
> SYSTEM.  If you did install the services (manually) specifying a particular 
> user account, you'll want to uninstall and reinstall those services and use
> the default (SYSTEM) account.  The fork error you reported here is not the
> one I would have expected to see in the case where your services were being
> run as a certain user but it may be the cause.  You should also look at the
> log files in /var/log to see if there is more information that will help 
> you determine what the cause of this error is.  If you need to follow-up
> with this list again on this issue, please read and follow the problem 
> reporting guidelines at .
>

First,


$ telnet ito2
Trying 192.168.0.122...
Connected to ITO2.
Escape character is '^]'.

CYGWIN_NT-5.1 1.5.16(0.128/4/2) (ITO2) (tty2)

login: 

all the services work when I was still using 1.5.16 as shown above.

Second, I didn't do any manual installation of the services but used
the init-config, exim-config, nfs-server-config and cygserver-config 
to install the services. And I did it by administrator a/c. I've 
never done any user mount at all.

Thanks.

Jason






--
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/



Re: I have user mounts instead of system ones.

2005-05-30 Thread Jason FU
Larry Hall  cygwin.com> writes:

I've rolled back to cygwin-1.5.16-1.tar.bz2 and everything resumes working now.

Thanks.

Jason





--
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/



Re: I have user mounts instead of system ones.

2005-05-31 Thread Jason FU
Larry Hall  cygwin.com> writes:

> If you have them, they were either created this way or explicitly through
> your action using 'mount'.  Sorry, I cannot say which.
> 


[EMAIL PROTECTED] ~
$ mount -m
mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -f -s -b "a:" "/a"
mount -f -s -b "c:" "/c"
mount -f -s -b "d:" "/d"
mount -f -s -b "e:" "/e"
mount -f -s -b "f:" "/f"
mount -f -s -b "g:" "/g"
mount -f -s -b "h:" "/h"
mount -f -s -b "i:" "/i"
mount -f -s -b "j:" "/j"
mount -s -b --change-cygdrive-prefix "/cygdrive"

[EMAIL PROTECTED] ~
$ mount -m
mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -f -s -b "a:" "/a"
mount -f -s -b "c:" "/c"
mount -f -s -b "d:" "/d"
mount -f -s -b "e:" "/e"
mount -f -s -b "f:" "/f"
mount -f -s -b "g:" "/g"
mount -f -s -b "h:" "/h"
mount -f -s -b "i:" "/i"
mount -f -s -b "j:" "/j"
mount -s -b --change-cygdrive-prefix "/cygdrive"

[EMAIL PROTECTED] ~
$ ps -e
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 1548   11548   1548?   18 08:53:04 /usr/bin/cygrunsrv
 168815481688   1724?   18 08:53:05 /usr/sbin/cygserver
 1844   11844   1844?   18 08:53:05 /usr/bin/cygrunsrv
 1920   11920   1920?   18 08:53:06 /usr/bin/cygrunsrv
  492   1 492492?   18 08:53:10 /usr/bin/cygrunsrv
 1068   11068   1068?   18 08:53:11 /usr/bin/cygrunsrv
 1488   11488   1488  con 1004 08:53:14 /usr/bin/bash
I 896   1 896896  con  500 08:55:15 /usr/bin/bash
  6001488 600604  con 1004 08:58:38 /usr/bin/ps

[EMAIL PROTECTED] ~
$


NOW, I just reinstalled the latest cygwin 1.5.17-1

[EMAIL PROTECTED] ~
$ ls -la Shared\ Documents/ftp/Cygwin\ World/complete/cygwin/ftp%3a%2f%2fmirror
s.rcn.net%2fpub%2fsourceware%2fcygwin/release/cygwin
total 1208
drwxrwxrwt+   2 tsfu Users   0 Jun  1 08:36 .
drwxrwxrwt+ 275 tsfu Users   0 May 18 08:31 ..
-rwxrwxrwx1 tsfu Users 1236430 May 27 08:40 cygwin-1.5.17-1.tar.bz2

and the same problem persists and none of the services go up again.

I've done umount -U in all user accounts and the administrator accounts.

Thanks.


Jason


--
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/



Re: I have user mounts instead of system ones.

2005-05-31 Thread Jason FU
Larry Hall  cygwin.com> writes:

> 
> Sorry but I don't know what this shows.  You seem to be implying that 
> installing causes user mounts that never appeared previously
> to suddenly appear.  Or perhaps I am misunderstanding you.  I don't know.
> I can say this however.  What you have shown above gives no indication of 
> a user mount on your system.  Both invocations of 'mount -m' that you've
> included show that you have system mounts only.  Your 'ps -e' output shows
> that you have 5 services running, successfully/usefully or otherwise.  So 
> while I wouldn't presume to debate you on whether or not you're having 
> problems using these services in the way that you want, the information 
> that you've provided thus far does not indicate any problem or source of 
> your problem.  I would again invite you to review and follow the problem
> reporting guidelines at  if you'd like to
> pursue this issue further with the help of those here on this list.
> 

Look here, Larry.

==
[EMAIL PROTECTED] ~
$ ps -e
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
  288   1 288288?   18 09:06:33 /usr/bin/cygrunsrv
  452 288 452476?   18 09:06:35 /usr/sbin/cygserver
  520   1 520520?   18 09:06:35 /usr/bin/cygrunsrv
  652   1 652652?   18 09:06:36 /usr/bin/cygrunsrv
  624 520 624684?   18 09:06:38 /usr/bin/exim-4.50-1
 1064 6521064   1088  con   18 09:06:37 /sbin/init
 2060   12060   2060?   18 09:06:46 /usr/bin/cygrunsrv
 215620602156   2236?   18 09:06:47 /usr/sbin/portmap
 2272   12272   2272?   18 09:06:47 /usr/bin/cygrunsrv
 230422722304   2328?   18 09:06:49 /usr/sbin/sshd
 2972   12972   2972?   18 09:07:38 /usr/bin/cygrunsrv
 3048   13048   3048?   18 09:07:40 /usr/sbin/xinetd
 3084   13084   3084?   18 09:07:41 /usr/bin/cygrunsrv
 315629723156   3232?   18 09:07:46 /usr/sbin/rpc.mountd
 318830843188   3256?   18 09:07:47 /usr/sbin/rpc.nfsd
 3424   13424   3424  con 1004 09:07:57 /usr/bin/bash
  3843424 384   1672  con 1004 09:09:50 /usr/bin/sh
 2536 384 384   3332  con 1004 09:09:58 /usr/X11R6/bin/xinit
 369625363696   3708  con 1004 09:10:00 /usr/X11R6/bin/XWin
 408025364080   2900  con 1004 09:10:26 /usr/bin/xterm
I 8964080 896   34080 1004 09:10:27 /usr/bin/bash
 1960 89619602360 1004 09:29:25 /usr/bin/xterm
I 7001960 700   18281 1004 09:29:28 /usr/bin/bash
 106034241060496  con 1004 10:13:55 /usr/bin/ps
==

If cygwin 1.5.17 works, I should have these services up. The former dumps showed
you that they didn't work with cygwin 1.5.17 at all. The dump above is what I
could have after rolling back to cygwin 1.5.16 but keeping all other latest
packages installed.

This is not a debate. I've no time to debate with you. I am just reporting the
problem after the installation of  cygwin 1.5.17. That's it.

Thanks.

Jason



--
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/



Re: I have user mounts instead of system ones.

2005-06-01 Thread Jason FU
Larry Hall  cygwin.com> writes:

> 
> My point was simply that the information you provided so far didn't have
> any of the needed details to track down this problem.  I wasn't trying to
> debate you.  But since you have now stated that your goal is to just report 
> the problem, I will refrain from trying to engage you further on this issue
> of yours.  If anyone else has a similar problem, at least your report will
> be in the archives and perhaps they can fill in the needed details to 
> actually track down the cause.  Until then, like you said, we have your 
> report.  If you're interested, you can keep an eye on this list to see if
> something surfaces that might be relevant to this problem you're seeing.

Will you help me sort out the real problem(s) bit by bit?

One of the problems is how to get rid of the user mount on my 
Windows Server 2003.

==
[EMAIL PROTECTED] ~
$ mount -m
mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" 
"/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -f -s -b "a:" "/a"
mount -f -s -b "c:" "/c"
mount -f -s -b "d:" "/d"
mount -f -s -b "e:" "/e"
mount -f -s -b "f:" "/f"
mount -f -s -b "h:" "/h"
mount -f -s -b "i:" "/i"
mount -f -s -b "j:" "/j"
mount -s -b --change-cygdrive-prefix "/cygdrive"

[EMAIL PROTECTED] ~
$

[EMAIL PROTECTED] ~
$ mount -m
mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" 
"/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -f -s -b "a:" "/a"
mount -f -s -b "c:" "/c"
mount -f -s -b "d:" "/d"
mount -f -s -b "e:" "/e"
mount -f -s -b "f:" "/f"
mount -f -s -b "h:" "/h"
mount -f -s -b "i:" "/i"
mount -f -s -b "j:" "/j"
mount -u -b --change-cygdrive-prefix "/cygdrive"
mount -s -b --change-cygdrive-prefix "/cygdrive"

[EMAIL PROTECTED] ~
$ 
==

mount -u -b --change-cygdrive-prefix "/cygdrive"

What do I do to get rid of this user mount, please? I've tried umount 
-U with root and also tsfu. But I turns out to see this user mount 
there afterwards.

Thanks.

Jason


--
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/



Re: I have user mounts instead of system ones.

2005-06-02 Thread Jason FU
  bonhard.uklinux.net> writes:

> 
> >> mount -u -b --change-cygdrive-prefix "/cygdrive"
> >> What do I do to get rid of this user mount, please? 
> 

Thanks! I've got rid of all user mount on my Windows Server 2003 but I still
have the same problem of having the services up.

Thanks!

Regards,

Jason


--
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/



cygserver

2005-07-16 Thread Jason FU
I would like to re-install cygserver but I don't know which package it is in.
Could anybody help? Thanks.


Regards,

Jason


--
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/



different DLL....

2005-07-29 Thread Jason FU
I just checked by dll's by "md5sum /bin/*.dll". I really wonder why the MD5's of
all files are not the same since they're of the same "ages".

Thanks.


Jason



217d403d20d82abe32c42b9a73407aca */bin/cygGraphicsMagick++-0.dll
5e82782c2b071097406b059e114b0e07 */bin/cygGraphicsMagick-0.dll
8bbb42f0e5dbee63c389acfea9d14d2c */bin/cygIDL-2-0.dll
8ff34b08c50bee5cf7aec3989baea428 */bin/cygMagick++-6.dll
be5ebd0e7a63abf8e59684f6b5941d44 */bin/cygMagick-6.dll
53bb2a91006b7d6d7535fa392ec0cebe */bin/cygORBit-2-0.dll
0161ac13cad25c237bb2a914e48a288a */bin/cygORBit-imodule-2-0.dll
88436c1b6b049e26202fc3ce4758549d */bin/cygORBitCosNaming-2-0.dll
202b8b9c97c752a83e3bcbfd1c094753 */bin/cygWand-6.dll
c71c0bb19f8b8c8bdb35aae4daa705cc */bin/cygXpm-X4.dll
b8a1d42d56e14dcd95ef902277bba8a7 */bin/cygXpm-noX4.dll
96cb4a649e5faece6cf88b84d09f2418 */bin/cygapr-0-0.dll
261a022ac22ac9f56cf6526f4b53cbed */bin/cygaprutil-0-0.dll
199e8fe6f27028eda0e050acb56ce99c */bin/cygart_lgpl_2-2.dll
dccd7ca49d108c24b85bad1942d75901 */bin/cygaspell-15.dll
23a403fea9d2e4d2057823e4884eb6b6 */bin/cygatk-1.0-0.dll
ac9c65235f120db6637b208778c6aaf9 */bin/cygaudiofile-0.dll
951ae9e99cca26870e68462bba8cb70f */bin/cygbonobo-2-0.dll
f5177f92f60aee37087039f4d82c9a1b */bin/cygbonobo-activation-4.dll
90ef1cb90f7f51ab4e40f6be48d6f4e8 */bin/cygbonoboui-2-0.dll
5bbab2680a2af6ebe28ab25f68455d48 */bin/cygbz2-1.dll
e784dd681d6fdc7e363c1b7eebff2173 */bin/cygbz21.0.dll
481daf986daf952ca3d751b494b48188 */bin/cygcharset-1.dll



19d32715dbecd51e667db216a3d1e13f */bin/cygGraphicsMagick++-0.dll
225cdfb35d776fc41b0d96118eefd0d0 */bin/cygGraphicsMagick-0.dll
8d4b4f452cc5e960261d43b162aebbe8 */bin/cygIDL-2-0.dll
05847c852d7c522c4f453fea93c5ba44 */bin/cygMagick++-6.dll
5cd7bd9680e6978df2e18f9ffef8fe9f */bin/cygMagick-6.dll
996a61bc5abc32dd2d31a5659425e1dd */bin/cygORBit-2-0.dll
a141a0bc008c877ed27d9e22cf426d24 */bin/cygORBit-imodule-2-0.dll
51953ca8ba6bc7239b751a15ecbd6af1 */bin/cygORBitCosNaming-2-0.dll
3be9cbb01b15fe1d22adee0e1e07b44b */bin/cygWand-6.dll
c28792bd56efb1a12f8087fcf1134264 */bin/cygXpm-X4.dll
47537d2392ef21d1601552f19e49ca62 */bin/cygXpm-noX4.dll
c84c47a949eac59fa7080d0ca1db1288 */bin/cygapr-0-0.dll
cba22129f79cfd842f6e20526eb272cc */bin/cygaprutil-0-0.dll
094eb4cf44588f470bc5fed7a42ecd31 */bin/cygart_lgpl_2-2.dll
fa99e5d7b9e1f958d8580d1bde5d9dc0 */bin/cygaspell-15.dll
0cf5067f0e30fb839274d58d96377860 */bin/cygatk-1.0-0.dll
583e0cbbffb001ba3fbc7c644da5e8ba */bin/cygaudiofile-0.dll
d4adb00cd6a85d80fe53c533ceb2dffe */bin/cygbonobo-2-0.dll
c7879bee17264221cc7d1d81bb2ba935 */bin/cygbonobo-activation-4.dll
f7a27cc39c73df16d6bc3c73bed4d991 */bin/cygbonoboui-2-0.dll
ac78e2dbc983e9bd0af90e095a05acb9 */bin/cygbz2-1.dll
0ff5d8df57a43c9b2bac1cf921483cec */bin/cygbz21.0.dll
da3853f8092be14e1b37ecdc3ba09fa4 */bin/cygcharset-1.dll




--
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/



Re: different DLL....

2005-07-29 Thread Jason FU
Dave Korn  artimi.com> writes:  
  
>   
> Original Message  
> >From: Jason FU  
> >Sent: 29 July 2005 16:15  
>   
> > I just checked by dll's by "md5sum /bin/*.dll". I really wonder why the  
> > MD5's of all files are not the same since they're of the same "ages".  
>   
>   MD5 is the hash of a file, not the timestamp.  RTFM!  
>   
> cheers,  
>   DaveK  
  
  
  
 
Sorry that I did not make it clear. The two set of MD5's were from two  
different machines and when I transferred one set of these files to the other  
one for diff'ing, diff said they were different and they are of the packages  
of the same version.  
  
Please advise. Thanks.  
  
  
Jason  
 


--
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/



Re: different DLL....

2005-07-29 Thread Jason FU
Igor Pechtchanski  cs.nyu.edu> writes:

> 
> On Fri, 29 Jul 2005, Mark Paulus wrote:

> Ugh, I hope that's not true...  [Checks] Yep, md5sum defaults to binary
> (as it should).  The OP probably used some weird non-binary-mode way of
> transferring the files (e.g., FTP in text mode).  So the different md5sums
> are legit, and are an indication that the DLLs are corrupt on the target
> machine.
>   Igor

I don't think the ftp is a problem since I used ncftp's auto mode transfer from
the first machine to the 2nd.

Thanks.

Jason


--
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/



Re: different DLL....

2005-07-29 Thread Jason FU
Igor Pechtchanski  cs.nyu.edu> writes:

> 
> Ugh, I hope that's not true...  [Checks] Yep, md5sum defaults to binary
> (as it should).  The OP probably used some weird non-binary-mode way of
> transferring the files (e.g., FTP in text mode).  So the different md5sums
> are legit, and are an indication that the DLLs are corrupt on the target
> machine.
>   Igor


Anyway, it is highly likely that most of the DLLs have been corrupted. What do I
do then? Could I simply re-install all the things?

Thanks.

Jason


--
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/



Re: different DLL....

2005-07-29 Thread Jason FU
Igor Pechtchanski  cs.nyu.edu> writes:

> Yes, running setup, selecting the "Keep" strategy, then switching to the
> "Up-to-date" view and choosing to reinstall the packages that contain
> corrupt DLLs is probably the best option at the moment.
>   Igor
> P.S. You say you used ncftp's "auto" mode -- what ftp server was on the
> other end?

The other side is of course the ftp daemon of cygwin. I found it quite strange
that all of my cygwin services don't work any more since Cygwin DLL 1.5.17-1
release for long. I had one Server 2003 box and three XP SP2 boxes no longer
work with all cygwin services any more. I only have this Server 2003 working
with cygwin services for the time being with latest Cygwin DLL 1.5.18-1. I've
checked all of the related documents to see why they don't work any more.
Eventually I tried to compare some dlls in /bin and found this problem. I'm
about to complete the re-installation after a long download of the whole
packages of cygwin. 

Thanks.

Jason


--
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/



Re: different DLL....

2005-07-30 Thread Jason FU
Jason FU  hkucs.org> writes:

I've re-installed all packages but all cygwin services still don't go up. I'm
now checking to see if the DLL is still different.

Jason


--
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/



Re: different DLL....

2005-07-30 Thread Jason FU
Jason FU  hkucs.org> writes:

There are still many differences in the dlls

Files /bin/cygORBit-2-0.dll and /tmp/dll/cygORBit-2-0.dll differ
Files /bin/cygORBit-imodule-2-0.dll and /tmp/dll/cygORBit-imodule-2-0.dll 
differ
Files /bin/cygORBitCosNaming-2-0.dll and /tmp/dll/cygORBitCosNaming-2-0
.dll differ
Files /bin/cygatk-1.0-0.dll and /tmp/dll/cygatk-1.0-0.dll differ
Files /bin/cygbz21.0.dll and /tmp/dll/cygbz21.0.dll differ

Files /bin/cygcppunit-1-9-14.dll and /tmp/dll/cygcppunit-1-9-14.dll 
differ
Files /bin/cygcrypt-0.dll and /tmp/dll/cygcrypt-0.dll differ
Only in /bin/: cygcrypto.dll
Files /bin/cygdb-3.1.dll and /tmp/dll/cygdb-3.1.dll differ
Files /bin/cygdb2.dll and /tmp/dll/cygdb2.dll differ
Files /bin/cygdb_cxx-3.1.dll and /tmp/dll/cygdb_cxx-3.1.dll differ

Files /bin/cygform5.dll and /tmp/dll/cygform5.dll differ
Files /bin/cygform6.dll and /tmp/dll/cygform6.dll differ
Files /bin/cyggconf-2-4.dll and /tmp/dll/cyggconf-2-4.dll differ
Files /bin/cyggdbm.dll and /tmp/dll/cyggdbm.dll differ

Files /bin/cyghistory4.dll and /tmp/dll/cyghistory4.dll differ
Files /bin/cygintl.dll and /tmp/dll/cygintl.dll differ
Files /bin/cygioperm-0.dll and /tmp/dll/cygioperm-0.dll differ

Files /bin/cygmenu5.dll and /tmp/dll/cygmenu5.dll differ
Files /bin/cygmenu6.dll and /tmp/dll/cygmenu6.dll differ
Files /bin/cygncurses++5.dll and /tmp/dll/cygncurses++5.dll differ
Files /bin/cygncurses++6.dll and /tmp/dll/cygncurses++6.dll differ
Files /bin/cygncurses5.dll and /tmp/dll/cygncurses5.dll differ
Files /bin/cygncurses6.dll and /tmp/dll/cygncurses6.dll differ
Files /bin/cygosp-4.dll and /tmp/dll/cygosp-4.dll differ
Files /bin/cygpanel5.dll and /tmp/dll/cygpanel5.dll differ
Files /bin/cygpanel6.dll and /tmp/dll/cygpanel6.dll differ

Files /bin/cygpcre.dll and /tmp/dll/cygpcre.dll differ
Files /bin/cygpcreposix.dll and /tmp/dll/cygpcreposix.dll differ
Files /bin/cygpng2.dll and /tmp/dll/cygpng2.dll differ
Files /bin/cygpopt-0.dll and /tmp/dll/cygpopt-0.dll differ
Files /bin/cygreadline4.dll and /tmp/dll/cygreadline4.dll differ

Files /bin/cygxerces-c21.dll and /tmp/dll/cygxerces-c21.dll differ
Files /bin/cygxerces-c22.dll and /tmp/dll/cygxerces-c22.dll differ


Jason









--
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/



Re: different DLL....

2005-07-30 Thread Jason FU
Jason FU  hkucs.org> writes:

"net start| less" shows that the cygwin services start.

These Windows services are started:

   Automatic Updates
   COM+ Event System
   Computer Browser
   Cryptographic Services
   CYGWIN cygserver
   Cygwin portmap
   CYGWIN sshd
   DHCP Client
   Distributed File System
   Distributed Link Tracking Client
   Distributed Transaction Coordinator
   DNS Client
   Error Reporting Service
   Event Log
   FileZilla Server FTP server
   Help and Support
   init
   IPSEC Services
   Logical Disk Manager
   Machine Debug Manager
   Network Connections

But below shows not:

[EMAIL PROTECTED] ~
$ ps -e
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
  396   1 396396?   18 15:10:03 /usr/bin/cygrunsrv
  812   1 812812?   18 15:10:03 /usr/bin/cygrunsrv
 1264   11264   1264?   18 15:10:04 /usr/bin/cygrunsrv
 1760   11760   1760? 1019 15:10:06 /usr/bin/cygrunsrv
I2916   12916   2916  con 1005 15:10:25 /usr/bin/bash
 368829163688   3696  con 1005 15:18:11 /usr/bin/sh
 371236883688   3636  con 1005 15:18:12 /usr/X11R6/bin/xinit
 375237123752   3760  con 1005 15:18:12 /usr/X11R6/bin/XWin
 199237121992   1888  con 1005 15:18:19 /usr/bin/xterm
 395619923956   39720 1005 15:18:19 /usr/bin/bash
 346839563468   13280 1005 15:18:21 /usr/bin/xterm
I266434682664   23681 1005 15:18:22 /usr/bin/bash
 284426642844   25321 1005 15:18:24 /usr/bin/emacs
 325639563256   32960 1005 15:44:22 /usr/bin/ps

And this confirms the services do not go up at all.

[EMAIL PROTECTED] ~
$ telnet Zeus
Trying 218.190.210.33...
telnet: Unable to connect to remote host: Connection refused


Please help. Thanks.


Jason


--
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/



Re: different DLL....

2005-07-31 Thread Jason FU
Igor Pechtchanski  cs.nyu.edu> writes:

> 
> On Sat, 30 Jul 2005, Jason FU wrote:
> 
> > tsfu  Zeus ~
> > $ ps -e
> >   PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
> >   396   1 396396?   18 15:10:03 /usr/bin/cygrunsrv
> >   812   1 812812?   18 15:10:03 /usr/bin/cygrunsrv
> >  1264   11264   1264?   18 15:10:04 /usr/bin/cygrunsrv
> >  1760   11760   1760? 1019 15:10:06 /usr/bin/cygrunsrv
> 
> What do you think those 4 lines are?
> 

There should also be:
$ ps -e
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
   91   1  91 91?   18 08:30:02 /usr/bin/cygrunsrv
   95  91  95105?   18 08:30:03 /usr/sbin/cygserver
  110   1 110110?   18 08:30:03 /usr/bin/cygrunsrv
  140   1 140140?   18 08:30:03 /usr/bin/cygrunsrv
  136 110 136151  con   18 08:30:03 /sbin/init
  148 140 148153?   18 08:30:03 /usr/sbin/portmap
  157   1 157157?   18 08:30:03 /usr/bin/cygrunsrv
  162 157 162165?   18 08:30:04 /usr/sbin/sshd
  168   1 168168?   18 08:30:04 /usr/bin/cygrunsrv
  149   1 149149?   18 08:30:04 /usr/bin/cygrunsrv
  177 168 177188?   18 08:30:05 /usr/sbin/rpc.mountd
  181 149 181190?   18 08:30:05 /usr/sbin/rpc.nfsd
  212   1 212212?   18 08:30:08 /usr/sbin/xinetd
I 250   1 250250  con 11171 08:31:25 /usr/bin/bash
  266 250 266258  con 11171 08:31:30 /usr/bin/sh
  255 266 266275  con 11171 08:31:30 /usr/X11R6/bin/xinit
  241 255 241259  con 11171 08:31:30 /usr/X11R6/bin/XWin
  242 255 242290  con 11171 08:31:36 /usr/bin/xterm
I 301 242 3012130 11171 08:31:37 /usr/bin/bash
  325   1 3253371 11171 08:31:42 /usr/bin/xterm
  316 325 3163052 11171 08:31:43 /usr/bin/bash
  261 316 2613152 11171 09:18:00 /usr/bin/ps

I could start Cygwin services like init, xinetd, sshd, nfs-server and the
cygserver before and you could see that there is no more line like 

  177 168 177188?   18 08:30:05 /usr/sbin/rpc.mountd
  181 149 181190?   18 08:30:05 /usr/sbin/rpc.nfsd
  212   1 212212?   18 08:30:08 /usr/sbin/xinetd
  162 157 162165?   18 08:30:04 /usr/sbin/sshd
  148 140 148153?   18 08:30:03 /usr/sbin/portmap
  136 110 136151  con   18 08:30:03 /sbin/init
   95  91  95105?   18 08:30:03 /usr/sbin/cygserver


> > And this confirms the services do not go up at all.
> >
> > tsfu  Zeus ~
> > $ telnet Zeus
> > Trying 218.190.210.33...
> > telnet: Unable to connect to remote host: Connection refused
> 
> Umm, no.  Which services?  This only confirms that you don't have a
> properly configured telnet server on Cygwin (seen in the above ps output
> as well).
> 

I've tried ssh as well. telnet works since I've set up xinetd too.

> > Please help. Thanks.
> 
> Try ssh'ing to your Cygwin machine -- since sshd is shown as running, that
> should work.  Alternatively, if you want telnet, setup inetd (you can use
> the iu-config script that comes with inetutils).
>   Igor

[EMAIL PROTECTED] ~
$ ssh ito2   
ssh: connect to host ito2 port 22: Connection refused

[EMAIL PROTECTED] ~
$ 

Jason


--
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/



Re: different DLL....

2005-07-31 Thread Jason FU
Larry Hall  cygwin.com> writes:


> OK, let's start here:
> 
> >Problem reports:   http://cygwin.com/problems.html
> 

I'll manage to follow it.

> My WAG based on information so far is that your Cygwin installation isn't
> current.  You should make sure it is.  A good indication that you're out-
> of-date would be that you can't stop or start these services (i.e. you'll
> get complaints from net start/stop about the services being in an invalid
> state).
> 

My cygwin installation must be current since I've removed the packages and
re-downloaded all packages and done the re-installation for all on Saturday
(2005/07/30).

In fact, I always choose the current installation of all packages (including all
optional packages) for each cygwin update.

Thanks.

Jason


--
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/



Remove cygwin services

2005-08-11 Thread Jason FU
What do I do in order to remove installed services of cygwin like sshd, init and
so on?

Thanks.

Jason


--
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/



Re: Cygwin.dll crash, alloca and custom stack

2005-08-12 Thread Jason FU
Bitmead, Chris  ag.gov.au> writes:

> 
> 
> I'm writing an implemention of a scheme interpreter in C, and as people
> familiar with that language know, it requires some stack manipulation. Now
> to test this out I wrote a little program
> 
> #include 
> 
> int main() {
>   char * st1;
>   st1 = (void *)malloc(5000) + 5000;
>   asm("mov %0, %%esp" : : "r" (st1)); 
>   fprintf(stderr, "hello\n");
> }
> 
> This program crashes silently and prints nothing under cygwin. However this
> kind of thing works fine under Linux.
> 
> Now if I run it under gdb it says 0x610dfbb3 in cygwin1!_alloca () from
> /usr/bin/cygwin1.dll
> 
> Which seems to indicate that the problem has something to do with alloca.
> 
> Q1. Does cygwin and gcc have a real stack based alloca, or is it a fake
> simulation? Intuitively I assume that this kind of error would be caused by
> the latter.
> 
> Q2. Why does this problem occur? My vague guess is that something in the
> bootstrap code for cygwin calls alloca, and because of the memory layout of
> stack and heap, creating a heap based stack makes it free it prematurely.
> 
> Q3. Shouldn't this be fixed in cygwin? While this is an unusual case, it
> seems reasonable to me that a program should be able to create a new stack
> if it wants to.
> 
> Q4. Is there any work around? I'm guessing that if cygwin uses a fake
> alloca, then a better implementation would fix it, but is there any way to
> substitute another one without actually rebuilding cygwin.dll (which I am
> loath to do).
> 
> -
> If you have received this transmission in error please notify us 
> immediately by return e-mail and delete all copies. If this e-mail 
> or any attachments have been sent to you in error, that error does 
> not constitute waiver of any confidentiality, privilege or copyright 
> in respect of information in the e-mail or attachments. 
> 
> 



Do you mean the following:

=
[EMAIL PROTECTED] C++]$ cat stack.c
#include 

int main() 
{
  char * st1;
  st1 = (void *)malloc(5000) + 5000;
  asm("mov %0, %%esp" : : "r" (st1)); 
  fprintf(stderr, "hello\n");
}
[EMAIL PROTECTED] C++]$ rm stack
[EMAIL PROTECTED] C++]$ cat stack.c
#include 

int main() 
{
  char * st1;
  st1 = (void *)malloc(5000) + 5000;
  asm("mov %0, %%esp" : : "r" (st1)); 
  fprintf(stderr, "hello\n");
}
[EMAIL PROTECTED] C++]$ make stack
cc stack.c   -o stack
[EMAIL PROTECTED] C++]$ ./stack 
Segmentation fault

=

I just can see that your code crashes there in both cygwin and linux.


Jason



--
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/



Re: Remove cygwin services

2005-08-12 Thread Jason FU
Herb Martin  learnquick.com> writes:

> 
> > [mailto:cygwin-owner  cygwin.com] On Behalf Of Jason FU
> > What do I do in order to remove installed services of cygwin 
> > like sshd, init and so on?
> > 
> 
> [ I am new to cygwin so factor this into my answer...]
> 
> cygrunsrv -R SERVICE_NAME
> 
> Example:  cygrunsrv -R sshd
> 
> You may also use the Windows services.msc Control Panel
> to "disable" or set a service to "manual".
> 
> Note that manual service MAY still run if some other service
> starts them -- manual doesn't mean a user/admin must start
> them, only that the OS will not start them automatically
> unless requested to do so by another process or by an actual
> manual user/admin request.
> 
> I have been unable to use cygrunsrv to "modify" a service;
> so far, I have always removed the service and re-added it.
> 
> --
> Herb Martin
> 
> 


[EMAIL PROTECTED] ~
$ cygrunsrv.exe -R sshd
cygrunsrv: Error removing a service: QueryServiceStatus:  Win32 error 1053:
The service did not respond to the start or control request in a timely fashion.


[EMAIL PROTECTED] ~
$ cygrunsrv.exe -R init
cygrunsrv: Error removing a service: QueryServiceStatus:  Win32 error 1053:
The service did not respond to the start or control request in a timely fashion.


By root, I mean this is an administrator a/c.


Jason


--
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/



Re: Setup 2.510.2.1 does nor work!

2005-09-07 Thread Jason FU
Angelo Graziosi  roma1.infn.it> writes:

> 
> 
> I have upgraded setup.exe to new 2.510.2.1 and tried to use it to install
> (Install from Local Directory) some upgrading package (file-4.15-3 etc.) :
> all in setup.ini 20050907 16:30 that requests this new version of
> setup.exe.
> 
> But it fails when 'parsing ini file': a popup window appears saying:
> 
> Application error: cygwin setup
> 
> The instruction '0x009501bd' has referenced the memory '0x9524aaf4'
> The memory cannot be 'written'.
> 
> OK to terminate , Cancel to debug...
> 
>  

I have no problem in using the setup.exe (2.510.2.1) to download the latest
packages but I cannot use it to install the downloaded packages and have similar
error message in both Windows XP SP2 and Windows Server 2003.

Thanks.

Jason





--
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/



cygwin 1.7.1 xinetd doesn't start

2010-01-27 Thread Jason FU
Hi there,

I've upgraded my cygwin to 1.7.1 (in Windows 7) but I've found that those 
processes as set for startup like xinetd don't start at all as shown below:

t...@tsfu ~
$ ps -ef
 UID PIDPPID TTY STIME COMMAND
  SYSTEM1940   1   ?  17:37:36 /usr/bin/cygrunsrv
  SYSTEM20081940   ?  17:37:36 /usr/sbin/cygserver
  SYSTEM 508   1   ?  17:37:37 /usr/bin/cygrunsrv
  SYSTEM2092 508 con  17:37:37 /sbin/init
cyg_serv2992   1   ?  17:37:44 /usr/bin/cygrunsrv
cyg_serv30602992   ?  17:37:44 /usr/sbin/sshd
tsfu1984   1   ?  17:39:28 /usr/bin/mintty
tsfu40161984   0  17:39:29 /usr/bin/bash
tsfu55884016   0  18:20:37 /usr/bin/ps

t...@tsfu ~
$ /usr/sbin/chkconfig.exe --list
no-ip.tsfu  0:off   1:off   2:on3:on4:on5:on6:off
xinetd  0:off   1:off   2:off   3:on4:on5:on6:off

xinetd based services:
chargen:on
chargen-udp:on
daytime:on
daytime-udp:on
echo:   on
echo-udp:   on
ftpd:   on
rexec:  on
rlogin: on
rsh:off
rsync:  off
servers:on
services:   on
talk:   on
telnet: on
time:   off
time-udp:   off


Please advise. Thanks.

--

Jason FU


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