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

Re: Installation of Openshift Origin: problems with Ruby



Hi Patrick,
I have inserted the following into the /root/.bashrc file:
export LD_LIBRARY_PATH="/lib:/lib:/lib:/opt/rh/ruby193/root/usr/lib64:"

then source /root/.bashrc file.

So, I am able to connect to https://IP_HOST/ and log in as demo user. But this is what I see into the log file:

[root openshift-ocp ~]# tail /var/log/openshift/console/httpd/error_log /var/log/httpd/error_log -f

==> /var/log/openshift/console/httpd/error_log <==
[Fri Mar 06 04:53:24 2015] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations
[Fri Mar 06 05:00:06 2015] [notice] caught SIGTERM, shutting down
[Fri Mar 06 05:00:49 2015] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Mar 06 05:00:49 2015] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations
[Fri Mar 06 05:15:31 2015] [notice] caught SIGTERM, shutting down
[Fri Mar 06 05:16:26 2015] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Mar 06 05:16:27 2015] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations
[Fri Mar 06 05:39:25 2015] [notice] caught SIGTERM, shutting down
[Fri Mar 06 05:40:00 2015] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Fri Mar 06 05:40:00 2015] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations

==> /var/log/httpd/error_log <==
[Fri Mar 06 08:58:42 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Mar 06 08:58:42 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Mar 06 08:58:42 2015] [warn] module php5_module is already loaded, skipping
[Fri Mar 06 08:58:42 2015] [warn] module passenger_module is already loaded, skipping
[Fri Mar 06 08:58:42 2015] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 06 08:58:42 2015] [notice] Digest: done
[Fri Mar 06 08:58:42 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Mar 06 08:58:42 2015] [notice] Apache/2.2.15 (Unix) DAV/2 Phusion_Passenger/3.0.21 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Mar 06 09:02:47 2015] [error] [client 91.218.224.5] File does not exist: /var/www/html/getting_started.html
[Fri Mar 06 09:02:47 2015] [error] [client 91.218.224.5] File does not exist: /var/www/html/favicon.ico

==> /var/log/openshift/console/httpd/error_log <==
Rails Error: Unable to access log file. Please ensure that /var/log/openshift/console/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

==> /var/log/httpd/error_log <==
[Fri Mar 06 09:03:41 2015] [error] [client 91.218.224.5] File does not exist: /var/www/html/assets, referer: https://90.147.102.48/console/assets/common-ddb6f0c18956c0219bb83c21326312ca.css
[Fri Mar 06 09:03:42 2015] [error] [client 91.218.224.5] File does not exist: /var/www/html/assets, referer: https://90.147.102.48/console/assets/common-ddb6f0c18956c0219bb83c21326312ca.css


Giuseppe

2015-03-06 13:50 GMT+01:00 patrick <chapat gmail com>:
you should have something like this:

 pch::broker $ echo $LD_LIBRARY_PATH 
/lib:/lib:/lib:/opt/rh/ruby193/root/usr/lib64:



On 06 Mar 2015, at 13:24, Giuseppe Galeota <giuseppegaleota gmail com> wrote:

Hi Patrick,
in truth $LD_LIBRARY_PATH  is empty. What should I insert into that variable?

Thank you,
Giuseppe

2015-03-06 13:22 GMT+01:00 patrick <chapat gmail com>:
Ciao Giuseppe,

You are missing a library use the command  to check your ENV

echo $LD_LIBRARY_PATH 



On 06 Mar 2015, at 12:41, Giuseppe Galeota <giuseppegaleota gmail com> wrote:

Dear all,
this is my first post on this mailing list.

I installed Openshift Origin (all-in-one installation) following this guide: http://docs.openshift.org/origin-m4/oo_install_users_guide.html# 

The installation process seems ti be gone well:

Deployment successful. Exiting installer. 

All tasks completed.

oo-install exited; removing temporary assets.


If I try to conect to http://IP_HOST:80, the browser returns a "many redirect" error. Moreover, in the /var/log/https/error_log file I see:


/opt/rh/ruby193/root/usr/bin/ruby: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory


Can someone help me, please?


Thank you,

Giuseppe

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users





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