- 浏览: 77156 次
- 性别:
- 来自: 北京
最新评论
文章列表
问题起因:
给同事创建完新的项目仓库后,在checkout时报错
Expected FS format '2'; found format '4'
期待文件系统(FS)格式 "2”;找到格式"4”
Subversion大版本更新时有可能会对其文件格式进行调整,版本2、版本3和版本4分别对应Subversion的1.4.x、1.5.x和1.6.x
解决方案:
1.重启svnserver
2.降级Subversion
$ su - oracle
# sqlplus /nolog
# conn / as sysdba
# startup
# quit
# lsnrctl start
执行tmloadcf -y ubbconfig.txt,抛出以下错误:
181205.hp16042!tmloadcf.3671.3086616256.-2:CMDTUX_CAT:868: ERROR: tmloadcf cannot run on a non-master node
错误原因:
在ubbconfig.txt文件中,机器名称错误。
解决办法:
改成正确的机器名称即可。
执行tmboot -y命令,抛出以下错误信息:
174341.hp16042!BBL.3476.3086006480.0: 06-13-2011: Tuxedo Version 10.3.0.0, 32-bit, Patch Level (none)
174341.hp16042!BBL.3476.3086006480.0: LIBTUX_CAT:590: ERROR: Unable to read the TUXCONFIG file, version type mismatch
174341.hp16042!BBL.3476.3086006480.0: LIBTUX_CAT:248: ERR ...
使用tmshutdown命令关闭TUXEDO时,无法完全关闭TUXEDO,并抛出以下信息:
163402.hp16042!tmshutdown.2186.3086526144.-2: 06-13-2011: Tuxedo Version 11.1.1.1.0, 32-bit
163402.hp16042!tmshutdown.2186.3086526144.-2: WARN: internal error: CMDTUX_CAT:947: WARN: Can't shutdown server (GROUP1/108)
解决办法:
执行tmipcrm
转自:http://www.cublog.cn/u3/105800/showart_2099945.html
下面是使用apxs工具给apache添加模块
如添加的模块:
LoadModule
cgi_module libexec/mod_cgi.so
LoadModule
cgid_module libexec/mod_cgid.so
添加方法:
如要额外安装cgi,先找到mod_cgi.c及mod_cgid.c。一般在apache安装包目录下/httpd-2.2.11/modules/generators。
[root@ ...
ImportError at /
libIce.so.34: cannot open shared object file: No such file or directory
Request Method:
GET
Request URL:
http://127.0.0.1/
Django Version:
1.3
Exception Type:
ImportError
Exception Value:
libIce.so.34: cannot open shared object file: No such file or director ...
Apache的error_log:
[Wed Jun 01 14:59:05 2011] [notice] child pid 28198 exit signal Segmentation fault (11)
[Wed Jun 01 15:00:03 2011] [notice] child pid 28199 exit signal Segmentation fault (11)
解决办法:
使用gdb工具,查找出现错误的具体位置。我的错误是因为python的ice在加载到apache时出错。Segmentation fault (11)表示指针指向错误。
Apache的error_log:/usr/local/lib/python2.6/site-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5解决办法:GOOGLE下发现这是个BUG,在Red Hat Bugzilla找到了解决办法:https://bugzilla.redhat.com/show_bug.cgi?id=526062
mod_python patch:
--- mod_python ...
程序在windows下运行没有任何的问题,但是在Linux下运行时却抛出IOError [Errno 13] Permission denied。Traceback发现是fd = open(file_path, 'r+b')抛出的异常。使用namei工具查看文件(包括目录)的权限,结果文件[-rw-rw-r--]、目录[drwxrwxr-x]。这就很费解了为什么有r权限,却会报Permission denied错误。出于测试chmod o+w 文件,很意外的是程序正常了。这说明open()使用'r+b'方式打开文件需要w权限。
项目部署到Apache Http Server上面,通过apachectl -t 检测配置文件也没有问题。可是通过浏览器访问,却出现了“you don't have permission to access / on this server”.
1、首先,查看conf.d/python.conf文件
<Directory "项目路径">
Options Indexes FollowSymLinks +Includes
AllowOverride None
Order allow,deny
...
ExtractionError: Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the Python egg
cache:
[Errno 13] Permission denied: '/root/.python-eggs'
The Python egg cache directory is currently set to:
/root/.python-eggs
Perhaps your account does not ha ...
1、下载mysql-python
官网地址:http://sourceforge.net/projects/mysql-python/
2、安装mysql-python
# tar -zxvf MySQL-python-1.2.3.tar.gz
# cd MySQL-python-1.2.3
# whereis mysql_config
mysql_config: /usr/bin/mysql_config /usr/share/man/man1/mysql_config.1.gz
# vi site.cfg
threadsafe = False
mysql_config ...
一.环境说明
1.系统环境
CentOS release 5.4 (Final)
2.软件版本
Apache 2.2.3
Python 2.6.6
mod_python 3.3.1
二.安装Apache
1.如果使用Apache源码进行安装,请到http://httpd.apache.org下载所需版本。
安装过程略。
2.如果使用系统自带的Apache,则需要查看系统是否安装httpd-devel包。操作如下:
[root@G7-75 ~]# yum list httpd-devel
如果已安装,则跳过以下步骤:
[root@G7-75 ~]# yum search httpd-deve ...