Hi,
Solved issue by changing method apache2ctl to below in apache.rb under
$GEM_HOME/gems/passenger-3.0.7/lib/phusion_passenger/platform_info
def self.apache2ctl
if env_defined?('APACHE2CTL')
return ENV['APACHE2CTL']
else
return find_apache2_executable('apache2ctl', 'apachectl2',
'apachectl')
end
end
And set APACHE2CTL to '/u01/app/oracle/OraHome_1/ohs/bin/apachectl'. I
have not looked into why APXS2 path is not considered. Passenger
installed but with some warnings.
ld: warning: global symbol `_END_' has non-global binding:
(file /usr/local/lib/libcurl.so value=LOCL);
ld: warning: global symbol `_START_' has non-global binding:
(file /usr/local/lib/libcurl.so value=LOCL);
ld: warning: global symbol `_END_' has non-global binding:
(file /usr/local/ssl/lib/libssl.so value=LOCL);
ld: warning: global symbol `_START_' has non-global binding:
(file /usr/local/ssl/lib/libssl.so value=LOCL);
ld: warning: global symbol `_END_' has non-global binding:
(file /usr/local/ssl/lib/libcrypto.so value=LOCL);
ld: warning: global symbol `_START_' has non-global binding:
(file /usr/local/ssl/lib/libcrypto.so value=LOCL);
I have done post installation tasks and stuck at restarting the
server. OHS failing with below error.
/u01/app/oracle/OraHome_1/ohs/bin/apachectl startssl: execing httpd
Syntax error on line 1208 of /u01/app/oracle/OraHome_1/ohs/conf/
httpd.conf:
Cannot load /export/home/maftool/.rvm/gems/ruby-1.9.2-p290@wc/gems/
passenger-3.0.7/ext/apache2/mod_passenger.so into server: ld.so.1:
httpd: fatal: libstdc++.so.6: open failed: No such file or directory
I see the file libstdc++.so.6 is in /usr/local/lib/libstdc++.so.6.
Really appreciate help on this.
Thanks,
Anil.
On Oct 12, 1:12 pm, anil <
anilk...@gmail.com> wrote:
> Hi,
>
> I have installed Passenger v 3.0.7 and configured with Apache 2.2.11
> on Solaris Sparc successfully. But my requirement is to run
> application with Oracle HTTP Server(with Apache 2.0). Tried again
> installing passenger with OHS but failed. So I did set below
> environment variables and implemented patch for regex errors.
>
> export APXS2=/u01/app/oracle/OraHome_1/ohs/bin/apxs
> export APU_CONFIG=/u01/app/oracle/OraHome_1/ohs/bin/apu-config
> export APR_CONFIG=/u01/app/oracle/OraHome_1/ohs/bin/apr-config
> export HTTPD=/u01/app/oracle/OraHome_1/ohs/bin/httpd
>
> And I did apply patch mentioned for regex.
http://code.google.com/p/phusion-passenger/issues/detail?id=651