Page 1 of 1

Suddenly stopped working

PostPosted:Tue Jun 18, 2013 11:51 pm
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.

Re: Suddenly stopped working

PostPosted:Thu Jun 20, 2013 9:40 am
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 ).

Re: Suddenly stopped working

PostPosted:Thu Jun 20, 2013 5:54 pm
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.

Re: Suddenly stopped working

PostPosted:Sat Jun 22, 2013 10:52 am
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 ?