delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/24/15:18:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <4.3.1.2.20020424150804.0231d060@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Wed, 24 Apr 2002 15:15:42 -0400
To: "moi" <luv AT gmx DOT fr>, <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Reinstall , apache still doesnt work , same for inetd
In-Reply-To: <034c01c1ebc3$86f46c00$47df4051@noos.fr>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20020424114647 DOT 02b919d8 AT pop DOT ma DOT ultranet DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20020424125222 DOT 02b97bd8 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

At 03:09 PM 4/24/2002, moi wrote:
>I made the installation from scratch again
>
>here's what i have in the etc directory: a file named path


'path'?  Hm, that's a new one to me.  But OK.  I don't track the
changes in setup.exe religiously.



>here are it's contents :
>
>
>
>
>
>
>
>PATH="/usr/local/bin:/usr/bin:/bin:$PATH"
>
>USER="`id -un`"
>
># Set up USER's home directory
>if [ -z "$HOME" ]; then
>   HOME="/home/$USER"
>fi
>
>if [ ! -d "$HOME" ]; then
>   mkdir -p "$HOME"
>fi
>
>export HOME USER
>
>for i in /etc/profile.d/*.sh ; do
>   if [ -f $i ]; then
>     . $i
>   fi
>done
>
>export MAKE_MODE=unix
>export PS1='\[\033]0;\w\007
>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>$ '
>
>cd "$HOME"
>
>
>
>
>Running   sh   is succesfull


Good.  So the path is set up properly for you in whatever environment you
tried to invoke 'sh'.
  

>But apache still doesn't work


Right.  Because /usr/sbin isn't in your path.  There's really no reason to 
add it but if you *really* want to be able to type just httpd.exe, then add
/usr/sbin to the path set in 'path' above.  That should do it if httpd.exe
is run from bash anyway.


>does it work on ur machine ??


Don't know.  I didn't install it.  Perhaps someone else can help you out 
here.  Stipe?



>Oh and i misspelled , of course it was not apache.exe  but  httpd.exe    ;-)


OK, good.


>what changes should i aplly to this file so that an httpd command won't
>result in an       unknown command error message ??


Change the path as I mentioned above or just type the full path.  Did you
read any of the docs I suggested?  They should be some help.


>I get the same error with  the daemon  inetd  command
>
>maybe the problems are linked


Yes, it's the same problem.  Both of these reside in the same directory.


>Thanks for ur help
>
>----- Original Message -----
>From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
>To: "moi" <luv AT gmx DOT fr>; <cygwin AT cygwin DOT com>
>Sent: Wednesday, April 24, 2002 7:05 PM
>Subject: Re: problems running apache and path settings
>
>
> > At 12:51 PM 4/24/2002, moi wrote:
> > >Thanks for ur help
> > >
> > >U are right , i'm running win 98
> > >
> > >I tried specifying the path directly in the console   that is
> > >/usr/sbin/apache.exe
> >
> >
> > This doesn't sound like the Cygwin apache to me.  Looking at the package
> > on the web site, it doesn't install 'apache.exe' anywhere.  It installs
> > 'httpd.exe' in /usr/sbin though.  I suggest that you check your
>installation
> > and read the docs that comes with apache (/usr/doc/apache*,
> > /usr/doc/Cygwin/apache*) if you haven't already.
> >
> >
> > >but i get an error for allocating memory   ????
> > >
> > >I did that because i don't know how to set the path in cygwin
> >
> >
> > Actually, /usr/sbin usually isn't in your path so this is fine.
> >
> >
> > >I have no  etc/profile       what i have is     etc/profile.d
> >
> >
> > Perhaps your install wasn't successful then.  You may want to review your
> > setup logs or just run it again and see if that resolves the problem.
> >
> >
> > >Maybe that's a silly Question but why doesn't the installer automatically
> > >set the path as it did for all the other packages i installed through it
>??
> > >I thought it was meant to do that
> >
> >
> > Right.  I answered that above to the best of my ability with the given
> > information.
> >
> >
> > >for example i installed the  bzip2
> > >and typing  bzip2 in the console perfectly works w/o doing anything in
> > >particular
> > >why isn't the same with ash and Apache   ???????
> >
> >
> > For apache, I answered that above.  For ash, it's actually a cockpit
>error.
> > Cygwin installs the 'ash' utility as '/bin/sh'.  Try running 'sh' if you
> > want to run 'ash'.
> >
> >
> > >----- Original Message -----
> > >From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
> > >To: "moi" <luv AT gmx DOT fr>; <cygwin AT cygwin DOT com>
> > >Sent: Wednesday, April 24, 2002 5:50 PM
> > >Subject: Re: problems running apache and passwd comands
> > >
> > >
> > > > At 11:22 AM 4/24/2002, moi wrote:
> > > > >Apache was installed by the setup from the internet
> > > > >its version is
> > > > >
> > > > >
> > > > >  Package             Version
> > > > >apache              1.3.24-1
> > > > >
> > > > >The files are present ( httpd.exe  ... dlls)  when i explore the
>folder
> > > > >But a bash  httpd  command will result invariably in      command
>unknown
> > > >
> > > >
> > > > Somehow, you don't have the Cygwin paths set.  If you just want them
>for
> > > > Cygwin, set them in /etc/profile.  If you want them for Windows and
> > >Cygwin,
> > > > you can just set them in Windows.
> > > >
> > > >
> > > > >It's the same for    ash       command unknown
> > > >
> > > >
> > > > Ditto.
> > > >
> > > >
> > > >
> > > > >although it seems to be a "base" package
> > > > >
> > > > >Package             Version
> > > > >ash                 20020131-1
> > > > >
> > > > >
> > > > >
> > > > >When i try to click directly on the httpd exe i get the error:
> > >cygwin1.dll
> > > > >missing     although it IS present ( i seracheed for it)
> > > >
> > > >
> > > > Then you need to add the Cygwin bin directory to your Windows path.
> > > >
> > > >
> > > >
> > > > >When i type   passwd in the console, i get the subsequent error:
>it
> > > > >says    passwd.exe is linked to a missing export   netapi32.dll :
> > > > >NetApiBufferFree  (translated from French sorry)
> > > >
> > > >
> > > > I guess you're running 9x/Me.  password and group utilities won't work
> > >there.
> > > >
> > > >
> > > > Larry Hall                              lhall AT rfk DOT com
> > > > RFK Partners, Inc.                      http://www.rfk.com
> > > > 838 Washington Street                   (508) 893-9779 - RFK Office
> > > > Holliston, MA 01746                     (508) 893-9889 - FAX
> > > >
> >


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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