我在linux机器上运行api管理器。我重新启动了,现在它不会再出现了。我一直收到以下与redis服务器相关的错误。我确实重新启动了几次,但还是出现了同样的错误。所有附加组件都本地安装在同一台计算机上。知道是怎么回事吗?
[ERROR] 2019-11-10 20:27:07.635 [main] GrootServer - Unable to start Config service. Please refer apimanager-exception.log for more details.
com.adobe.amp.spi.ServiceException: Unable to start Config service. Please refer apimanager-exception.log for more details.
at com.adobe.amp.GrootServer.startService(GrootServer.java:318) ~[apim-core.jar:?]
at com.adobe.amp.GrootServer.initializeAndStartService(GrootServer.java:327) ~[apim-core.jar:?]
at com.adobe.amp.GrootServer.startConfigService(GrootServer.java:290) ~[apim-core.jar:?]
at com.adobe.amp.GrootServer.startAllServices(GrootServer.java:161) ~[apim-core.jar:?]
at com.adobe.amp.GrootServer.start(GrootServer.java:116) [apim-core.jar:?]
at com.adobe.amp.GrootServer.main(GrootServer.java:397) [apim-core.jar:?]
Caused by: com.adobe.amp.spi.ServiceException: Not able to connect to Datastore service.
at com.adobe.amp.DefaultConfigurationPopulator.readDefault(DefaultConfigurationPopulator.java:104) ~[apim-config.jar:?]
at com.adobe.amp.DefaultConfigurationPopulator.populateDefaultConfig(DefaultConfigurationPopulator.java:63) ~[apim-config.jar:?]
at com.adobe.amp.ConfigServiceImpl.loadDefaultSetting(ConfigServiceImpl.java:234) ~[apim-config.jar:?]
at com.adobe.amp.ConfigServiceImpl.startService(ConfigServiceImpl.java:107) ~[apim-config.jar:?]
at com.adobe.amp.spi.AbstractService.start(AbstractService.java:47) ~[apim-spi.jar:?]
at com.adobe.amp.GrootServer.startService(GrootServer.java:313) ~[apim-core.jar:?]
... 5 more
Caused by: com.adobe.amp.spi.redis.RedisException: Could not get a resource from the pool
at com.adobe.amp.redis.RedisServiceImpl.handleCommand(RedisServiceImpl.java:229) ~[apim-config.jar:?]
at com.adobe.amp.redis.RedisServiceImpl.getSet(RedisServiceImpl.java:868) ~[apim-config.jar:?]
at com.adobe.amp.DefaultConfigurationPopulator.readDefault(DefaultConfigurationPopulator.java:102) ~[apim-config.jar:?]
at com.adobe.amp.DefaultConfigurationPopulator.populateDefaultConfig(DefaultConfigurationPopulator.java:63) ~[apim-config.jar:?]
at com.adobe.amp.ConfigServiceImpl.loadDefaultSetting(ConfigServiceImpl.java:234) ~[apim-config.jar:?]
at com.adobe.amp.ConfigServiceImpl.startService(ConfigServiceImpl.java:107) ~[apim-config.jar:?]
at com.adobe.amp.spi.AbstractService.start(AbstractService.java:47) ~[apim-spi.jar:?]
at com.adobe.amp.GrootServer.startService(GrootServer.java:313) ~[apim-core.jar:?]
... 5 more发布于 2019-11-17 12:56:34
好吧,我想通了。看起来config.xml有不同的redis服务器地址。我将其更新回本地127.0.0.1,Bingo它可以工作。愚蠢的事情是即使你跑了。/apimanger启动skipaddon。它仍在尝试验证redis服务器
https://stackoverflow.com/questions/58897547
复制相似问题