cancel
Showing results for 
Search instead for 
Did you mean: 

Installation problem with postgre

kruger
Champ in-the-making
Champ in-the-making
Hi all. I try to install alfresco comunity 4.2c to windows 7 x32(for tests) but I keep getting this error on the last step of installation:
Installation may not complete correctly Error running Alfresco\POSTGR~1\scripts\servicerun.bat NET HELPMSG 3521.
Wich means service is not running.
After this error I can`t login to Alfresco, beco\ause passowrd is wrong or the db is not responding.

So this is a re-install for me. Alfresco worked before, but then a deleted it and now I can`t install it again. I tryed switching ports from 8080, reboot -reinstall, installing postgresql and then start alfresco installer, cleaning registry, deleteing postgres user on unninstall and other stuff to clean the system.
Nothing works.

I bellieve its postgre problem and I need help
5 REPLIES 5

abarisone
Star Contributor
Star Contributor
Hi,
it would be useful t have your log files to have a look of what's going on.
Also be sure to wipe out all tables built on the postGRE instance.

Regards,
Andrea

kruger
Champ in-the-making
Champ in-the-making
Unfortunatly I do not know how to check alfresco log files.
According to this https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgra...
It says "try running the install and run .bat script files from a command prompt (cmd) in the c:\alfresco directory."
But I dont have any bat scripts in parent alfresco dir. The script located in alfresco/scripts didnt helped also.

kruger
Champ in-the-making
Champ in-the-making
found it:
14:42:03,405 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
14:42:03,438 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
14:42:20,600 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
14:42:20,613 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
14:42:20,627 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiUrlHelper' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unable to construct valid Sharepoint URL.
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalArgumentException: Unable to construct valid Sharepoint URL.
   at org.alfresco.module.vti.handler.alfresco.DefaultUrlHelper.getExternalURL(DefaultUrlHelper.java:79)
   at org.alfresco.module.vti.handler.alfresco.DefaultUrlHelper.afterPropertiesSet(DefaultUrlHelper.java:157)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
   … 27 more
Caused by: java.net.URISyntaxException: Illegal character in hostname at index 13: http://Kruger-ПК:7070/alfresco
   at java.net.URI$Parser.fail(URI.java:2829)
   at java.net.URI$Parser.parseHostname(URI.java:3357)
   at java.net.URI$Parser.parseServer(URI.java:3217)
   at java.net.URI$Parser.parseAuthority(URI.java:3136)
   at java.net.URI$Parser.parseHierarchical(URI.java:3078)
   at java.net.URI$Parser.parse(URI.java:3034)
   at java.net.URI.<init>(URI.java:680)
   at org.alfresco.module.vti.handler.alfresco.DefaultUrlHelper.getExternalURL(DefaultUrlHelper.java:75)
   … 30 more

Any tips?)

kruger
Champ in-the-making
Champ in-the-making
Language problem with comp name as far as I can read. Will try to change it and re-install

kruger
Champ in-the-making
Champ in-the-making
After another install I got the same error. But I was able to login to alfresco via admin password.
(the main problem was that I cant login aftre fresh install of alfresco)
Thanks to Andrea for pushing toward finding the log file and reading it Smiley Happy