Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I'm trying to install OpenAM in CentOS and I am following the documentation http://docs.forgerock.org/en/openam/11.0.0/OpenAM-11.0.0-Getting-Started.pdf
But, in step 1.4, the installation process freezes. And the following message appears:
Installing OpenAM configuration store in /root/openam/opends
Can anyone help me?
This is often caused by the JVM not having enough Permgen and Heap. For example - for tomcat you need setenv.sh to have:
export JAVA_OPTS="$JAVA_OPTS\
-server\
-Xms704m\
-Xmx1024m\
-XX:MaxPermSize=256m"
Check your JVM version. OpenAM 11 does not support 1.8 and will freeze at installation time.
Another cause of this is the use of OpenJDK. It will work if you use the Oracle JDK 7 to build and run with. This is because the self cert classes are different between JREs. They also moved in the Oracle Java between 7 & 8 which is the cause of #AlexS observed errors.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
i have installed mongoDB on ubuntu server and it works well with my node project.
But now it shutdowns automatically and i don't know why it stops
Actually i have solved the issue by running an SDK on the server named 'pm2'
which helped me to run the mongo db without stoping.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I am using Alfresco 5.2 and trying to access CMIS RepositoryService, while getting repositories (from .Net client) I am getting below error.
Error: “MustUnderstand headers: [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood.”
Tried creating custom binding but could not resolve the error as we don't have control on setting 'mustUnderstand' attribute to 0 (zero), I could see the attribute value set to 1 by default and not finding a way to resolve this issue.
Note: There was no such error on Alfresco 5.1.2.
Please let me know whether there is a known bug in Alfresco 5.2 regarding the same?
Also suggest any solution to get it working with Alfresco 5.2.
Rama
below is the soap request
2017-07-05T05:56:33.544Z2017-07-05T06:01:33.544ZadminK0fax#01
--uuid:09b807fc-680b-4cc3-9b4e-63784765a2c5+id=1--
After implementing WS-Security authentication, this is now working.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Improve this question
I run a minecraft server on a remotely hosted linux VPS. Recently, a migration was done at my host's data center where the VPS image was copied to a new setup (new hardware, new IP, new virtual infrastructure I believe).
Before the migration, the server had the below command crontab'd and it worked fine; after a full reboot, I could type "screen -x" to get into the server console. After the migration, I cannot do this anymore. The command itself starts the minecraft server... but not the 'screen'. I have asked the host to explore why and he tested it out and replied he can't find the reason either.
The main changes I know of at the time of migration... upgrade from 13.x to 14.04 Ubuntu; update from Java 6 to Java 8... update to newest MySQL... storage upgraded to SSD. Changed from "Xen" to "KVM"... and new setup supported by OpenStack.
#reboot cd /home/mcma && screen -dmS minecraft /home/mcma/MCMA2_Linux_x86_64
I wish I could provide more info but this is everything I have at hand, I don't know how to troubleshoot further. Any assistance would be greatly appreciated.
Some ideas to try:
Check if the cron daemon is running.
If it does, check the logs to see if it attempts to start the given cron job. Might need to crank up the log level for this.
If the job does get launched, check the the error.
Try using absolute path to screen.
If /home/mcma/MCMA2_Linux_x86_64 is a script, try adding sh before it.
Have you tried running the command by hand?
The Internets seem to imply there might be a bug with non-root #reboot jobs on some Ubuntus. Which cron daemon are you using?
Check Ubuntu bug 574773. It might be the issue you are having.
Let me know if you gather any additional data from above, so we can try a few more things as needed.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have a complete program that uses opencv which I have written in C++ on Microsoft Visual Studio 2010. I have now been asked to assess the possibility of getting the program running on a Ubuntu server, of which I have no experience.
As such, my questions are:
1 - Does any one have a good tutorial for porting applications from C++ Windows to Ubuntu?
2 - on a scale of 1-10 (1=easy) how difficult would this be?
3 - Ubuntu will be running on a server, does this make a difference to OpenCV?
I have had zero experience with Ubuntu so a step by step guide would be really great if anyone can help!
many thanks for your help,
Kay.
If you have written your program in standard C++, you will have no problem compiling. The problem might be for example in linking the libraries you are using. Depending on the complexity of your project, you might have to find an adequate building system, like cmake. It's better if you implement the latter first in Windows. Did you build yourself OpenCV? Do the same for Ubuntu, DO NOT USE the distribution OpenCV packages available with Ubuntu.
If you have somebody that knows about Ubuntu assisting you, it will be much smoother.
No difference, if you use it like a normal work station. If you access remotely, you might have to solve some visualization issues.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm sure this is just my lack of experience with linux but I just cant seem to figure it out. I'm using XUbuntu annd I have the JDK6 installed and the full screen issue is really starting to bother me so I'd like to upgrade to version 7. I've tried installing it in the software center, I've tried 'sudo su apt-get install openjdk(whatever the rest of the package name is), I've tried using a package manager, I've even uninstalled version 6 then installed it and some how I end up with version 6 still. I'm sorry, I know I'm probably missing something entirely obvious but I cant figure it out.
When you have several java versions in your machine you could use below command to change the version you required.
/usr/sbin/alternatives --config java
This will ask to choose you a number and number contains the version belongs to it.
Hope this helps you.
Try these commands:
$ java -version
$ which java
You will find out which version of JDK you are currently using. That said, install new version of JDK and make sure that it comes first in your PATH environment variable, i.e. update PATH like this:
export PATH=</path/to/new/jdk>:<current PATH>
To make it permanent, update .bash_profile or .profile file. Running again statements mentioned above should now give you new version of JDK.