RE: [users@httpd] Is possible to redistribute apache 2 binary to different server within installing in different location for Unix?

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

 



Thank you all who responded to me to help me out here,  I started from
AIX first and I moved apache from directory /usr/local/Kronos/apache2 to
/usr/local/apache2,  I changed path in apachectl and LIBPATH in envvars
file,  this is error I am getting:
# pwd
/usr/local/apache2/bin
# ./apachectl start
exec(): 0509-036 Cannot load program /usr/local/apache2/bin/httpd
because of the following errors:
        0509-022 Cannot load module
/usr/local/kronos/apache2/lib/libaprutil-1.so.
        0509-150   Dependent module
/usr/local/kronos/apache2/lib/libexpat.a(libexpat.so.0) could not be
loaded.
        0509-022 Cannot load module
/usr/local/kronos/apache2/lib/libexpat.a(libexpat.so.0).
        0509-026 System error: A file or directory in the path name does
not exist.
        0509-022 Cannot load module httpd.
        0509-150   Dependent module
/usr/local/kronos/apache2/lib/libaprutil-1.so could not be loaded.
        0509-022 Cannot load module .

Changes LIBPATH doesn't seem to help, is there other way to set switch
on to force to using LIBPATH?

--Tony 

-----Original Message-----
From: Mark Lavi [mailto:mlavi@xxxxxxx] 
Sent: Friday, November 10, 2006 2:25 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Is possible to redistribute apache 2 binary
to different server within installing in different location for Unix?

So long as your destination system will provide for all of the
dependencies or have compatible successors for:
- processor
- operating system
- dynamic libraries (.so on Unix/Linux/etc, .dll on Windows platforms)

Then yes, you could try it and see if you encounter (and can solve) the
next set of issues other people have mentioned when replying to you.

The idea of a binary distribution of Apache (a la RPM, etc.) allows
this, but there are things to customize unless you are on an identical
clone of your build system.

--Mark 
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:mlavi@xxxxxxx || phone:+1-650-933-7707
-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua
Slive
Sent: Friday, November 10, 2006 11:18 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Is possible to redistribute apache 2 binary
to different server within installing in different location for Unix?

On 11/10/06, Fan, Tony <TFan@xxxxxxxxxx> wrote:

>     I compiled Apache 2 in Unix (Solaris and AIX) without any problem
with
> prefix /usr/local/, is possible I can move my apache binary to
different
> system and install it to /opt directory?

Yes, but you'll probably need to edit apachectl to use the -f option
to point to the config file, and you will probably need to make
changes in the config file as well (at least ServerRoot and
DocumentRoot).

Joshua.

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


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


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



[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