Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of Open Cpu on RHEL 6.4 #43

Closed
raghu557 opened this issue Oct 9, 2017 · 3 comments
Closed

Installation of Open Cpu on RHEL 6.4 #43

raghu557 opened this issue Oct 9, 2017 · 3 comments

Comments

@raghu557
Copy link

raghu557 commented Oct 9, 2017

Hello,

We have oopencpu on RHEL Server 6.4, While installing everything got installed without any errors, but when we try to see the libraries of the open cpu using curl http://localhost/ocpu/library/ we are unable to see any response.

Can you please help us resolving this.

Regards,
Raghuram.

@raghu557
Copy link
Author

Hello Team,

We have MRO-3.3 and R-devel 3.4.1 with rApache 1.7 and opencpu-1.67. Please let us if we are missing anything here.

We followed the below link for the installation
https://github.com/opencpu/opencpu-server/blob/master/rpm/buildscript.sh

Please help us in resolving this and quick help is much appreciated.

Regards,
Raghuram.

@mjmg
Copy link

mjmg commented Oct 30, 2017

You have installed two conflicting packages: MRO-3.3 and R-devel 3.4.1

MRO rpms already provide R-devel file dependecies although they are not declared properly. The script probably assumes a CRAN/"vanilla" R installation but MRO is packaged differently.

I solved this conundrum by creating and installing a "fake" R packages spec file which enumerates the provides properly.
https://gist.github.com/mjmg/5a48c7f8ba2e48f3931b4d92000b76d0

I also installed rApache and opencpu from source rpms so they are built properly and dependencies are properly installed with yum-buildddep.
http://download.opensuse.org/repositories/home:/jeroenooms:/opencpu-2.0/Fedora_26/src/
Dont forget to fix SELinux permissions after installing rpm packages.

@nainai123
Copy link

Hello, how to build the MRO and opencpu images correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants