This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem installing cygwin - no PATH, mounts, /etc/passwd ...


Hi,
I'm having problems installing cygwin onto my PC. This is not the
first time I've installed cygwin on this machine, but I wanted to do
a clean install, so I deleted my C:\Cygwin directory, removed the
icons, and deleted the registry entries, as suggested in the FAQ.

I then downloaded the full install package set to a local directory,
using setup.exe, and did an install from the local directory.

I ran setup, said "Install from local directory", selected All
Users/Unix mounts, took the default packages and added
X-start-menu-icons (and the dependencies this added) and set it
going.

Once the install was complete, I started the bash shell. I got no
message about running mkpasswd, or about my .profile file, or
anything - just a prompt.

However, none of the Cygwin directories were in my $PATH, my CWD was
/usr/bin, no mounts were set up, and generally things weren't working
right.

Checking the mailing lists, I found message
http://sourceware.org/ml/cygwin/2005-04/msg00987.html which describes
symptoms just like mine. I checked, and I had installed base-passwd.
I also ran mkpasswd -l -c >/etc/passwd and mkgroup -l -c >/etc/group,
but that made no difference that I could see.

I have tried an install on my home PC, and this seems to work fine.
However, on the PC with the problems, I am logged on as a domain user
(with local administrator privileges) and HOMEDRIVE is set to O: (a
network drive). I can't easily change these things (I don't have
access to the local admin account), unfortunately.

I attach the output of cygcheck -s -v -r - I hope I got the right
format.

I apologise if I've missed an explanation of my issue somewhere - I
didn't have a lot of luck searching the mailing list (beyond the
message quoted above), probably because I wasn't sure what search
terms would help :-(

Thanks in advance for any assistance,
Paul.


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Cygwin Configuration Diagnostics
Current System Time: Tue Jul 05 14:16:08 2005

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:	C:\WINNT\system32
	C:\WINNT
	C:\WINNT\System32\Wbem
	C:\Utils\GnuWin32\bin
	C:\Utils\Misc\bin
	C:\Utils\Aspell\bin
	C:\Apps\Mingw\bin
	C:\Apps\Emacs\bin
	C:\Apps\Tcl\bin
	C:\Apps\Perl\bin\
	C:\Apps\Java\bin
	D:\Oracle\Ora92\bin
	C:\Program Files\Oracle\jre\1.3.1\bin
	C:\Program Files\Oracle\jre\1.1.8\bin
	C:\GEMSTools\USD\bin
	C:\Apps\MikTeX\miktex\bin
	C:\Program Files\Systems Internals
	C:\Apps\GHC\bin
	C:\Program Files\Symantec\pcAnywhere\
	C:\Program Files\Subversion\bin

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

PWD = `/usr/bin'
HOME = `/cygdrive/o'

HOMEPATH = `\'
APPDATA = `D:\Documents and Settings\uk03306\Application Data'
TERM = `cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
WINDIR = `C:\WINNT'
USERDOMAIN = `UKAO'
OS = `Windows_NT'
ALLUSERSPROFILE = `D:\Documents and Settings\All Users'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
APR_ICONV_PATH = `C:\Program Files\Subversion\iconv'
!:: = `::\'
TEMP = `/cygdrive/c/WINNT/TEMP'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
USERNAME = `UK03306'
WF_RESOURCES = `D:\Oracle\Ora92\WF\RES\WFus.RES'
PROCESSOR_LEVEL = `6'
SYSTEMDRIVE = `C:'
USERPROFILE = `D:\Documents and Settings\uk03306'
LOGONSERVER = `\\UKDCA001'
PROCESSOR_ARCHITECTURE = `x86'
!C: = `C:\Cygwin\bin'
SHLVL = `1'
USERDNSDOMAIN = `uk.int.atosorigin.com'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
HOMEDRIVE = `O:'
PROMPT = `$P$G'
COMSPEC = `C:\WINNT\system32\cmd.exe'
TMP = `/cygdrive/c/WINNT/TEMP'
SYSTEMROOT = `C:\WINNT'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `C:\Program Files'
HOMESHARE = `\\UKDCM001\UK03306$'
NUMBER_OF_PROCESSORS = `1'
COMPUTERNAME = `UKDCW5163'
_ = `./cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\Cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\Cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\Cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS      7569Mb  84% CP CS UN PA FC     
d:  hd  NTFS     11499Mb  86% CP CS UN PA FC     DATA
e:  cd             N/A    N/A                    
f:  net NTFS    271575Mb  94% CP CS UN PA FC     DATA
g:  net NTFS    514064Mb  12% CP CS UN PA FC     Data 
l:  net NTFS    347303Mb  78% CP CS UN PA FC     Data 2
o:  net NTFS    271575Mb  94% CP CS UN PA FC     DATA
p:  net NTFS    347303Mb  78% CP CS UN PA FC     Data 2
q:  net NTFS     68127Mb  47% CP CS UN PA FC     Data
s:  net NTFS    347303Mb  78% CP CS UN PA FC     Data 2
v:  net NTFS     69837Mb  17% CP CS UN PA FC     
x:  net NTFS      8191Mb  70% CP CS UN PA FC     Local Disk
z:  net NTFS      8191Mb  70% CP CS UN PA FC     Local Disk

C:\Cygwin      /          system  binmode
C:\Cygwin/bin  /usr/bin   system  binmode
C:\Cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\Cygwin\bin\awk.exe
Found: C:\Cygwin\bin\bash.exe
Found: C:\Cygwin\bin\cat.exe
Found: C:\Utils\GnuWin32\bin\cat.exe
Warning: C:\Cygwin\bin\cat.exe hides C:\Utils\GnuWin32\bin\cat.exe
Found: C:\Cygwin\bin\cp.exe
Found: C:\Utils\GnuWin32\bin\cp.exe
Warning: C:\Cygwin\bin\cp.exe hides C:\Utils\GnuWin32\bin\cp.exe
Found: C:\Apps\Mingw\bin\cpp.exe
Found: C:\Cygwin\bin\find.exe
Found: C:\Utils\GnuWin32\bin\find.exe
Warning: C:\Cygwin\bin\find.exe hides C:\Utils\GnuWin32\bin\find.exe
Found: C:\Apps\Mingw\bin\gcc.exe
Found: C:\Apps\Mingw\bin\gdb.exe
Found: C:\Cygwin\bin\grep.exe
Found: C:\Utils\GnuWin32\bin\grep.exe
Warning: C:\Cygwin\bin\grep.exe hides C:\Utils\GnuWin32\bin\grep.exe
Found: C:\Apps\Mingw\bin\ld.exe
Found: C:\Cygwin\bin\ls.exe
Found: C:\Utils\GnuWin32\bin\ls.exe
Warning: C:\Cygwin\bin\ls.exe hides C:\Utils\GnuWin32\bin\ls.exe
Not Found: make
Found: C:\Cygwin\bin\mv.exe
Found: C:\Utils\GnuWin32\bin\mv.exe
Warning: C:\Cygwin\bin\mv.exe hides C:\Utils\GnuWin32\bin\mv.exe
Found: C:\Cygwin\bin\rm.exe
Found: C:\Utils\GnuWin32\bin\rm.exe
Warning: C:\Cygwin\bin\rm.exe hides C:\Utils\GnuWin32\bin\rm.exe
Found: C:\Cygwin\bin\sed.exe
Found: C:\Utils\GnuWin32\bin\sed.exe
Warning: C:\Cygwin\bin\sed.exe hides C:\Utils\GnuWin32\bin\sed.exe
Not Found: sh
Found: C:\Cygwin\bin\tar.exe
Found: C:\Utils\GnuWin32\bin\tar.exe
Warning: C:\Cygwin\bin\tar.exe hides C:\Utils\GnuWin32\bin\tar.exe

   55k 2004/09/14 C:\Cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2004/9/14 5:16
   18k 2004/07/06 C:\Cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2004/7/6 19:09
  174k 2004/10/14 C:\Cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2004/10/14 9:34
   40k 2004/10/10 C:\Cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2004/10/10 9:33
   24k 2005/06/26 C:\Cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2005/6/26 5:41
   22k 2004/10/10 C:\Cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2004/10/10 9:33
   74k 2004/10/10 C:\Cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2004/10/10 9:33
  216k 2004/10/10 C:\Cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2004/10/10 9:25
   13k 2004/10/10 C:\Cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2004/10/10 9:32
  144k 2005/06/26 C:\Cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2005/6/26 5:41
   62k 2004/10/10 C:\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2004/10/10 5:09
 1265k 2005/07/03 C:\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2005/7/3 1:30
    Cygwin DLL version info:
        DLL version: 1.5.18
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 132
        Shared data: 4
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Sat Jul 2 20:30:04 EDT 2005
        Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: D:\CygPkg
Last downloaded files from: D:\CygPkg

Package              Version
_update-info-dir     00271-1
alternatives         1.3.20a-1
base-files           3.4-2
base-passwd          2.2-1
bash                 2.05b-17
bzip2                1.0.2-6
coreutils            5.3.0-6
cygutils             1.2.8-1
cygwin               1.5.18-1
cygwin-doc           1.4-2
expat                1.95.8-1
findutils            20041227-1
gawk                 3.1.4-3
grep                 2.5.1a-2
libbz2_1             1.0.2-6
libcharset1          1.9.2-1
libiconv             1.9.2-1
libncurses8          5.4-1
libreadline6         5.0-2
man                  1.5p-1
ncurses              5.4-1
readline             5.0-2
sed                  4.1.4-1
tar                  1.13.25-7
termcap              20050421-1
terminfo             5.4_20041009-1
texinfo              4.8-1
which                1.7-1
X-start-menu-icons   1.0.3-2
X-startup-scripts    1.0.10-4
xorg-x11-base        6.8.2.0-1
xorg-x11-bin         6.8.2.0-1
xorg-x11-bin-dlls    6.8.2.0-1
xorg-x11-bin-lndir   6.8.2.0-1
xorg-x11-etc         6.8.2.0-1
xorg-x11-fenc        6.8.1.0-2
xorg-x11-fnts        6.8.1.0-3
xorg-x11-libs-data   6.8.2.0-1
xorg-x11-xwin        6.8.2.0-2
xterm                202-1
zlib                 1.2.2-1
Use -h to see help about each section
garbled output from `id' command - no uid= found
garbled output from `id' command - no uid= found

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]