confluence迁移后文件打不开_confluence和jira重启动后confluence启动报错,打不开网页...
重启了jira和confluence服务
jira服务正常,网页正常访问,confluence端口是通的,ping IP,ping域名都通,就是打不开网页,报404
cd /home/confluence/logs
tail -f catalina.out 等待查看启动日志
新打开一个服务器ssh连接
cd /home/confluence/bin
./stop-confluence.sh #停止之前的服务,
ps -ef 查看进程是否存在,如果还存在kill -9 进程号
#等待查看日志的连接会显示出关闭服务的日志,回车空出行,方便看下面的启动日志
./start-confluence.sh #启动服务同时查看
查看启动日志#这里就略了,一脸懵,报错查了很多没什么用
重点:网上查到了说启动的日志不是那么详细,需要在这个目录下/home/confluence/confluence/WEB-INF/classes新建logging.properties,添加配置文件
cd /home/confluence/bin
./stop-confluence.sh #先停止服务
cd /home/confluence/confluence/WEB-INF/classes
ls查看到已经包含了logging.properties这个文件,那就把里面配置直接注释了,添加上搜索到的配置
vi logging.properties
#略
#略
#略
##新的配置文件
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = error-debug.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter
保存
cd /home/confluence/bin
./start-confluence.sh #启动服务
同时查看启动日志,日志老多了。。。。。。。
找到日志中SEVERE代表严重,其他的INFO信息,WARNING警告就先不看了
SEVERE: Exception starting filter legacyRemoteApiEventPublishingFilter
#严重:异常启动过滤器legacyRemoteApiEventPublishingFilter
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hostComponentProvider‘: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.atlassian.plugin.spring.SpringHostComponentProviderFactoryBean.setSpringHostComponentProviderConfig(com.atlassian.plugin.spring.SpringHostComponentProviderConfig); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bundledPluginLoader‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPluginFactory‘ while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPluginFactory‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPersistentCache‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPersistentCache‘: FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException:Unable to clean the cache directory: /mnt/atlassian/confluence/plugins-osgi-cache/felix
#标红的重点:无法清理缓存目录:/mnt/atlassian/confluence/plugins-osgi-cache/felix
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘cacheStatisticsManager‘ defined in class path resource [services/cacheServiceContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ehCacheStatisticsManager‘ defined in URL [jar:file:/home/confluence/webapps/../confluence/WEB-INF/lib/confluence-cache-ehcache-6.4.0.jar!/cacheProviderContext.xml]: Cannot resolve reference to bean ‘userI18NBeanFactory‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userI18NBeanFactory‘ defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean ‘localeManager‘ while setting bean property ‘localeManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘localeManager‘ defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean ‘languageManager‘ while setting bean property ‘languageManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘languageManager‘ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘settingsManager‘ while setting bean property ‘settingsManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘settingsManager‘ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘upgradeManager‘ while setting bean property ‘upgradeManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘upgradeManager‘ defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean ‘conditionallyEnableMailArchivePluginUpgradeTask‘ while setting bean property ‘pluginDependentUpgradeTasks‘ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘conditionallyEnableMailArchivePluginUpgradeTask‘ defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean ‘pluginController‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginController‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘pluginManager‘ while setting bean property ‘pluginController‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginManager‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘pluginLoaders‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginLoaders‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘bundledPluginLoader‘ while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bundledPluginLoader‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPluginFactory‘ while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPluginFactory‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPersistentCache‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPersistentCache‘: FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException:Unable to clean the cache directory: /mnt/atlassian/confluence/plugins-osgi-cache/felix
#又一次看到
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘databasePluginLoader‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘databasePluginLoaderTarget‘ while setting bean property ‘target‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘databasePluginLoaderTarget‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPluginFactory‘ while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPluginFactory‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPersistentCache‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPersistentCache‘: FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: /mnt/atlassian/confluence/plugins-osgi-cache/felix
#又出现了
cd /mnt/atlassian/confluence/plugins-osgi-cache/felix
ls
felix-cache #存在目录
cd felix-cache
ls
应该是要清理这些缓存,上网在搜一下,有相似的就是把它们都删了,在启动服务,保险起见先打个包往出拷一份再删
cd /home/confluence/bin
./stop-confluence.sh
cd /mnt/atlassian/confluence/plugins-osgi-cache/felix
tar -czf felix-cache.tar.gz felix-cache/
sz felix-cache.tar.gz #考到我的本地电脑里
rm -rf felix-cache
cd /home/confluence/bin
./start-confluence.sh
启动成功后,浏览网页打开了,整了两天。。。
原文:https://www.cnblogs.com/gz-eternity/p/9359783.html
confluence迁移后文件打不开_confluence和jira重启动后confluence启动报错,打不开网页...相关推荐
- 如何解决word文档报错打不开呢?
在日常办公中,会经常使用到word文档.有时,在我们的电脑上会不小心将两个不同的文件保存在同一个群集中.这样导致文件是交叉链接的,致使我们经常会收到一个错误提示.此外,由于病毒或数据损坏而误删除文件很 ...
- word文档报错打不开要如何处理呢?
当我们在使用Word文档时,最麻烦的就是程序崩溃.在这种情况下,可能会出现不同的故障信息.不可读的字符或者奇怪的文档格式层出不穷.说明你的文件可能损坏了,就需要修复文件.如果小伙伴们再次尝试启动Wor ...
- word报错打不开的解决方法
对于办公人员来说,word是日常办公中最常用的软件,根本就是离不开的.但有时需要Word删除表格的保留内容,有时反过来又需要删除Word的保留形式.一旦操作了出现word出现打不开或者出现一些异常现象 ...
- IDEA双击不报错打不开解决方法
IDEA双击不报错打不开解决方法 今天破解IDEA时修改Edit Custom VM Option那里出现问题,可能是因为有中文路径的原因,也可能是参数设置错误导致IDEA打不开的问题,没有报错,点击 ...
- ftl转word,word文件报错打不开
问题:首先排除ftl文件问题,因为仅某个生成word有问题,后台也没有报任何异常.通过跟正常数据对比,发现报错的那条数据包含<>特殊符号,将<>去除后就能正常导出word文件. ...
- zabbix服务器没有.pid文件,PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 报错解决...
报错如下: [root@localhost zabbix]# systemctl start zabbix-server Job for zabbix-server.service failed be ...
- linux怎么安装.pl文件,浅谈如何解决perl Makefile.PL、make install 安装报错问题
在Linux上使用tar软件包安装软件的一种非常常见的安装方法, 在前面的" Linux专栏"中,如何管理Linux上与tar打包在一起的应用程序软件? 小编还专门介绍了它. 尽管 ...
- 【Android NDK 开发】NDK C/C++ 代码崩溃调试 - Tombstone 报错信息日志文件分析 ( 使用 addr2line 命令行工具查找动态库中的报错代码位置 )
文章目录 一.从 Tombstone 报错日志中查找报错动态库 二.addr2line 命令行工具使用 64 位动态库使用的 aarch64-linux-android-addr2line.exe 工 ...
- phpstudy访问不了php_初接触php,使用phpstudy运行php文件,访问路径中不能携带.php尾缀,否则报错...
使用phpstudy运行php文件,路径中不能携带.php尾缀,否则报错 直接使用one可以访问,这个是控制层出问题吗 这个是控制层代码 class one extends General_contr ...
最新文章
- R语言使用ggpubr包绘制出版社、编辑、审稿人要求的可视化图形实战
- Tablecontrol动态序号实现
- java实现语法分析器_语法分析 | 语法分析的任务
- 利用CSS让元素垂直居中的两种实现方法
- asp.net中关于静态页面生成的代码实例
- FreeMarker模板文件的组成(2)
- 为什么需要Redis 集群
- Exchange2003-2010迁移系列之二,迁移前的准备工作(上)
- 7月Chrome谷歌浏览器份额以68.60%位居榜首
- 5. Linux 设备文件名
- 【MySQL】Could not initialize master info structure
- unixlinux命令,20个 Unix/Linux 命令技巧
- 为什么项目经理比程序员工资高?
- Docker 目录/var/lib/docker/containers文件过大
- 在线读书——孙天泽(嵌入式设计及Linux驱动开发指南——基于ARM9处理器)
- TomCat报404错误是什么原因?该怎么解决?
- 新增诊所19804家 | 私营诊所要如何主动?才能被患者选择
- 防疫与复工同行,长沙望城进入“双统筹”的关键时刻
- 万春布林和恒瑞医药达成深度战略合作;方达控股、基石药业、天演药业发布最新业绩 | 医药健闻...
- solr8.3集群配置