Page 1 of 1

[Fixed] Directory 'C:\ProgramData\Unimus' can not be created

Posted: Sun Nov 13, 2016 5:06 am
by murmaider
Hi,

When running unimus on Windows Server 2012 R2 as Administrator, I get the error:

Directory 'C:\ProgramData\Unimus' can not be created - please check permissions or path availability.

Yet Unimus has in fact created this directory successfully.
https://dl.dropboxusercontent.com/u/105 ... 0error.PNG
Image

Re: Directory 'C:\ProgramData\Unimus' can not be created

Posted: Sun Nov 13, 2016 12:25 pm
by Tomas
Found the issue. I have released a hotfix, please download 0.2.3 again.

Delete 'C:\ProgramData\Unimus' and run Unimus.exe again, and it should now work.
If it still doesnt, please let us know.

Re: [Fixed] Directory 'C:\ProgramData\Unimus' can not be created

Posted: Tue Nov 15, 2016 4:24 am
by murmaider
I can confirm that it's now working.

Re: [Fixed] Directory 'C:\ProgramData\Unimus' can not be created

Posted: Tue Nov 15, 2016 9:14 pm
by jjonesjr
I was getting the same error with the programdata problem and the following. Now I just get the following. Ideas?

Code: Select all

   ___   ___          _
  /  /  /  / ____    (_) ____ ___    __  __  _____
 /  /  /  / / __ \  / / / __ `__ \  / / / / / ___/
/  /__/  / / / / / / / / / / / / / / /_/ / (__  )
\___,___/ /_/ /_/ /_/ /_/ /_/ /_/  \__,_/ /____/

:: ? 2016 Unimus group :: version 0.2.3 ::

2016-11-15 15:11:10.468  INFO 2568 --- [           main] net.unimus.Application                   : Starting Application v0.2.3 on P1KC-NETXMS with PID 2568 (C:\Unimus\Unimus.exe started by jimj in C:\Unimus)
2016-11-15 15:11:10.484  INFO 2568 --- [           main] net.unimus.Application                   : The following profiles are active: together,win,jar
2016-11-15 15:11:13.656  WARN 2568 --- [           main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2016-11-15 15:11:15.531  INFO 2568 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8085 (http)
2016-11-15 15:11:25.249  INFO 2568 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8085 (http)
2016-11-15 15:11:25.265  INFO 2568 --- [           main] net.unimus.Application                   : Started Application in 15.89 seconds (JVM running for 16.474)

Re: [Fixed] Directory 'C:\ProgramData\Unimus' can not be created

Posted: Tue Nov 15, 2016 9:29 pm
by Tomas
jjonesjr wrote:I was getting the same error with the programdata problem and the following. Now I just get the following. Ideas?

Code: Select all

   ___   ___          _
  /  /  /  / ____    (_) ____ ___    __  __  _____
 /  /  /  / / __ \  / / / __ `__ \  / / / / / ___/
/  /__/  / / / / / / / / / / / / / / /_/ / (__  )
\___,___/ /_/ /_/ /_/ /_/ /_/ /_/  \__,_/ /____/

:: ? 2016 Unimus group :: version 0.2.3 ::

2016-11-15 15:11:10.468  INFO 2568 --- [           main] net.unimus.Application                   : Starting Application v0.2.3 on P1KC-NETXMS with PID 2568 (C:\Unimus\Unimus.exe started by jimj in C:\Unimus)
2016-11-15 15:11:10.484  INFO 2568 --- [           main] net.unimus.Application                   : The following profiles are active: together,win,jar
2016-11-15 15:11:13.656  WARN 2568 --- [           main] o.s.c.a.ConfigurationClassPostProcessor  : Cannot enhance @Configuration bean definition 'com.vaadin.spring.VaadinConfiguration' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2016-11-15 15:11:15.531  INFO 2568 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8085 (http)
2016-11-15 15:11:25.249  INFO 2568 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8085 (http)
2016-11-15 15:11:25.265  INFO 2568 --- [           main] net.unimus.Application                   : Started Application in 15.89 seconds (JVM running for 16.474)
Thats a normal startup, Unimus should repond on http://localhost:8085 now (change localhost to server IP if connecting remotely).

Re: [Fixed] Directory 'C:\ProgramData\Unimus' can not be created

Posted: Tue Nov 15, 2016 10:41 pm
by jjonesjr
Yep, thanks. That was a case of HUA for me.

I added the application c:\unimus\unimus.exe as the windows firewall exception.... Should have been java that was allowed. So I just allowed TCP8085.

Also, for running it as a service I found this: http://nssm.cc/ It works like a champ.

Thanks!

Jim