delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/14/14:52:14

X-Spam-Check-By: sourceware.org
Message-ID: <4509A4D3.80206@unix.telasic.com>
Date: Thu, 14 Sep 2006 11:52:03 -0700
From: Arun Biyani <abiyani AT unix DOT telasic DOT com>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Mount does not show Samba files
References: <4505E15F DOT 8030306 AT unix DOT telasic DOT com> <45062B47 DOT 2010804 AT cygwin DOT com> <4506D279 DOT 1070602 AT unix DOT telasic DOT com> <ee6v37$4s3$1 AT sea DOT gmane DOT org> <450704E9 DOT 3060605 AT unix DOT telasic DOT com> <450767E6 DOT 6000300 AT cygwin DOT com> <4508299D DOT 5000508 AT unix DOT telasic DOT com> <4508475B DOT 9030608 AT cygwin DOT com> <45084D81 DOT 9070600 AT unix DOT telasic DOT com> <450861A0 DOT 7080003 AT cygwin DOT com> <45088BD2 DOT 6040605 AT unix DOT telasic DOT com> <4508A6F5 DOT 1070408 AT cygwin DOT com>
In-Reply-To: <4508A6F5.1070408@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Larry Hall (Cygwin) wrote:
> Arun Biyani wrote:
>> Larry Hall (Cygwin) wrote:
>>> See your cygcheck output:
>> I have a crontab task which generates a cygcheck.log file every 
>> night. I've just realized that
>> the cygcheck output of the cron task is quite different from when I 
>> run cygcheck as a user.
>> I apologize for this. I've attached a cygcheck.log that I just 
>> generated.
>
>
> It would seem that your cron job is not actually generating this file
> regularly.  The one you sent previously clearly said that you had 
> 1.5.19-4
> of the cygwin package installed.  You cannot have two versions installed.
> So I presume that the cron entry to automatically generate this file 
> hasn't
> run since before you upgraded.  Since you would have had to stop the cron
> (and any other service) to upgrade (without reboot at least), I can see
> the possibility of you doing this and not restarting it again.  But 
> that's
> just speculation.
>
>
>>>
>>> CYGWIN = 'nontsec'
>> I only see this for the cron task. I start cron by typing "cygrunsrv 
>> --start cron". Perhaps its
>> generated by cygrunsrv.
>
>
> No.  You apparently ran '/bin/cron-config' and answered "no" to the 
> question:
>
>   Do you want the daemon to run with ntsec? (yes/no)
>
>>>
>>> This must be set in your environment somewhere.  Possibly this is 
>>> introduced
>>> by Altera tools Dave mentioned (thanks Dave).  If you don't know why 
>>> it's set,
>>> find it and remove it.  Alternatively, if you cannot find it for some
>>> reason, at least unset it in your cygwin.bat file (assuming you 
>>> start Cygwin
>>> that way).  This is a cheap hack though.  You're better off removing 
>>> the
>>> setting for real.
>> [tmp$:554] echo $CYGWIN       bash: CYGWIN: unbound variable
>> [tmp$:555] set | grep CYGWIN
>> [tmp$:556] cygcheck -srv | grep CYGWIN
>> Environment         : CYGWIN="nontsec"                     ---- cron 
>> settings
>> Environment         : CYGWIN="ntsec notraverse"        ---- exim 
>> settings
>> Display name        : CYGWIN syslogd
>> [tmp$:557]
>>
>>>
>>> Your cygcheck says you have cygwin package version 1.5.19-4.  The 
>>> current
>>> version is 1.5.21-2.
>> 1831k 2006/07/30 C:\win\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>>                  "cygwin1.dll" v0.0 ts=2006/7/30 10:21
>>    Cygwin DLL version info:
>>        DLL version: 1.5.21
>>        DLL epoch: 19
>>
>> The dll seems to be correct version.
>
>
> Yes, I'd agree.
>
>
>>>
>>> I think you're getting a conflicts between Altera and Cygwin.  
>>> Removing Altera
>>> is likely not the solution to the problem you see but it will avoid 
>>> other/
>>> future problems.  The solution to your current problem is to 
>>> regenerate your
>>> passwd/group files, as Dave mentioned.  At least this should work if 
>>> your
>>> user and the resource available are in the same domain.
>>>
>> I will remove Altera from the path and report back if it helps.
>
>
> Great!
>
Hi Larry,

Thx for your help. I opened a dos command window. Typed "dir Y:" and saw 
files and directories
that I expected to see from my home directory on Linux. Then (transcript 
below) I tried Cygwin.
Still does not seem to work. This is after creating a new passwd & group 
file and ensuring that
the user name is correct. I've split $PATH for readability.

Arun

[tmp$:509] whoami
abiyani
[tmp$:510] mount Y: /mnt/y
mount: defaulting to '--no-executable' flag for speed since native path
       references a remote share.  Use '-f' option to override.
[tmp$:511] df
Filesystem            Size  Used Avail Use% Mounted on
C:\win\cygwin\bin      75G   44G   31G  59% /usr/bin
C:\win\cygwin\lib      75G   44G   31G  59% /usr/lib
C:\win\cygwin          75G   44G   31G  59% /
Y:                     31G   26G  5.3G  83% /mnt/y
c:                     75G   44G   31G  59% /c
i:                    592G  574G   18G  98% /i
s:                     38G  7.1G   31G  19% /s
[tmp$:512] ls /mnt/y
ls: /mnt/y: No such file or directory
[tmp$:513] echo $PATH
~/wrk/sys/bin:~/wrk/pre-bin:~/bin:/usr/local/bin:/bin:/usr/bin:/usr/ucb:/sbin:/usr/sbin:/usr/X11R6/bin:
~/wrk/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:
/c/win/mingw/bin:/c/win/msys/bin
[tmp$:514]



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019