Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snmp agent not working #119

Open
mstoffel-sag opened this issue Jun 4, 2024 · 0 comments
Open

snmp agent not working #119

mstoffel-sag opened this issue Jun 4, 2024 · 0 comments

Comments

@mstoffel-sag
Copy link
Member

When I start the latest development version 0eca56f
of snmp-agent-gateway using java 11 I get:

un 04 13:33:17 rpi3-b827eb596700 start[5190]: . ____ _ __ _ _
Jun 04 13:33:17 rpi3-b827eb596700 start[5190]: /\ / ' __ _ () __ __ _ \ \ \
Jun 04 13:33:17 rpi3-b827eb596700 start[5190]: ( ( )_
_ | '_ | '| | ' / ` | \ \ \
Jun 04 13:33:17 rpi3-b827eb596700 start[5190]: \/ )| |)| | | | | || (| | ) ) ) )
Jun 04 13:33:17 rpi3-b827eb596700 start[5190]: ' |
| .__|| ||| |_, | / / / /
Jun 04 13:33:17 rpi3-b827eb596700 start[5190]: =========|
|==============|/=////
Jun 04 13:33:17 rpi3-b827eb596700 start[5190]: :: Spring Boot :: (v2.7.17)
Jun 04 13:33:18 rpi3-b827eb596700 start[5190]: log4j:WARN No appenders could be found for logger (org.jboss.logging).
Jun 04 13:33:18 rpi3-b827eb596700 start[5190]: log4j:WARN Please initialize the log4j system properly.
Jun 04 13:33:18 rpi3-b827eb596700 start[5190]: 2024-06-04 13:33:18.769 INFO 5190 --- [ main] com.cumulocity.agent.snmp.SnmpGateway : Starting SnmpGateway using Java 11.0.23 >
Jun 04 13:33:18 rpi3-b827eb596700 start[5190]: 2024-06-04 13:33:18.855 INFO 5190 --- [ main] com.cumulocity.agent.snmp.SnmpGateway : No active profile set, falling back to 1>
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: 2024-06-04 13:33:28.211 WARN 5190 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context ini>
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: 2024-06-04 13:33:28.343 INFO 5190 --- [ main] ConditionEvaluationReportLoggingListener :
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: 2024-06-04 13:33:28.745 ERROR 5190 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: ***************************
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: APPLICATION FAILED TO START
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: ***************************
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: Description:
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: The dependencies of some of the beans in the application context form a cycle:
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: deviceCredentialsStore defined in URL [jar:file:/usr/lib/snmp-agent-gateway/snmp-agent-gateway.jar!/BOOT-INF/classes!/com/cumulocity/agen>
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: ┌─────┐
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: | gatewayProperties (field private com.cumulocity.agent.snmp.config.GatewayProperties$BootstrapProperties com.cumulocity.agent.snmp.config.>
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: ↑ ↓
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: | com.cumulocity.agent.snmp.config.GatewayProperties$BootstrapProperties
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: └─────┘
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: Action:
Jun 04 13:33:28 rpi3-b827eb596700 start[5190]: Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle b>
Jun 04 13:33:28 rpi3-b827eb596700 systemd[1]: snmp-agent-gateway.service: Main process exited, code=exited, status=1/FAILURE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant