Не запускается контроллер Unifi | Ubiquiti форум UBNT: инструкции, настройка

Не запускается контроллер Unifi

EnZo

новичок
14 Янв 2014
14
0
0
Где бы ни ставил контроллер - везде после долгого старта выдаёт сообщение startup-filed.

Ставил на Windows Server 2008 R2, Windows Server 2012 R2, Windows 8.1 Pro (на чистых операционках).

Версия контроллера 2.4.6. Версия Явы 7.45.

Лог mongod.log

Код:
Tue Jan 14 13:23:16 [initandlisten] MongoDB starting : pid=2848 port=27117 dbpath=C:\Users\Администратор\Ubiquiti UniFi\data\db 64-bit host=UNIFI-VS
Tue Jan 14 13:23:16 [initandlisten] db version v2.0.1, pdfile version 4.5
Tue Jan 14 13:23:16 [initandlisten] git version: 3a5cf0e2134a830d38d2d1aae7e88cac31bdd684
Tue Jan 14 13:23:16 [initandlisten] build info: windows (6, 1, 7601, 2, 'Service Pack 1') BOOST_LIB_VERSION=1_42
Tue Jan 14 13:23:16 [initandlisten] options: { bind_ip: "127.0.0.1", dbpath: "C:\Users\Администратор\Ubiquiti UniFi\data\db", logappend: true, logpath: "logs/mongod.log", nohttpinterface: true, port: 27117 }
Tue Jan 14 13:23:16 [initandlisten] journal dir=C:/Users/Администратор/Ubiquiti UniFi/data/db/journal
Tue Jan 14 13:23:16 [initandlisten] recover : no journal files present, no recovery needed
Tue Jan 14 13:23:16 [initandlisten] info preallocateIsFaster couldn't run; returning false
Tue Jan 14 13:23:16 [initandlisten] exception in initAndListen: 13518 couldn't open file C:/Users/Администратор/Ubiquiti UniFi/data/db/journal/j._0 for writing errno:3 Системе РЅРµ удается найти указанный путь., terminating
Tue Jan 14 13:23:16 dbexit: 
Tue Jan 14 13:23:16 [initandlisten] shutdown: going to close listening sockets...
Tue Jan 14 13:23:16 [initandlisten] shutdown: going to flush diaglog...
Tue Jan 14 13:23:16 [initandlisten] shutdown: going to close sockets...
Tue Jan 14 13:23:16 [initandlisten] shutdown: waiting for fs preallocator...
Tue Jan 14 13:23:16 [initandlisten] shutdown: lock for final commit...
Tue Jan 14 13:23:16 [initandlisten] shutdown: final commit...
Tue Jan 14 13:23:16 [initandlisten] shutdown: closing all files...
Tue Jan 14 13:23:16 [initandlisten] closeAllFiles() finished
Tue Jan 14 13:23:16 [initandlisten] journalCleanup...
Tue Jan 14 13:23:16 [initandlisten] removeJournalFiles
Tue Jan 14 13:23:16 [initandlisten] shutdown: removing fs lock...
Tue Jan 14 13:23:16 dbexit: really exiting now
Лог server.log

Код:
[2014-01-14 13:22:46,620] <main> INFO  system - BASE directory: C:\Users\Администратор\Ubiquiti UniFi
[2014-01-14 13:22:46,651] <launcher> WARN  system - *** Running for the first time, creating identity ***
[2014-01-14 13:22:46,948] <launcher> WARN  system - UUID: 1fc6391d-da0d-4a18-b689-b807b0c0b29d
[2014-01-14 13:22:47,010] <launcher> WARN  system - Generating Certificate[UniFi]... please wait...
[2014-01-14 13:22:47,870] <launcher> WARN  system - Certificate[UniFi] generated!
[2014-01-14 13:22:47,995] <launcher> WARN  system - ======================================================================
[2014-01-14 13:22:47,995] <launcher> WARN  system - UniFi 2.4.6 (build atag_2.4.6_1884 - release) is started
[2014-01-14 13:22:47,995] <launcher> WARN  system - ======================================================================
[2014-01-14 13:22:48,010] <launcher> WARN  system - BASE dir:C:\Users\Администратор\Ubiquiti UniFi
[2014-01-14 13:22:53,401] <AWT-EventQueue-0> ERROR LauncherUI - Initializing UniFi Controller ...
[2014-01-14 13:22:58,807] <Thread-3> ERROR LauncherUI - Starting UniFi Controller ...
[2014-01-14 13:22:59,479] <main> INFO  system - BASE directory: C:\Users\Администратор\Ubiquiti UniFi
[2014-01-14 13:22:59,526] <launcher> WARN  system - ======================================================================
[2014-01-14 13:22:59,526] <launcher> WARN  system - UniFi 2.4.6 (build atag_2.4.6_1884 - release) is started
[2014-01-14 13:22:59,526] <launcher> WARN  system - ======================================================================
[2014-01-14 13:22:59,526] <launcher> WARN  system - BASE dir:C:\Users\Администратор\Ubiquiti UniFi
[2014-01-14 13:23:07,260] <unifi> WARN  DigesterFactory - Could not get url for /javax/servlet/resources/j2ee_web_services_1_1.xsd
[2014-01-14 13:23:07,479] <unifi> WARN  DigesterFactory - Could not get url for /javax/servlet/resources/j2ee_web_services_1_1.xsd
[2014-01-14 13:23:12,385] <unifi> INFO  discover - started
[2014-01-14 13:23:14,198] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:23:16,245] <db-server> ERROR Object - [exec] error, rc=100, output=all output going to: logs/mongod.log
[2014-01-14 13:23:24,182] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:23:34,182] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:23:44,198] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:23:54,198] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:24:04,198] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:24:14,198] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:24:24,213] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:24:34,213] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:24:44,213] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:24:54,229] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:25:04,229] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:25:05,292] <Thread-3> ERROR LauncherUI - Server taking too long to start...
[2014-01-14 13:25:05,292] <AWT-EventQueue-0> ERROR LauncherUI - Start-up failed.
[2014-01-14 13:25:14,229] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:25:24,229] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:25:34,245] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:25:44,245] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:25:54,245] <discover> WARN  discover - DiscoveryHandler not initialized yet
[2014-01-14 13:26:04,260] <discover> WARN  discover - DiscoveryHandler not initialized yet
В чём может быть проблема?
 

ubnt.su

Administrator
1 Июн 2012
1.635
52
60
Писали много раз - явы до установки быть не должно!

Он сам поставит нужную ему версию. И обновления отключите!

Предыдущий пункт - да.
Установлен ТимВьювер.
Часто мешает Скайп.
 

vrough

новичок
6 Фев 2014
2
0
0
А если при установки контроллера она завершается с ошибкой на этапе установки jre_setup?
У меня тоже контроллер не хочет стартовать:
[2014-02-06 14:49:39,142] <main> INFO system - BASE directory: C:\Documents and Settings\admin\Ubiquiti UniFi
[2014-02-06 14:49:39,142] <launcher> WARN system - *** Running for the first time, creating identity ***
[2014-02-06 14:49:39,220] <launcher> WARN system - UUID: 60ca7cf5-c4d9-4294-be5f-d19b5fbbbc2f
[2014-02-06 14:49:39,236] <launcher> WARN system - Generating Certificate[UniFi]... please wait...
[2014-02-06 14:49:40,470] <launcher> WARN system - Certificate[UniFi] generated!
[2014-02-06 14:49:40,470] <launcher> WARN system - ======================================================================
[2014-02-06 14:49:40,470] <launcher> WARN system - UniFi 2.4.6 (build atag_2.4.6_1884 - release) is started
[2014-02-06 14:49:40,470] <launcher> WARN system - ======================================================================
[2014-02-06 14:49:40,486] <launcher> WARN system - BASE dir:C:\Documents and Settings\admin\Ubiquiti UniFi
[2014-02-06 14:49:40,876] <AWT-EventQueue-0> ERROR LauncherUI - Initializing UniFi Controller ...
[2014-02-06 14:49:45,157] <Thread-3> ERROR LauncherUI - Starting UniFi Controller ...
[2014-02-06 14:49:45,236] <UniFi> ERROR Object - [exec] error, rc=1, output=Error occurred during initialization of VMCould not reserve enough space for object heapError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.
[2014-02-06 14:49:50,189] <AWT-EventQueue-0> ERROR LauncherUI - Start-up failed.
[2014-02-06 14:49:57,032] <AWT-EventQueue-0> ERROR Catalina - Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:390)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:313)
at com.ubnt.ace.Launcher$o.do(Unknown Source)
at com.ubnt.ace.LauncherUI.int(Unknown Source)
at com.ubnt.ace.LauncherUI.return(Unknown Source)
at com.ubnt.ace.LauncherUI$7.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
 

Trash

новичок
7 Фев 2014
1
0
0
У меня было похожее - уже не помню точно какие ошибки.

Помогло отключение брандмауера или чего то в антивирусе. Может его брендмауера.
 

vrough

новичок
6 Фев 2014
2
0
0
Вообщем не любит он 2003 х86. На х64 запустилось, но не стартует как сервис виндовс. Это я пока еще точки не цеплял. Чувствую следующая неделя будет веселой ;-)
 

160562

новичок
20 Май 2014
1
0
0
4 точки UNIFI AP
Не запускается контроллер. Все версии java уже перепробовал ничего не помогает. Параметры памяти тоже всевозможные выставлял.
При установке -Xmx512m больше 950 даже не пытается стартовать сразу в ошибку кидает.
P.S. Есть второй сервер (идентичный на 100%), Windows 2003 сервер таже установка и все работает, правда не без шаманств.
Есть у кого какие мысли?

P.S.P.S. UNIFI Installer не устанавливает java!!! Скачивается в TEMP, Попытка запуска и установка прерывается.
перехватывал файл из TEMP он действительно оказывался битый. Установив сначало Java установка проходит успешно.

[2014-05-20 11:07:04,031] <main> INFO system - BASE directory: C:\Documents and Settings\Administrator\Ubiquiti UniFi
[2014-05-20 11:07:04,031] <launcher> WARN system - ======================================================================
[2014-05-20 11:07:04,031] <launcher> WARN system - UniFi 2.4.6 (build atag_2.4.6_1884 - release) is started
[2014-05-20 11:07:04,031] <launcher> WARN system - ======================================================================
[2014-05-20 11:07:04,046] <launcher> WARN system - BASE dir:C:\Documents and Settings\Administrator\Ubiquiti UniFi
[2014-05-20 11:07:04,171] <AWT-EventQueue-0> ERROR LauncherUI - Initializing UniFi Controller ...
[2014-05-20 11:07:08,625] <Thread-3> ERROR LauncherUI - Starting UniFi Controller ...
[2014-05-20 11:07:08,656] <UniFi> ERROR Object - [exec] error, rc=1, output=Error occurred during initialization of VMCould not reserve enough space for object heapError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.
[2014-05-20 11:07:13,656] <AWT-EventQueue-0> ERROR LauncherUI - Start-up failed.
[2014-05-20 11:07:18,375] <AWT-EventQueue-0> ERROR Catalina - Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:390)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:313)
at com.ubnt.ace.Launcher$o.do(Unknown Source)
at com.ubnt.ace.LauncherUI.int(Unknown Source)
at com.ubnt.ace.LauncherUI.return(Unknown Source)
at com.ubnt.ace.LauncherUI$7.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
 
Последнее редактирование:
1 Фев 2016
1
0
0
Добрый день.
Не запускается контроллер. Вот что в логе.

[2016-02-01 09:24:29,031] <http-8080-2> ERROR [InformServlet] - Servlet.service() for servlet InformServlet threw exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemService': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Timer already cancelled.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.config.java.context.JavaConfigApplicationContext.<init>(JavaConfigApplicationContext.java:80)
at com.ubnt.service.ServiceLocator.?00000(Unknown Source)
at com.ubnt.service.ServiceLocator.?00000(Unknown Source)
at com.ubnt.net.InformServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Unknown Source)
at java.util.Timer.schedule(Unknown Source)
at com.ubnt.service.system.SystemService.afterPropertiesSet(Unknown Source)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 30 more