Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B4A918B7E for ; Mon, 29 Jun 2015 11:10:26 +0000 (UTC) Received: (qmail 43128 invoked by uid 500); 29 Jun 2015 11:10:22 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 43092 invoked by uid 500); 29 Jun 2015 11:10:22 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 43082 invoked by uid 99); 29 Jun 2015 11:10:22 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 11:10:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6AE2AD0F07 for ; Mon, 29 Jun 2015 11:10:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aK8lH99ME-Mh for ; Mon, 29 Jun 2015 11:10:14 +0000 (UTC) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 6E2DA24DC6 for ; Mon, 29 Jun 2015 11:10:13 +0000 (UTC) Received: by wgck11 with SMTP id k11so138431736wgc.0 for ; Mon, 29 Jun 2015 04:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5DVDQ3LQikx5QcUek5P7q0cwOxHrBeSJPyW17P5YO88=; b=PDQi37oV0/rkJGEW5CszegJm9MDxeaVv+etB0ahcUPLMiivVVbTL+XjWbXKF5zOy+D vwg9oKNO65VCYCwcbBAXFLmlF71irHspvaBx+K98olNwnAgfrkjlGo7OzwUeAfpCuXXh hmXjVoL39Z6i/ERPfn0b7jDyFDwu4AkUFvcIzEALVTn9lXsO4arWC5dgs+8RH5LYsdrh Usgk1XWp1w16TyEbJ3x/OieJduRlxtIFyKe9j1XtlbVwW50tqVVXWW4iHLphjbvuOFCi MPTEbhTB/OMLkWWKFhWSPI2QH0sO8POS8INETs54TAEvJj685bEVY+8zku3mwpESTPI1 j0Mg== X-Received: by 10.194.112.3 with SMTP id im3mr28256851wjb.54.1435576207244; Mon, 29 Jun 2015 04:10:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.88.145 with HTTP; Mon, 29 Jun 2015 04:09:47 -0700 (PDT) In-Reply-To: References: <551ACE54.5010800@oracle.com> <551B37FC.3040507@oracle.com> From: Padmahas Bn Date: Mon, 29 Jun 2015 16:39:47 +0530 Message-ID: To: users Content-Type: multipart/alternative; boundary=001a1130ce22e182e20519a62197 Subject: Re: [users@httpd] sudo: apachectl: command not found --001a1130ce22e182e20519a62197 Content-Type: text/plain; charset=UTF-8 Hey mike, This was added to draft, so I'm re-sending this. I tried the command with -f option myself like this. (sudo /usr/local/apache2/bin/apachectl -V -f /usr/local/apache2/conf/httpd.conf) And the result is, [sudo] password for padmahas: Server version: Apache/2.4.12 (Unix) Server built: Mar 31 2015 16:20:21 Server's Module Magic Number: 20120211:41 Server loaded: APR 1.5.1, APR-UTIL 1.5.4 Compiled using: APR 1.5.1, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: event threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/usr" -D SUEXEC_BIN="/usr/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" On Wed, Apr 1, 2015 at 9:26 AM, Padmahas Bn wrote: > Hello mike, > > I would like to clarify one thing. Whatever the apache related command I > execute inside /usr/local/apache2/bin, it all affecting the apache inside > /usr. The exact reason may be because I installed apache inside /usr at > first and only later I installed in "usr/local...." > > Hence if you want exact result of the *sudo > /usr/local/apache2/bin/apachectl -V, *please tell me how to explicitly > specify the path as you suggested me in the last command using -f option(*sudo > /usr/local/apache2/bin/apachectl -k start -f** > /usr/local/apache2/conf/httpd.conf )*. > > So tell me if apache configures any environment variables and it may not > overwriting the path when I install second time inside /usr/local.... > > The steps I used to install apache2 > To install apr and apr-util I followed this link ( > http://www.linuxfromscratch.org/blfs/view/svn/general/apr.html). This is > where I came to know about --prefix option and I used "/usr" from this > tutorial. But irrespective of using /usr as --prefix, apr installed inside > /usr/local. > > Hence I used the same option for apache2 like this. ./configure > --prefix=/usr > Unfortunately apache2 was installed in the exact location inside /usr, by > merging its files inside bin. > > > Later I read in apache documentation, if --prefix not specified it will > install inside /usr/local... so I thought it would be easy if all apache > files is available inside one directory (apache2) which will be created by > server. This time I just ran ./configure. And you know the later part. > > Two installations are conflicting with each other. Only the first > installation is valid and the second is not even executing server start > command. > > So is there any way I can completely uninstall apache? something similar > to "make uninstall". "make uninstall" is not working I don't know why. > > On Wed, Apr 1, 2015 at 5:42 AM, Mike Rumph wrote: > >> Hello Padmahas, >> >> Okay. This tells us a few things. >> One problem is that the HTTPD_ROOT is set to /usr instead of >> /usr/local/apache2. >> Other relative paths will be based from here. >> Since the SERVER_CONFIG_FILE is set to conf/httpd.conf, >> the default config file will be /usr/conf/httpd.conf instead of >> /usr/local/apache2/conf/httpd.conf. >> The -f switch allowed you to override this. >> >> What steps did you use to install and configure httpd into >> /usr/local/apache2? >> In your httpd source directory, what are the contents of the config.nice >> file? >> >> You could review the following links: >> - http://httpd.apache.org/docs/2.4/install.html#configure >> - http://httpd.apache.org/docs/2.4/programs/configure.html >> >> Take care, >> >> Mike >> >> >> On 3/31/2015 4:19 PM, Padmahas Bn wrote: >> >> Hello mike, >> >> Yes you are write I installed server first inside /usr and then inside >> /usr/local/apache2 (installed by default when I used ./configure without >> --prefix option). Even you are right about my manual un installation. >> >> About the command you suggested with -V option, this is the result. >> >> Server version: Apache/2.4.12 (Unix) >> Server built: Mar 31 2015 16:20:21 >> Server's Module Magic Number: 20120211:41 >> Server loaded: APR 1.5.1, APR-UTIL 1.5.4 >> Compiled using: APR 1.5.1, APR-UTIL 1.5.4 >> Architecture: 64-bit >> Server MPM: event >> threaded: yes (fixed thread count) >> forked: yes (variable process count) >> Server compiled with.... >> -D APR_HAS_SENDFILE >> -D APR_HAS_MMAP >> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) >> -D APR_USE_SYSVSEM_SERIALIZE >> -D APR_USE_PTHREAD_SERIALIZE >> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT >> -D APR_HAS_OTHER_CHILD >> -D AP_HAVE_RELIABLE_PIPED_LOGS >> -D DYNAMIC_MODULE_LIMIT=256 >> -D HTTPD_ROOT="/usr" >> -D SUEXEC_BIN="/usr/bin/suexec" >> -D DEFAULT_PIDLOG="logs/httpd.pid" >> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" >> -D DEFAULT_ERRORLOG="logs/error_log" >> -D AP_TYPES_CONFIG_FILE="conf/mime.types" >> -D SERVER_CONFIG_FILE="conf/httpd.conf" >> >> I looked inside /usr/local/apache2/bin/apachectl, the HTTPD var set to >> >> *HTTPD='/usr/local/apache2/bin/httpd' >> >> * >> >> In parallel I also looked inside /usr/bin/apacheclt, there the HTTPD var >> set to >> >> HTTPD='/usr/bin/httpd'. So I assume both of them pointing to their >> respective directories. >> >> I tried the second command you suggested >> *sudo /usr/local/apache2/bin/apachectl -k start -f* >> * /usr/local/apache2/conf/httpd.conf * >> >> Good news The server started with usual warning message but Yes!!! it is >> using the httpd.conf file which resides inside >> /usr/local/apache2/conf/httpd.conf. >> The message it always show is, >> AH00558: httpd: Could not reliably determine the server's fully qualified >> domain name, using 127.0.1.1. Set the 'ServerName' directive globally to >> suppress this message >> >> *Now is there any way I can set apache to look inside * >> /usr/local/apache2/conf/httpd.conf >> >> * by default, by forgetting the first installation inside /usr? Or >> should I always specify the httpd.conf path as you suggested? * >> Thank you for the documentation links, I'm referring those links now. >> >> On Tue, Mar 31, 2015 at 10:11 PM, Mike Rumph >> wrote: >> >>> Hello Padmahas, >>> >>> It looks like your two installations of Apache httpd 2.4 are conflicting >>> with each other. >>> If I understand correctly, you first installed into /user and then into >>> /usr/local/apache2. >>> Then you tried to remove the /user installation by deleting files >>> manually. >>> (As you've seen, /user is not a good choice, because this is used for >>> many other things as well.) >>> It would probably help to do a fresh installation. >>> But let's try a few things first. >>> >>> When tried *" sudo /usr/local/apache2/bin/apachectl -k start "* >>> It gave " *httpd: Could not open configuration file >>> /usr/conf/httpd.conf: No such file or directory ".* >>> You are probably wanting to use /usr/local/apache2/conf/httpd.conf >>> instead. >>> >>> What results do you get from *sudo /usr/local/apache2/bin/apachectl -V * >>> ? >>> Look inside */usr/local/apache2/bin/apachectl * >>> What is the variable HTTPD set to? >>> You could try using *sudo /usr/local/apache2/bin/apachectl -k start -f* >>> * /usr/local/apache2/conf/httpd.conf *to override the config file >>> location. >>> >>> See the following links for further options on the apachectl or httpd >>> commands: >>> - http://httpd.apache.org/docs/2.4/programs/apachectl.html >>> - http://httpd.apache.org/docs/2.4/programs/httpd.html >>> >>> Thanks, >>> >>> Mike Rumph >>> >>> >>> On 3/31/2015 3:36 AM, Padmahas Bn wrote: >>> >>> >>> >>> *If anyone finds this as a big question please let me know. I'll precise >>> my problem. Steps I followed:* >>> >>> I installed apr and apr-utils package in the path *"/usr"* using the >>> --prefix option. >>> >>> Both were installed successfully. Hence I installed apache 2.4 to the >>> same path ("/usr") using --prefix option while running >>> >>> *"./configure" . * >>> >>> >>> *Later I came to know if prefix is not mentioned for apache2.4 >>> installation, it will be installed inside /usr/local/apache2 by default. * >>> Hence I again installed without specifying --prefix option which does >>> installed the apache2 into /usr/local/apache2. >>> >>> Now I cd to /usr/local/apache2/bin and run *sudo apachectl -k start *and >>> the apache server was started successfully. >>> >>> *Only later I came to know the server is running from the /usr files >>> installed at first time. * >>> Instead of having 2 installations I thought of removing the one >>> installed inside /usr and deleted all files manually and carefully from all >>> sub folders of /usr. >>> >>> *Now when I run the server from /usr/local/apache2 using "* *sudo >>> apachectl -k start " *it says *sudo: apachectl: command not found* >>> >>> So I supplied full path using *" sudo /usr/local/apache2/bin/apachectl >>> -k start "* >>> >>> But its giving " *httpd: Could not open configuration file >>> /usr/conf/httpd.conf: No such file or directory ".* >>> >>> Thank you. >>> >>> >>> >> >> > --001a1130ce22e182e20519a62197 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey mike,

This was added to draft, = so I'm re-sending this.
I tried the command with -f option myself = like this. (sudo /usr/local/apache2/bin/apachectl -V -f /usr/local/apache2/= conf/httpd.conf) And the result is,

[sudo] password for padmahas: Server version: Apache/2.4.12 (Unix)
Server built:=C2=A0=C2=A0 Mar 31 = 2015 16:20:21
Server's Module Magic Number: 20120211:41
Server lo= aded:=C2=A0 APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTI= L 1.5.4
Architecture:=C2=A0=C2=A0 64-bit
Server MPM:=C2=A0=C2=A0=C2= =A0=C2=A0 event
=C2=A0 threaded:=C2=A0=C2=A0=C2=A0=C2=A0 yes (fixed thre= ad count)
=C2=A0=C2=A0=C2=A0 forked:=C2=A0=C2=A0=C2=A0=C2=A0 yes (variab= le process count)
Server compiled with....
=C2=A0-D APR_HAS_SENDFILE<= br>=C2=A0-D APR_HAS_MMAP
=C2=A0-D APR_HAVE_IPV6 (IPv4-mapped addresses e= nabled)
=C2=A0-D APR_USE_SYSVSEM_SERIALIZE
=C2=A0-D APR_USE_PTHREAD_S= ERIALIZE
=C2=A0-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
=C2=A0-D APR_HAS_= OTHER_CHILD
=C2=A0-D AP_HAVE_RELIABLE_PIPED_LOGS
=C2=A0-D DYNAMIC_MOD= ULE_LIMIT=3D256
=C2=A0-D HTTPD_ROOT=3D"/usr"
=C2=A0-D SUEXE= C_BIN=3D"/usr/bin/suexec"
=C2=A0-D DEFAULT_PIDLOG=3D"logs= /httpd.pid"
=C2=A0-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime= _status"
=C2=A0-D DEFAULT_ERRORLOG=3D"logs/error_log"
= =C2=A0-D AP_TYPES_CONFIG_FILE=3D"conf/mime.types"
=C2=A0-D SER= VER_CONFIG_FILE=3D"conf/httpd.conf"

On Wed, Apr 1, 2015 at 9:26 AM, Padma= has Bn <padmahas@gmail.com> wrote:
Hello mik= e,

I would like to clarify one thing. Whatever the apache rela= ted command I execute inside /usr/local/apache2/bin, it all affecting the a= pache inside /usr. The exact reason may be because I installed apache insid= e /usr at first and only later I installed in "usr/local...."
=
Hence if you want exact result of the sudo /usr/local/apache2/bin/apachectl -V, please tell me how to explic= itly specify the path as you suggested me in the last command using -f opti= on(sudo /usr/local/apache2/bin/apachectl -k start -f /usr/local/apache2/conf/httpd.conf ).

So tell me if apache configures any environment variables and = it may not overwriting the path when I install second time inside /usr/loca= l....

The steps I used to install apache2
To install apr and apr-util I followed this link (http://www.linuxfromscratch.org/blfs/view/svn/general/apr.html).= This is where I came to know about --prefix option and I used "/usr&q= uot; from this tutorial. But irrespective of using /usr as --prefix, apr in= stalled inside /usr/local.

Hence I used the same option for ap= ache2 like this. ./configure --prefix=3D/usr
Unfortunately apache2= was installed in the exact location inside /usr, by merging its files insi= de bin.


Later I read in apache documentation, if --pr= efix not specified it will install inside /usr/local... so I thought it wou= ld be easy if all apache files is available inside one directory (apache2) = which will be created by server. This time I just ran ./configure. And you = know the later part.

Two installations are conflicting wi= th each other. Only the first installation is valid and the second is not e= ven executing server start command.

So is there any way I= can completely uninstall apache? something similar to "make uninstall= ". "make uninstall" is not working I don't know why.
=

On Wed, Apr 1, 2015 at 5:42 AM, Mike Rum= ph <mike.rumph@oracle.com> wrote:
=20 =20 =20
Hello Padmahas,

Okay.=C2=A0 This tells us a few things.
One problem is that the HTTPD_ROOT is set to /usr instead of /usr/local= /apache2.
Other relative paths will be based from here.
Since the SERVER_CONFIG_FILE is set to conf/httpd.conf,
the default config file will be /usr/conf/httpd.conf instead of /usr/local/apache2/conf/httpd.conf.
The -f switch allowed you to override this.

What steps did you use to install and configure httpd into=C2=A0 /usr/local/apache2?
In your httpd source directory, what are the contents of the config.nice file?

You could review the following links:
- http://httpd.apache.org/docs/2.4/install.html#configure
-
http://httpd.apache.org/docs/2.4/programs/configure.html<= /a>

Take care,

Mike


On 3/31/2015 4:19 PM, Padmahas Bn wrote:
Hello mike,

Yes you are write I installed server first inside /usr and then inside /usr/local/apache2 (installed by default when I used ./configure without --prefix option). Even you are right about my manual un installation.

About the command you suggested with -V option, this is the result.

Server version: Apache/2.4.12 (Unix)
Server built:=C2=A0=C2=A0 Mar 31 2015 16:20:21
Server's Module Magic Number: 20120211:41
Server loaded:=C2=A0 APR 1.5.1, APR-UTIL 1.5.4
Compiled using: APR 1.5.1, APR-UTIL 1.5.4
Architecture:=C2=A0=C2=A0 64-bit
Server MPM:=C2=A0=C2=A0=C2=A0=C2=A0 event
=C2=A0 threaded:=C2=A0=C2=A0=C2=A0=C2=A0 yes (fixed thr= ead count)
=C2=A0=C2=A0=C2=A0 forked:=C2=A0=C2=A0=C2=A0=C2=A0 yes = (variable process count)
Server compiled with....
=C2=A0-D APR_HAS_SENDFILE
=C2=A0-D APR_HAS_MMAP
=C2=A0-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)<= br> =C2=A0-D APR_USE_SYSVSEM_SERIALIZE
=C2=A0-D APR_USE_PTHREAD_SERIALIZE
=C2=A0-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
=C2=A0-D APR_HAS_OTHER_CHILD
=C2=A0-D AP_HAVE_RELIABLE_PIPED_LOGS
=C2=A0-D DYNAMIC_MODULE_LIMIT=3D256
=C2=A0-D HTTPD_ROOT=3D"/usr"
=C2=A0-D SUEXEC_BIN=3D"/usr/bin/suexec"
=C2=A0-D DEFAULT_PIDLOG=3D"logs/httpd.pid" =C2=A0-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime= _status"
=C2=A0-D DEFAULT_ERRORLOG=3D"logs/error_log"<= br> =C2=A0-D AP_TYPES_CONFIG_FILE=3D"conf/mime.types&q= uot;
=C2=A0-D SERVER_CONFIG_FILE=3D"conf/httpd.conf&quo= t;

I looked inside /usr/local/apache2/bin/apachectl, the HTTPD var set to
HTTPD=3D'/usr/local/apache2/bin/httpd'

In parallel I also looked inside /usr/bin/apacheclt, there the HTTPD var set to

HTTPD=3D'/usr/bin/httpd'. So I assume both of the= m pointing to their respective directories.

I tried the second command you suggested
sudo /usr/local/apache2/bin/apachectl -k start -f /usr/local/apache2/conf/httpd.conf

Good news
The server started with usual warning message but Yes!!! it is using the httpd.conf file which resides inside /usr/local/apache2/conf/httpd.conf.
The message it always show is,
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this messag= e

Now is there any way I can set apache to look inside /usr/= local/apache2/conf/httpd.conf=C2=A0 by default, by forgetting the first installation inside /usr? Or should I always specify the httpd.conf path as you suggested?

Thank you for the documentation links, I'm referring those link= s now.

On Tue, Mar 31, 2015 at 10:11 PM, Mike Rumph <mike.rumph@oracle.com> wrote:
Hello Padmahas,

It looks like your two installations of Apache httpd 2.4 are conflicting with each other.
If I understand correctly, you first installed into /user and then into /usr/local/apache2.
Then you tried to remove the /user installation by deleting files manually.
(As you've seen, /user is not a good choice, because this is used for many other things as well.)
It would probably help to do a fresh installation.
But let's try a few things first.

When tried " sudo /usr/local/apache2/bin/apachectl -k start "
It gave " httpd: Could not open configuration file /usr/conf/httpd.conf: No such file or directory ".=
You are probably wanting to use /usr/local/apache2/conf/httpd.conf instead.

What results do you get from sudo /usr/local/apache2/bin/apachectl -V=C2=A0=C2=A0 ?
Look inside /usr/local/apache2/bin/apachectl=C2=A0 =
What is the variable HTTPD set to?
You could try using sudo /usr/local/apache2/bin/apachectl -k start -f /usr/local/apache2/conf/httpd.conf
to override the config file location.

See the following links for further options on the apachectl or httpd commands:
- http://httpd.apache.org/docs/2.4/programs/apach= ectl.html
- http://httpd.apache.org/docs/2.4/programs/httpd.htm= l

Thanks,

Mike Rumph


On 3/31/2015 3:36 AM, Padmahas Bn wrote:
If anyone finds this as a big question please let me know. I'll precise my problem.

Steps I followed:


I installed apr and apr-utils package in the path "/usr&q= uot; using the --prefix option.

Both were installed successfully. Hence I installed apache 2.4 to the same path ("/usr") usin= g --prefix option while running &quo= t;./configure" .

Later I came to know if prefix is not mentioned for apache2.4 installation, it will be installed inside /usr/local/apache2 by default.

Hence I again installed without specifying --prefix option which does installed the apache2 into /usr/local/apache2.

Now I cd to /usr/local/apache2/bin and run sudo apachectl -k start and the apache server was started successfully. Only later I came to know the server is running from the /usr files=C2=A0 installed at first time.=

Instead of having 2 installations I thought of removing the one installed inside /usr and deleted all files manually and carefully from all sub folders of /usr.

Now when I run the server from /usr/local/apache2 using " sudo apachectl -k start " it says sudo= : apachectl: command not found

So I supplied full path using " sudo /usr/local/apache2/bin/apachectl -k start "= ;

But its giving " httpd: Could not open configuration file /usr/conf/httpd.conf: No such file or directory ".

Thank you.





--001a1130ce22e182e20519a62197--