04.05.2021 10:49
василий вьюнов
 
подскажите как настроить wi fi клиентом? /etc/network/interfaces в этом файлике видимо режим клиент или точка доступа не меняется
04.05.2021 11:43
OlegON
 
OlegON:
Убедительная просьба, вопросы по Linux и прочую теорию задавайте в отдельных темах, чтобы не замусоривать эту. Тут только сами сборки.
17.05.2021 13:07
kostin
 
Прошивал хаб прошивкой из этой темы ("nand_4.2.0-utm_2403.img").
Всё хорошо, но похоже, что УТМ4 на хабе не умеет писать кириллицу в логи.
Вернее вся кириллица перекодируется в знаки вопроса.

Для примера
/opt/utm/transport/l/transport_info.log на хабе:
2021-05-17 10:40:55,074 INFO ru.centerinform.transport.pki.key.KeyMaster - ?????? ???? ?????-????? [0:Rutoken ECP ]
Причём ? это действительно знаки вопроса безо всяких кодировок (3F Hex).

C:\UTM\transporter\l\transport_info.log под Windows (В кодировке UTF-8):
2021-05-17 11:19:08,924 INFO ru.centerinform.transport.pki.key.initialize.TokenInitializer - Найден слот смарт-карты
[0:Rutoken ECP ]

Настроек для кодировок в УТМ не нашёл...

Собственно вопрос. Это у всех так или есть какое-то решение проблемы?
18.05.2021 16:11
nikollay23rus
 
Добрый день, хочу выразить огромное спасибо автору сборки! Без него, эти все хабы превратились бы в металолом, а так у них теперь появилась вторая жизнь.
По поводу вопросиков аналогичная ситуация. Я в линуксе не астроном, поэтому прошу помощи как это исправить. Пробовал расшаривать папку и открывать под виндой, результат тот же
19.05.2021 13:49
newkid
 
Есть такая проблема, пока не понял почему, кирилические локали установленны. Тот же deb пакет установленый в малине работает нормально.
20.05.2021 15:32
nikollay23rus
 
Уважаемые коллеги, прошу еще помощи в одном вопросе. У атола были кнопки "Удалить БД документов" и "Удалить БД УТМ", периодически приходилось ими пользоваться, тк переставала работать web морда или например когда сменилась организация, то для того что бы не прошивать железку достаточно было снести базы и вставить новый ключ. Понимаю что все от утм хранится в /opt/utm, и как бы логично сначала остановить службу, потом удалить, что нужно,но как грамотно это сделать и, что именно удалить.
20.05.2021 17:59
newkid
 
Цитата:
nikollay23rus Уважаемые коллеги, прошу еще помощи в одном вопросе. У атола были кнопки "Удалить БД документов" и "Удалить БД УТМ", периодически приходилось ими пользоваться, тк переставала работать web морда или например когда сменилась организация, то для того что бы не прошивать железку достаточно было снести базы и вставить новый ключ. Понимаю что все от утм хранится в /opt/utm, и как бы логично сначала остановить службу, потом удалить, что нужно,но как грамотно это сделать и, что именно удалить.
Код:
для утм-4

sudo supervisorctl stop utm
sudo rm -rf /opt/utm/transport/transportDB
sudo rm -rf /opt/utm/transport/xml
sudo supervisorctl start utm
24.05.2021 10:55
nikollay23rus
 
Добрый день, нужна помощь, работал себе спокойно Hub-19 на утм 4 и тут его перезагрузили по питанию, и больше сам утм не запускается в логах пишет:
00F0: 6C 79 1A 0D DD D7 71 D8 5A DA 33 DD 92 E2 1E 05 ly....q.Z.3.....

]
2021-05-24 10:51:15,086 INFO ru.centerinform.transport.pki.key.KeyMaster - ???????? CRL
2021-05-24 10:52:19,143 INFO ru.centerinform.transport.backbone.config.DatabaseConfig - FSRAR_ID: [цифры]
2021-05-24 10:52:23,426 WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Unsatisfied dependency expressed through method 'flywayInitializer' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [ru/centerinform/transport/backbone/config/DatabaseConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: Failed to start database '/opt/utm/transport/transportDB' with class loader sun.misc.Launcher$AppClassLoader@110406, see the next exception for details.
2021-05-24 10:52:23,551 INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2021-05-24 10:52:23,719 INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener -

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-05-24 10:52:24,025 ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Unsatisfied dependency expressed through method 'flywayInitializer' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [ru/centerinform/transport/backbone/config/DatabaseConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: Failed to start database '/opt/utm/transport/transportDB' with class loader sun.misc.Launcher$AppClassLoader@110406, see the next exception for details.
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1179)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1159)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
at ru.centerinform.transport.backbone.Transport.main(Transport.java:18)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [ru/centerinform/transport/backbone/config/DatabaseConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.sql.SQLException: Failed to start database '/opt/utm/transport/transportDB' with class loader sun.misc.Launcher$AppClassLoader@110406, see the next exception for details.
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1179)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
... 21 common frames omitted

Прошу прощения не знаю как правильно оформить лог
24.05.2021 11:28
nikollay23rus
 
Решилось описанной выше инструкцией, но все равно не понятно почему так случилось

Цитата:
newkid
Код:
для утм-4

sudo supervisorctl stop utm
sudo rm -rf /opt/utm/transport/transportDB
sudo rm -rf /opt/utm/transport/xml
sudo supervisorctl start utm
24.05.2021 11:35
OlegON
 
Цитата:
nikollay23rus его перезагрузили по питанию
Цитата:
nikollay23rus java.sql.SQLException: Failed to start database '/opt/utm/transport/transportDB'
Цитата:
nikollay23rus не понятно почему так случилось
что же непонятного-то...
дайте ему бесперебойник... без него и работает сама железка менее стабильно, да еще и помирать будет периодически...
Часовой пояс GMT +3, время: 08:13.

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.