* problems running apache and passwd comands
@ 2002-04-24 8:25 moi
2002-04-24 8:59 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 6+ messages in thread
From: moi @ 2002-04-24 8:25 UTC (permalink / raw)
To: cygwin
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
It's the same for ash command unknown
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)
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)
what's going on ?
Help appreciated
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problems running apache and passwd comands
2002-04-24 8:25 problems running apache and passwd comands moi
@ 2002-04-24 8:59 ` Larry Hall (RFK Partners, Inc)
2002-04-24 10:11 ` problems running apache and path settings moi
0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-24 8:59 UTC (permalink / raw)
To: moi, cygwin
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@rfk.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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* problems running apache and path settings
2002-04-24 8:59 ` Larry Hall (RFK Partners, Inc)
@ 2002-04-24 10:11 ` moi
2002-04-24 10:19 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 6+ messages in thread
From: moi @ 2002-04-24 10:11 UTC (permalink / raw)
To: Larry Hall (RFK Partners, Inc), cygwin
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
but i get an error for allocating memory ????
I did that because i don't know how to set the path in cygwin
I have no etc/profile what i have is etc/profile.d
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
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 ???????
----- Original Message -----
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: "moi" <luv@gmx.fr>; <cygwin@cygwin.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@rfk.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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: problems running apache and path settings
2002-04-24 10:11 ` problems running apache and path settings moi
@ 2002-04-24 10:19 ` Larry Hall (RFK Partners, Inc)
2002-04-24 12:21 ` Reinstall , apache still doesnt work , same for inetd moi
0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-24 10:19 UTC (permalink / raw)
To: moi, cygwin
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@rfk.com>
>To: "moi" <luv@gmx.fr>; <cygwin@cygwin.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@rfk.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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Reinstall , apache still doesnt work , same for inetd
2002-04-24 10:19 ` Larry Hall (RFK Partners, Inc)
@ 2002-04-24 12:21 ` moi
2002-04-24 12:38 ` Larry Hall (RFK Partners, Inc)
0 siblings, 1 reply; 6+ messages in thread
From: moi @ 2002-04-24 12:21 UTC (permalink / raw)
To: Larry Hall (RFK Partners, Inc), cygwin
I made the installation from scratch again
here's what i have in the etc directory: a file named path
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
But apache still doesn't work
does it work on ur machine ??
Oh and i misspelled , of course it was not apache.exe but httpd.exe ;-)
what changes should i aplly to this file so that an httpd command won't
result in an unknown command error message ??
I get the same error with the daemon inetd command
maybe the problems are linked
Thanks for ur help
----- Original Message -----
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: "moi" <luv@gmx.fr>; <cygwin@cygwin.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@rfk.com>
> >To: "moi" <luv@gmx.fr>; <cygwin@cygwin.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@rfk.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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Reinstall , apache still doesnt work , same for inetd
2002-04-24 12:21 ` Reinstall , apache still doesnt work , same for inetd moi
@ 2002-04-24 12:38 ` Larry Hall (RFK Partners, Inc)
0 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-24 12:38 UTC (permalink / raw)
To: moi, cygwin
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@rfk.com>
>To: "moi" <luv@gmx.fr>; <cygwin@cygwin.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@rfk.com>
> > >To: "moi" <luv@gmx.fr>; <cygwin@cygwin.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@rfk.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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-04-24 19:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 8:25 problems running apache and passwd comands moi
2002-04-24 8:59 ` Larry Hall (RFK Partners, Inc)
2002-04-24 10:11 ` problems running apache and path settings moi
2002-04-24 10:19 ` Larry Hall (RFK Partners, Inc)
2002-04-24 12:21 ` Reinstall , apache still doesnt work , same for inetd moi
2002-04-24 12:38 ` Larry Hall (RFK Partners, Inc)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).