Page 1 of 1

[Solved] okmAdmin can't log in

PostPosted:Tue Nov 30, 2010 10:24 am
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

Re: okmAdmin can't log in

PostPosted:Tue Nov 30, 2010 10:33 am
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

Re: okmAdmin can't log in

PostPosted:Tue Nov 30, 2010 11:27 am
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

Re: okmAdmin can't log in

PostPosted:Tue Nov 30, 2010 9:06 pm
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 ?

Re: okmAdmin can't log in

PostPosted:Tue Nov 30, 2010 9:39 pm
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

Re: okmAdmin can't log in

PostPosted:Wed Dec 01, 2010 6:36 pm
by jllort
Try selecting database user table, is shown here how doing it .... http://wiki.openkm.com/index.php/Browsi ... d_database

are any rows ?

Re: okmAdmin can't log in

PostPosted:Sun Dec 05, 2010 2:59 pm
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