httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fan, Tony" <T...@Kronos.com>
Subject RE: [users@httpd] Is possible to redistribute apache 2 binary to different server within installing in different location for Unix?
Date Fri, 10 Nov 2006 22:28:48 GMT
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@sgi.com] 
Sent: Friday, November 10, 2006 2:25 PM
To: users@httpd.apache.org
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@sgi.com || phone:+1-650-933-7707
-----Original Message-----
From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua
Slive
Sent: Friday, November 10, 2006 11:18 AM
To: users@httpd.apache.org
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@kronos.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message