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)
- 【3.10.x-feature-agent-id-alpha14 】在自定义字段页面搜索框,输入搜索不存在的关键字后与规范设计不一致
- 【3.10.x-feature-agent-id-alpha14 】资源主机下搜索不存在的目录时,与设计规范不一致
- 【3.10.x-feature-agent-id-alpha14 】资源主机下在搜索框输入不存在的IP在进行搜索,与设计规范不一致
- 【3.10.x-feature-agent-id-alpha14 】资源主机下导入编辑功能失效,并没有更改内容 HOT 2
- 【3.10.x-feature-agent-id-alpha14 】资源主机在更多导出选中字段下输入不存在的字段进行搜索时,与设计规范不一致
- 【3.10.x-feature-agent-id-alpha14 】资源目录通用模型导入功能失效 HOT 2
- 【3.10.x-feature-agent-id-alpha14 】通用模型下查看删除历史,实例名超长时hover时没有tips显示完整信息
- 【3.10.x-feature-agent-id-alpha14 】CC和节点管理下云服务商 两边显示不一致 HOT 2
- 【3.10.x-feature-agent-id-alpha14 】在资源项目列表显示属性配置中搜索不存在的属性时显示与搜索空规范不一致
- 编译问题 HOT 3
- 源码编译报错 HOT 2
- cmdb前端ui项目eslint报错 HOT 1
- 实例名bk_inst_name 唯一校验不生效 HOT 2
- 通过api添加主机时,bool类型设置默认值是true ,但是实际添加后默认值始终是false
- monstache 编译后没有可执行文件 HOT 1
- 【3.10.27-alpha1】中英文切换icon失效
- 资源池中,删除主机时,二次确认页的“确定”、“取消”未国际化成功
- 【3.10.27-alpha3】Host Statistics及Instance Statistics删除图表时切换英文未完全 HOT 1
- 启动不起来 HOT 1
- cmdb编译报错 HOT 3
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.