GitHub user JustUse added a comment to the discussion: 
cloudstack-agent-4.19.1.0  run error  ,Unable to find the guid

> @JustUse , the text "Unable to find the guid" occurs only in exceptions that 
> should be logged more extensively to see the stacktrace. Could you edit the 
> log4j.xml file to up the loglevel, please?
> 
> Did you start the agent with that command or use the initscript (or add it in 
> cloudstack first)?

`sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml`

[Turn the agent log level to 
debug](https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug
)

[root@cloudstack ~]# /usr/bin/java 
-Djava.io.tmpdir=/usr/share/cloudstack-agent/tmp -Xms256m -Xmx2048m -cp 
/usr/share/cloudstack-agent/lib/*:/usr/share/cloudstack-agent/plugins/*:/etc/cloudstack/agent:/usr/share/cloudstack-common/scripts
 com.cloud.agent.AgentShell
log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
INFO  [cloud.agent.AgentShell] (main:) (logid:) Agent started
INFO  [cloud.agent.AgentShell] (main:) (logid:) Implementation Version is 
4.19.1.0
INFO  [cloud.agent.AgentShell] (main:) (logid:) agent.properties found at 
/etc/cloudstack/agent/agent.properties
DEBUG [agent.properties.AgentPropertiesFileHandler] (main:) (logid:) Property 
[host] was altered. Now using the value [localhost].
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
DEBUG [agent.properties.AgentPropertiesFileHandler] (main:) (logid:) Property 
[guid] has empty or null value. Using default value [null].
DEBUG [agent.properties.AgentPropertiesFileHandler] (main:) (logid:) Property 
[developer] has empty or null value. Using default value [false].
Unable to find the guid

GitHub link: 
https://github.com/apache/cloudstack/discussions/9517#discussioncomment-10322297

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to