Re: apxs: not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sakthi,
Thanks very much for you time and information, i have followed following steps:
1. executed this command in the shell
# PATH=$PATH:/usr/local/apache2/bin:/usr/local/bin/
# export $PATH

2.changed the permissions for apxs to 755

3. perl was already installed (checked with command  $ which perl) this gave me the location of perl installation, 
added perl install location to PATH variable,

>The first line in the apxs shell script(#!/usr/local/bin/perl -w) is already commented out, it won't be executed anyways??

Still i get the same error "./apxs: not found "

stuck on the same step.
any thoughts??

Thanks.
Tapan
--- On Thu, 5/6/10, Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx> wrote:

From: Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx>
Subject: Re: apxs: not found
To: users@xxxxxxxxxxxxxxxx
Date: Thursday, May 6, 2010, 12:08 PM

Hello,

Check the following steps
1. I could see the path variable is not set. Add the following lines to the homedirectory/.bash_profile
PATH=$PATH:/usr/local/apache2/bin:/usr/local/bin/
now reboot the computer to take this effect, if the system can't rebooted then just execute this in the shell
# PATH=$PATH:/usr/local/apache2/bin:/usr/local/bin/
# export $PATH

2. Change the file permission, none of the shell script should be with 777 permission(rwx,rwx,rwx)
chmod 755 apxs

3. Make sure perl is installed in /usr/local/bin/perl, since I could see the script uses perl for its execution.
# which perl
add this output to PATH variable. or try deleting the first line in the apxs shell script(#!/usr/local/bin/perl -w)
On 6 May 2010 15:59, Tapan Maheshwari <tapan_mh@xxxxxxxxx> wrote:


--- On Wed, 5/5/10, Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx> wrote:

From: Sakthi Esakiappan <sakthi.esakiappan@xxxxxxxxxxxxxxxx>

Subject: Re: apxs: not found
To: users@xxxxxxxxxxxxxxxx
Date: Wednesday, May 5, 2010, 3:19 PM

Also post

cat /usr/local/apache2/bin/apxs

On 5 May 2010 19:38, Hendrik Schmieder <hendrik.schmieder@xxxxxxxxx> wrote:
Tapan Maheshwari schrieb:

YES,
i am executing this command from this directory: /usr/local/apache2/bin
where apxs is present.

again, apxs is not a binary, this is a text file....

Thanks,


What is the output of
ls -l /usr/local/apache2/bin/apxs ?

 Hendrik

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
With Regards,
Sakthi Esakiappan.M
Server Administrator

MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587
sakthi.esakiappan@xxxxxxxxxxxxxxxx
www.mercuryminds.com

Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this message in error, you are hereby notified that we do not consent to any reading, dissemination, distribution or copying of this message. If you have received this communication in error, please notify the sender immediately and destroy the transmitted information.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



--
With Regards,
Sakthi Esakiappan.M
Server Administrator

MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587
sakthi.esakiappan@xxxxxxxxxxxxxxxx
www.mercuryminds.com

Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this message in error, you are hereby notified that we do not consent to any reading, dissemination, distribution or copying of this message. If you have received this communication in error, please notify the sender immediately and destroy the transmitted information.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux