• [Solved] okmAdmin can't log in

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7310  by kazevil
 
Dear All,

I have seen that this question came already a lot, but unfortunately even if all the prior post I can't find a solution.

Once I have installed OpenKM 4.1, I can't log in with the user okmAdmin / admin. I always get Authentication error.
I tried to reinstall OpenKM now 3 o 4 times and I still get the same issue. I make a tail on server.log while trying to log in
but no new entry came in.

My configuration is the folllowing:
  • Oracle Enterprise Linux 5.5
  • Java-OpenJDK 1.6
  • OpenKM-4.1_JBoss-4.2.3.GA
During the installation process, I made the following operations:
  • Copy the zip file as root in /opt
  • extract as root the zip file
  • chown -R on OpenKM folder to give it to openkm linux user
  • modify mail-services.xml
  • modifiy OpenKM.cfg
  • modifiy server.xml (to run on port 50001)
  • start OpenKM with nohup ./bin/run.sh -b 0.0.0.0 &
As anybody an idea where I may have done a mistake or where I can check to find my issue?

Thanks a lot for your support

Kaz
Last edited by kazevil on Sun Dec 05, 2010 2:59 pm, edited 1 time in total.
 #7311  by jllort
 
We could try with java jdk not with open jdk ( in run.sh set the correct java home for sun jdk ).
Remember okmAdmin user is case sensitive
I recommend fresh OpenKM install to ensure all dbms etc... are empty
 #7314  by kazevil
 
Hi jllort

thanks for your feedback :-)
I tried your advice, but I still have the same issue.
  • I uninstalled java-openJDK
  • Downloaded java JDK from SUN (Oracle) web site
  • Installed Java
  • Reinstalled OpenKM
  • added JAVA_HOME=/usr/local/java/jdk1.6.0_22/ in $JBOSS_HOME/bin/run.sh
This what I have when doing java -version
Code: Select all
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
Anything else I could try/check?

Thanks

Kaz
 #7316  by jllort
 
With which database are you trying ? are you using default DBMS as OpenKM comes by default, you've not made any change on default configuration ?
 #7319  by kazevil
 
Hi jllort,

in fact I don't use database like MySql or any other. I just use the File System.
I didn't made any specific change. The own ones I made are:
  • changing the mail servers and account settings in mail-services.xml
  • Add parameters in OpenKM.cfg
  • Change the port for OpenKM
I tried to reset the OpenKM.cfg file by settings only following parameters:
Code: Select all
restrict.file.mime=off 
restrict.file.extension=*~,*.bak,._* 
max.file.size=50 
default.lang=en-US 
Any other place I could check?

Regards

Kaz
 #7402  by kazevil
 
Hi,

thanks for your help. As still had issues with my installation, I decided to start once again from scratch.
I even downloaded the zip file again.
Everything works now! Don't know what went wrong the last time, but doesn't matter it works :mrgreen:

Thanks for your help.

Kaz

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.