lmanager's Introduction
lmanager's People
Forkers
wanyinglong cloudbps kerneltravel awsok lianghanquan 4ecolbyte vinsonzou skyshe shineforever liuziping zhaojinhong zuoguocai shansheng freedream520 stevenlee87 zoufuxing hermithacker coolcoding zzy25 wobintou jacknjzhou zeus911 ymnl007 cjd9023 joinquan wynnfynn lue828 justfortooltest xuweiwei2011 chrisguorui kinget007 willsion qingstack chenbk85 loveliuli walkongrass star2one masterpy ljb-2000 xjxj1 vviles binhoul timxuhj 11m09d mac119 yhtsnda lirenkai2000 hunterfu chenqi123 strongit yanghuan2016 cobo606 devops-life bernytt jun2533 xiangxiaobaog3 phantasmzyh cathywife maoxiaochun guoweihdu sunmsn mumulizi iwangq langsile0 zouliuyun lfzhang wlwio dengchunming2008 milespeng qinshixu augustand leonzhao2020 mrccao udayshack ieasydevops tanbokan pengzihe ecore2018 timy-life shineer itxiaoyi hack404-007 diudiuda qi-zhou ronadolong yoyopie raceli a719792284 jamswu jiangruocheng captainlu666 chenxinxing tom2jack xueyujie ik3210 mypythontest zhaoyongtao perry385817606 qiu957919102 kumikoda110lmanager's Issues
初始化数据失败
问题:
- 通过manage.py初始化数据失败,下面是异常日志
- 已经在mysql中授权本用户对cmdb数据库的所有访问权限 backend/config.ini
cat config.ini
[db]
db_host = localhost
db_port = 3306
db_user = cmdb
db_pass = redhat
db_name = cmdb
异常日志:
./manage.py syncdb
Syncing...
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib64/python2.6/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/lib64/python2.6/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/usr/lib64/python2.6/site-packages/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)
File "/usr/lib/python2.6/site-packages/south/management/commands/syncdb.py", line 89, in handle_noargs
db.connection_init()
File "/usr/lib/python2.6/site-packages/south/db/mysql.py", line 183, in connection_init
cursor = self._get_connection().cursor()
File "/usr/lib64/python2.6/site-packages/django/db/backends/__init__.py", line 160, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/usr/lib64/python2.6/site-packages/django/db/backends/__init__.py", line 132, in _cursor
self.ensure_connection()
File "/usr/lib64/python2.6/site-packages/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/usr/lib64/python2.6/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/lib64/python2.6/site-packages/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/usr/lib64/python2.6/site-packages/django/db/backends/__init__.py", line 115, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/lib64/python2.6/site-packages/django/db/backends/mysql/base.py", line 435, in get_new_connection
conn = Database.connect(**conn_params)
File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")
项目还有人维护吗?
这个项目还有人维护吗?好像七八个月都没有更新过了
小罗哥,我参考安装文档安装,过程中没出什么错误,但是web登录是从8888端口还是80端口??
https://192.168.0.131:8888登录网页显示:
{"clients": ["_is_master_running", "local", "local_async", "local_batch", "runner", "runner_async", "ssh", "ssh_async", "wheel", "wheel_async"], "return": "Welcome"}
saltapi 的疑问
NULL
安装问题
执行到Python manage.py syncdb 的时候报错。请问什么问题。
如下:
python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/lib64/python2.6/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/lib64/python2.6/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib64/python2.6/site-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/lib64/python2.6/site-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib64/python2.6/site-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/lib64/python2.6/site-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib64/python2.6/site-packages/django/conf/init.py", line 128, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib64/python2.6/site-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/data/ops/CMDB/CMDB/settings.py", line 3, in
mysql = dbconfig()
File "/data/ops/CMDB/CMDB/settings_config.py", line 6, in dbconfig
db_host = cf.get("db","db_host")
File "/usr/lib64/python2.6/ConfigParser.py", line 556, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'db'
那些临时文件也提交了,如.pyc
你可以参考下这个gitignore (https://github.com/github/gitignore.git)
界面显示问题
为什么我启动以后通过浏览器浏览时无法渲染,整个界面都是乱的?要装什么东西吗?
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.