• Suddenly stopped working

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #23572  by fig
 
I installed OpenKM 5.1 I believe January 2012 on a Linux server and after getting it configured have been using it happily since. Last Friday it worked great, but by Monday it was not working. No updates were done to any software on the server, or anything else on the network for that matter other than perhaps virus database definition files on the Windows workstations. Monday it was giving an Authentication Error when trying to login, regardless of user. Tried okmAdmin plus a few others that had been working. I shutdown and restarted the jboss server first and then the physical server as well when that didn't work. Neither helped. A couple of things stand out to me in the startup output:
Code: Select all
WARN [RepositoryLock] Existing lock file /opt/jboss-4.2.3.GA/repository/.lock detected. Repository was not shut down properly.
and later in the output
ERROR [DirectRepositoryModule] failed to register namespace okm -> http://www.openkm.org/1.0: mapping already exists
Unfortunately I don't know how to proceed in fixing this issue.
Code: Select all
Server: Ubuntu Linux Server x64, 2.6.32 kernel, jboss 4.2.3.GA, Pretty sure OpenKM 5.1, not sure how to tell without being able to login. 
Workstation 1: Windows 7, Internet Explorer 10 and Firefox 21.0, no firewall
Workstation 2: Windows XP, Firefox 21.0, no firewall
Any ideas would be greatly appreciated, especially if they are of the variety that doesn't lose all the data since the last backup. If there is anything I could post that would help, let me know. I will be back on tomorrow.
Thank you in advance.
 #23620  by jllort
 
That indicates server has not been stopped correctly
/opt/jboss-4.2.3.GA/repository/.lock

Remove .lock and start application again ( probably will be other .lock files )

Note: Good practice is doing backups, because not everything can be solved without backup ( for example if your hardware is broken ).
 #23635  by fig
 
Deleted the lock file. That got rid of that warning, but had no effect on the overall problem. Still getting the namespace mapping error. Any ideas on resolving that issue?

Thank you.
 #23654  by jllort
 
stop openkm and into repository folder take a look if exists other .lock files, in case exist delete it too.

In log appear any other error ?

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.