IRC Chat : 2011-09-11 - OpenMRS

00:54:44 *** morristic has quit IRC
00:58:43 *** gbastien has quit IRC
01:53:21 *** gbastien has joined #openmrs
02:21:57 *** gbastien has quit IRC
02:21:58 *** morristic has joined #openmrs
02:53:32 *** deadpool has joined #openmrs
04:03:39 *** morristic has quit IRC
04:11:55 *** deadpool_ has joined #openmrs
04:49:33 *** deadpool_ has quit IRC
05:13:30 *** deadpool_ has joined #openmrs
06:15:53 *** deadpool_ has quit IRC
06:50:48 *** deadpool has joined #openmrs
06:51:19 <deadpool> wyclif: can you help me on an installation problem
06:56:06 *** bwolfe has joined #openmrs
06:56:06 *** ChanServ sets mode: +o bwolfe
07:00:50 *** dkayiwa has joined #openmrs
07:04:18 <deadpool> bwolfe: i have an installation error the installation wizard stops at update the database at 89% and won't go any further i have tried reinstalling and doing it and it still stops in the same place. It stops at Updating database tables to latest version(304.340: Author:wyclif
07:04:49 <deadpool> comments Dropping foreign key constraint concept_name_tag_map.concept_natm_tag_id
07:05:08 <deadpool> any ideas on how to proceed?
07:05:12 <bwolfe> deadpool, is that a copy/paste?
07:05:22 <bwolfe> deadpool, try running 1.8.x branch or an earlier version of trunk
07:05:36 <bwolfe> deadpool, and open a ticket or ask the dev list about it
07:05:38 <deadpool> i am using the latest stable release
07:05:40 <bwolfe> perhaps wyclif can fix it soon
07:05:52 <bwolfe> deadpool, 1.8.2 ? (or are we on 3?)
07:05:58 *** dkayiwa has quit IRC
07:06:51 <deadpool> 1.8.2 enterprise package
07:07:37 <deadpool> bwolfe: i am also using jetty instead of tomcat6 because tomcat has some memory problems which i don't want
07:07:53 <deadpool> i am trying to deploy a system at a hospital and running into this error
07:09:41 <deadpool> bwolfe: should i ask wyclif ?
07:09:50 <bwolfe> dev list
07:10:59 <deadpool> send an e-mail?
07:11:57 <bwolfe> yes
07:12:04 <bwolfe> wyclif is sleeping at this point (or should be)
07:12:23 <bwolfe> be sure to give as many details as possible when you send hte email
07:13:11 <deadpool> ok bwolfe thanks
07:30:23 *** rafa has joined #openmrs
07:30:23 *** ChanServ sets mode: +v rafa
08:43:56 <deadpool> bwolfe: was there an update to 1.8.2?
09:57:54 <bwolfe> deadpool, I think there have been commits since then on the 1.8.x branch I think
10:13:35 *** deadpool has quit IRC
10:14:07 *** deadpool has joined #openmrs
10:20:41 *** pascal` has joined #openmrs
11:48:41 *** pascal`` has joined #openmrs
11:49:11 *** pascal` has quit IRC
12:02:23 *** pascal`` has quit IRC
12:15:23 *** pascal`` has joined #openmrs
12:32:43 *** bwolfe has quit IRC
12:34:05 *** rafa has quit IRC
13:44:00 *** deadpool has quit IRC
13:55:08 *** gbastien has joined #openmrs
14:00:28 *** deadpool has joined #openmrs
16:19:54 <deadpool> hey wyclif whenever you are free hopefully you can help me
16:20:18 <deadpool> i am having a problem installing openmrs i sent an e-mail to dev and all with the error log and stuff
16:25:22 *** bwolfe has joined #openmrs
16:25:22 *** ChanServ sets mode: +o bwolfe
16:48:13 *** bwolfe has quit IRC
16:50:43 *** deadpool has quit IRC
16:59:54 *** bwolfe has joined #openmrs
16:59:54 *** ChanServ sets mode: +o bwolfe
17:03:50 *** deadpool has joined #openmrs
17:12:04 *** chughgaurav has joined #openmrs
17:27:05 *** vlad___ has joined #openmrs
17:27:17 <vlad___> Hi
17:27:18 *** bwolfe has quit IRC
17:28:06 <vlad___> I was wondering if anyone could point me to the file that leads to this exception:
17:28:12 <vlad___> ERROR - Listener.contextInitialized(154) |2011-09-11 09:53:47,492| Got exception while starting up:
17:28:12 <vlad___> java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. Could not acquire change log lock. Currently locked by vladimir-bukhins-macbook-pro.local (fe80:0:0:0:6233:4bff:fe29:6e1f%6) since 9/6/11 11:02 AM
17:28:13 <vlad___> at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:577)
17:28:14 <vlad___> at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:256)
17:28:15 <vlad___> at org.openmrs.web.Listener.setupNeeded(Listener.java:170)
17:28:16 <vlad___> at org.openmrs.web.Listener.contextInitialized(Listener.java:142)
17:28:17 <vlad___> at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
17:28:18 <vlad___> at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
17:28:19 <vlad___> at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
17:28:21 <vlad___> at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
17:28:22 <vlad___> at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
17:28:23 <vlad___> at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110)
17:28:23 <vlad___> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
17:28:24 *** bwolfe has joined #openmrs
17:28:24 *** ChanServ sets mode: +o bwolfe
17:28:24 <vlad___> at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
17:28:25 <vlad___> at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
17:28:26 <vlad___> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
17:28:27 <vlad___> at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
17:28:28 <vlad___> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
17:28:29 <vlad___> at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
17:28:30 <vlad___> at org.mortbay.jetty.Server.doStart(Server.java:222)
17:28:31 <vlad___> at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
17:28:32 <vlad___> at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
17:28:32 <vlad___> at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:371)
17:28:33 <vlad___> at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:307)
17:28:34 <vlad___> at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:203)
17:28:35 <vlad___> at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
17:28:36 <vlad___> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
17:28:36 <vlad___> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
17:28:37 <vlad___> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
17:28:37 <vlad___> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
17:28:38 <vlad___> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
17:28:39 <vlad___> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
17:28:39 <vlad___> at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
17:28:40 <vlad___> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
17:28:41 <vlad___> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
17:28:41 <vlad___> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
17:28:42 <vlad___> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
17:28:42 <vlad___> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
17:28:43 <vlad___> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
17:28:43 <vlad___> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:28:50 *** bwolfe has quit IRC
17:30:11 <deadpool> vlad___: someprocess has locked the liquibase file and hasn't let go
17:30:18 <deadpool> you should reinstall
17:30:30 <vlad___> reinstall what?
17:30:50 <deadpool> openmrs
17:31:05 <deadpool> sorry not reinstall restart
17:31:29 <vlad___> I have restarded
17:31:52 <vlad___> My computer and openmrs
17:31:58 <deadpool> you killed tomcat and tried again?
17:32:07 <vlad___> Yep
17:32:09 <deadpool> what are you trying to do?
17:32:16 <vlad___> Just start the webapp
17:32:24 <deadpool> openmrs;
17:32:26 <vlad___> in eclipse
17:32:39 <deadpool> ah so then you are using jetty
17:32:44 <vlad___> yes
17:33:15 <deadpool> do you see the openmrs installation wizard?
17:33:57 <vlad___> Well- ive already run it on my machine before
17:34:14 <vlad___> but no http://127.0.0.1:8080/openmrs/index.htm doesnt show anything
17:34:36 <deadpool> so you have had it working
17:34:42 <vlad___> yes
17:35:00 <deadpool> vlad___: just for future reference paste your error codes and all that in pastebin.com
17:35:06 <deadpool> don't put it here
17:35:18 <deadpool> what did you do different
17:35:23 <vlad___> Yeah, im really sorry about that
17:35:43 <vlad___> I didn't do anything different. There is a chance I changed some sys permissions
17:35:52 <deadpool> hmmm...
17:37:14 <vlad___> i changed my .bashrc and .bash_profile
17:37:57 <deadpool> it could be that when you did that you probably should change the tomcat/openmrs permission so you can use it
17:38:24 <vlad___> Yes, maybe- any idea how i can do that?
17:38:26 <deadpool> other than that i don't know what else to do sorry
17:38:50 <deadpool> chown username pathtotomcat
17:38:57 <deadpool> i think i am not sure how to do it in a mac
17:40:42 <deadpool> or if all else fails do a complete reinstall
17:40:46 <vlad___> here is what happens in my console:
17:40:48 <vlad___> http://pastebin.com/LYCN19L4
17:41:09 <vlad___> could it still be that its tomcat permissions?
17:42:49 <vlad___> and here is the script i ran that could have changed things: http://pastebin.com/pkPnPYym
17:48:02 <vlad___> Thoughts?
17:57:26 <deadpool> vlad___: not too sure
17:57:37 <deadpool> try changing the permissions back and see if that works
17:57:48 *** gbastien has quit IRC
17:57:54 <deadpool> or kill what ever process that is holding the changlock
18:01:09 <vlad___> right, so any idea how to find the process that is holding the chg lock?
18:02:27 <deadpool> do a process check to see what user process is being used by vladimir-bukhins-macbook-pro.local
18:02:51 <deadpool> and kill whatever process is being used by that and see if openmrs works
18:15:22 *** chughgaurav has quit IRC
18:19:59 *** vlad___ has quit IRC
18:38:56 *** deadpool has quit IRC
18:45:15 *** gbastien has joined #openmrs
19:04:45 *** dkayiwa has joined #openmrs
20:29:53 *** pascal`` has quit IRC
20:32:04 *** dkayiwa has quit IRC
21:06:41 *** vlad__ has joined #openmrs
21:48:48 *** gbastien has quit IRC
22:27:44 *** vlad__ has quit IRC