Comments (8)
@lowenitt 谢谢提醒,我将整个application目录递归修改权限777,重新导入资源池,然后 “资源池无法导入规定格式的文件”这个问题解决了!!!能否麻烦大神,将源码页面的说明文档里添加上递归修改application整个目录权限为777的说明,这样其他用户就不会遇到这么多问题了。
from bk-cmdb.
我也遇到了同样的问题
from bk-cmdb.
确定下logs的目录有读写权限吗?
from bk-cmdb.
@lowenitt 将application/logs 目录权限修改为了777(递归修改),然后再次导入主机,有日志了,如下:
INFO - 2016-12-26 17:23:16 --> Config Class Initialized
INFO - 2016-12-26 17:23:16 --> Hooks Class Initialized
DEBUG - 2016-12-26 17:23:16 --> UTF-8 Support Enabled
INFO - 2016-12-26 17:23:16 --> Utf8 Class Initialized
INFO - 2016-12-26 17:23:16 --> URI Class Initialized
INFO - 2016-12-26 17:23:16 --> Router Class Initialized
INFO - 2016-12-26 17:23:16 --> Output Class Initialized
INFO - 2016-12-26 17:23:16 --> Security Class Initialized
DEBUG - 2016-12-26 17:23:16 --> Global POST, GET and COOKIE data sanitized
INFO - 2016-12-26 17:23:16 --> Input Class Initialized
INFO - 2016-12-26 17:23:16 --> Language Class Initialized
INFO - 2016-12-26 17:23:16 --> Loader Class Initialized
DEBUG - 2016-12-26 17:23:16 --> Config file loaded: /data/htdocs/cc_openSource/application/config/errorcode.php
INFO - 2016-12-26 17:23:16 --> Session: Class initialized using 'files' driver.
DEBUG - 2016-12-26 17:23:16 --> Session class already loaded. Second attempt ignored.
DEBUG - 2016-12-26 17:23:16 --> Session class already loaded. Second attempt ignored.
INFO - 2016-12-26 17:23:16 --> Controller Class Initialized
INFO - 2016-12-26 17:23:16 --> Parser Class Initialized
INFO - 2016-12-26 17:23:16 --> Language file loaded: language/english/zh_cn_lang.php
DEBUG - 2016-12-26 17:23:16 --> Login class already loaded. Second attempt ignored.
DEBUG - 2016-12-26 17:23:16 --> Encryption: Auto-configured driver 'openssl'.
INFO - 2016-12-26 17:23:16 --> Encryption: OpenSSL initialized with method AES-128-CBC.
INFO - 2016-12-26 17:23:16 --> Encryption Class Initialized
INFO - 2016-12-26 17:23:16 --> Database Driver Class Initialized
INFO - 2016-12-26 17:23:17 --> Upload Class Initialized
INFO - 2016-12-26 17:23:17 --> Language file loaded: language/english/upload_lang.php
ERROR - 2016-12-26 17:23:17 --> The upload destination folder does not appear to be writable.
INFO - 2016-12-26 17:23:17 --> Final output sent to browser
DEBUG - 2016-12-26 17:23:17 --> Total execution time: 0.1693
没有发现error,但是就是无法导入成功!
from bk-cmdb.
ERROR - 2016-12-26 17:23:17 --> The upload destination folder does not appear to be writable.
看下这一行吧,目标文件夹没写权限
from bk-cmdb.
@lowenitt logs目录权限我修改为了777:
drwxrwxrwx 2 root root 4096 Dec 26 16:40 logs
但是logs里面新生成的log文件是644:
-rwxrwxrwx 1 root root 59785 Dec 23 12:54 log-2016-11-15.log
-rwxrwxrwx 1 root root 125860 Dec 23 12:54 log-2016-11-16.log
-rwxrwxrwx 1 root root 100788 Dec 23 12:54 log-2016-11-22.log
-rwxrwxrwx 1 root root 40742 Dec 23 12:54 log-2016-12-07.log
-rwxrwxrwx 1 root root 127938 Dec 23 12:54 log-2016-12-09.log
-rwxrwxrwx 1 root root 650056 Dec 23 12:54 log-2016-12-12.log
-rwxrwxrwx 1 root root 1332007 Dec 23 16:09 log-2016-12-23.log
-rw-r--r-- 1 nobody nobody 65014 Dec 26 17:27 log-2016-12-26.log #昨天生成的log文件
理论上是修改了logs目录的权限777,新生成的log文件应该也是777才对啊,很疑惑
from bk-cmdb.
@lowenitt
ERROR - 2016-12-26 17:23:17 --> The upload destination folder does not appear to be writable.
看下这一行吧,目标文件夹没写权限
这个目录文件夹是哪个?不会是将cc_openSource整个目录下的所有目录和文件都递归修改为777吧?
from bk-cmdb.
好,我改下说明文档。
from bk-cmdb.
Related Issues (20)
- fix:【CMDB+v3.13.2-feature-layered1】删除关联类型成功后,前端没有提示“删除成功”,建议加个提示
- fix:【CMDB+v3.13.2-feature-layered1】删除模型成功后,前端没有提示“删除成功”,建议加个提示
- fix:【CMDB+v3.13.2-feature-layered1】输入业务快照名称时 鼠标非要失焦后才会校验,导致仍然可以点击保存后二次弹窗取消不了
- fix:【CMDB+v3.13.2-feature-layered1】通用模型下没有“项目”实例
- fix:【CMDB+v3.13.2-feature-layered1】项目 操作没有‘启用/停用’功能 HOT 1
- fix:【CMDB+v3.13.2-feature-layered1】字段组合模板中新建字段唯一标识重复后,建议优化下提示,应该提示“唯一标识重复”
- fix:【CMDB+v3.13.2-feature-layered1】新建主机和集群/模块自定义字段,设置对应默认值后,在对应主机详情和集群节点信息下查看对应的字段直接显示了默认值,应该点击编辑后在显示默认值 HOT 3
- https页面登录超时后,弹出的登录框跨域
- 两台服务器之间通过多个端口相连,端口又通过网线相连,怎么通过关联关系导入到CMDB中呢? HOT 1
- authserver正常启用,登陆跳转后提示get user from bk-login failed
- make ui缺少一些包,需要手工安装 HOT 2
- 蓝鲸cmdb开源版release-v3.13.4 版本编译报错
- 【CMDB+v3.13.5-alpha1】新建集群集群名称输入特殊字符“*.+-*@%$%^&*(”提示集群名称校验不通过,建议直接输入特殊字符时直接校验
- {"result":false,"bk_error_code":1105000,"bk_error_msg":"迁移数据失败, server selection error: server selection timeout, current topology: { Type: ReplicaSetNoPrimary, Servers: [] }","permission":null,"data":null} HOT 1
- ./stop.sh命令不能有效停止所有服务进程
- 能否通过实现 adapter 支持 azure 和 gcp 的云资源同步能力?
- get_biz_brief_cache_topo接口返回的拓扑数据支持国际化
- 测试远程创建issue
- 【CMDB+v3.12.4】全文检索无法搜索表格子段内容
- 极速体验容器化部署蓝鲸CMDB无法新增业务
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bk-cmdb.