Python论坛  - 讨论区

标题:[python-chinese] 在apache上load mod_python.so出错

2006年06月14日 星期三 18:37

百炀斩FireYang shenhuan007 at gmail.com
Wed Jun 14 18:37:33 HKT 2006

我在apache的conf \httpd.conf 中插入LoadModule python_module modules/mod_python.so会出错
提示

httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf: Cannot lo
ad E:/work/Apache/modules/mod_python.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd
6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
Note the errors or messages above, and press the  key to exit.  18...

到底是哪里不对呢,请高手指点下。

-- 
百炀斩

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月14日 星期三 18:43

Bruce Wang number5 at gmail.com
Wed Jun 14 18:43:24 HKT 2006

On 6/14/06, 百炀斩FireYang <shenhuan007 at gmail.com> wrote:
>
> 我在apache的conf \httpd.conf 中插入LoadModule python_module
> modules/mod_python.so会出错
> 提示
>
> httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf:
> Cannot lo
> ad E:/work/Apache/modules/mod_python.so into server:
> \xd5\xd2\xb2\xbb\xb5\xbd\xd
> 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> Note the errors or messages above, and press the  key to exit.  18...
>
> 到底是哪里不对呢,请高手指点下。
>
> --
> 百炀斩
>
> 找不到指定的程序
看看路径,文件名对么


-- 
simple is good
http://brucewang.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060614/f17f27a3/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月14日 星期三 19:36

limodou limodou at gmail.com
Wed Jun 14 19:36:08 HKT 2006

On 6/14/06, 百炀斩FireYang <shenhuan007 at gmail.com> wrote:
> 我在apache的conf \httpd.conf 中插入LoadModule python_module modules/mod_python.so会出错
> 提示
>
> httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf: Cannot lo
> ad E:/work/Apache/modules/mod_python.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd
> 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> Note the errors or messages above, and press the  key to exit.  18...
>
> 到底是哪里不对呢,请高手指点下。
>
有可能是mod_python的版本与apache的版本不配匹吧。

-- 
I like python!
My Blog: http://www.donews.net/limodou
My Django Site: http://www.djangocn.org
NewEdit Maillist: http://groups.google.com/group/NewEdit

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月14日 星期三 22:37

百炀斩FireYang shenhuan007 at gmail.com
Wed Jun 14 22:37:45 HKT 2006

没人能帮忙解答下吗

在 06-6-14,百炀斩FireYang<shenhuan007 at gmail.com> 写道:
> 我在apache的conf \httpd.conf 中插入LoadModule python_module modules/mod_python.so会出错
> 提示
>
> httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf: Cannot lo
> ad E:/work/Apache/modules/mod_python.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd
> 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> Note the errors or messages above, and press the  key to exit.  18...
>
> 到底是哪里不对呢,请高手指点下。
>
> --
> 百炀斩
>


-- 
百炀斩

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月15日 星期四 09:15

Lea.Cen leacen at gmail.com
Thu Jun 15 09:15:17 HKT 2006

我也遇到过这个问题(在没有limodou说的版本问题的情况下)!好象后面是重新装了就好了!

On 6/14/06, limodou <limodou at gmail.com> wrote:
>
> On 6/14/06, 百炀斩FireYang <shenhuan007 at gmail.com> wrote:
> > 我在apache的conf \httpd.conf 中插入LoadModule python_module
> modules/mod_python.so会出错
> > 提示
> >
> > httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf:
> Cannot lo
> > ad E:/work/Apache/modules/mod_python.so into server:
> \xd5\xd2\xb2\xbb\xb5\xbd\xd
> > 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> > Note the errors or messages above, and press the  key to
> exit.  18...
> >
> > 到底是哪里不对呢,请高手指点下。
> >
> 有可能是mod_python的版本与apache的版本不配匹吧。
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> My Django Site: http://www.djangocn.org
> NewEdit Maillist: http://groups.google.com/group/NewEdit
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
_______________________________________________
Python中文技术讨论邮件列表
发言: 发邮件到 python-chinese at lists.python.cn
订阅: 发送 subscribe 到 python-chinese-request at lists.python.cn
退订: 发送 unsubscribe 到  python-chinese-request at lists.python.cn
详细说明: http://python.cn/mailman/listinfo/python-chinese
My webSite: http://www.scweb.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060615/237571cf/attachment-0001.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月15日 星期四 10:25

百炀斩FireYang shenhuan007 at gmail.com
Thu Jun 15 10:25:01 HKT 2006

路径没错误,我用的是apache_2.0.58-win32-x86-no_ssl.msi和apache_2.2.2-win32-x86-no_ssl.msi,mon_python是mod_python-3.2.8.win32-py2.4.exe;我都试过了,还是这样的问题,是不是在环境变量里要设置path和classpath吗?

在 06-6-14,limodou<limodou at gmail.com> 写道:
> On 6/14/06, 百炀斩FireYang <shenhuan007 at gmail.com> wrote:
> > 我在apache的conf \httpd.conf 中插入LoadModule python_module modules/mod_python.so会出错
> > 提示
> >
> > httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf: Cannot lo
> > ad E:/work/Apache/modules/mod_python.so into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd
> > 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> > Note the errors or messages above, and press the  key to exit.  18...
> >
> > 到底是哪里不对呢,请高手指点下。
> >
> 有可能是mod_python的版本与apache的版本不配匹吧。
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> My Django Site: http://www.djangocn.org
> NewEdit Maillist: http://groups.google.com/group/NewEdit
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
百炀斩

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月15日 星期四 12:53

百炀斩FireYang shenhuan007 at gmail.com
Thu Jun 15 12:53:53 HKT 2006

我重新装了好多次了,是不是和python要相同目录下啊?还是顺序问题?
我是先装python2.4,再apache,接着是mond_python,找不到问题的原因所在。

在 06-6-15,Lea. Cen<leacen at gmail.com> 写道:
> 我也遇到过这个问题(在没有limodou说的版本问题的情况下)!好象后面是重新装了就好了!
>
>
> On 6/14/06, limodou <limodou at gmail.com> wrote:
> >
> On 6/14/06, 百炀斩FireYang <shenhuan007 at gmail.com> wrote:
> > 我在apache的conf \httpd.conf 中插入LoadModule python_module
> modules/mod_python.so会出错
> > 提示
> >
> > httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf:
> Cannot lo
> > ad E:/work/Apache/modules/mod_python.so into server:
> \xd5\xd2\xb2\xbb\xb5\xbd\xd
> > 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> > Note the errors or messages above, and press the  key to exit.  18...
> >
> > 到底是哪里不对呢,请高手指点下。
> >
> 有可能是mod_python的版本与apache的版本不配匹吧。
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> My Django Site: http://www.djangocn.org
> NewEdit Maillist: http://groups.google.com/group/NewEdit
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>
>
>
>
> --
> _______________________________________________
> Python中文技术讨论邮件列表
> 发言: 发邮件到 python-chinese at lists.python.cn
> 订阅: 发送 subscribe 到 python-chinese-request at lists.python.cn
> 退订: 发送 unsubscribe 到
> python-chinese-request at lists.python.cn
> 详细说明: http://python.cn/mailman/listinfo/python-chinese
> My webSite: http://www.scweb.cn
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
百炀斩

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月15日 星期四 14:01

马踏飞燕 honeyday.mj at gmail.com
Thu Jun 15 14:01:51 HKT 2006

有mod_python的话,就不需要Python了。mod_python一般用于生产环境的。

这种情况一般是apache与so的版本不匹配,再就是apache编译的时候做了限制,导致load模块不成功。如果配错了也一样不成功的。

最好把你的apache版本,安装位置,so的位置,httpd.conf等等所有相关的信息都提供出来,这样大家才好帮你分析并解决问题的。

在 06-6-15,百炀斩FireYang<shenhuan007 at gmail.com> 写道:
> 我重新装了好多次了,是不是和python要相同目录下啊?还是顺序问题?
> 我是先装python2.4,再apache,接着是mond_python,找不到问题的原因所在。
>
> 在 06-6-15,Lea. Cen<leacen at gmail.com> 写道:
> > 我也遇到过这个问题(在没有limodou说的版本问题的情况下)!好象后面是重新装了就好了!
> >
> >
> > On 6/14/06, limodou <limodou at gmail.com> wrote:
> > >
> > On 6/14/06, 百炀斩FireYang <shenhuan007 at gmail.com> wrote:
> > > 我在apache的conf \httpd.conf 中插入LoadModule python_module
> > modules/mod_python.so会出错
> > > 提示
> > >
> > > httpd.exe: Syntax error on line 117 of E:/work/Apache/conf/httpd.conf:
> > Cannot lo
> > > ad E:/work/Apache/modules/mod_python.so into server:
> > \xd5\xd2\xb2\xbb\xb5\xbd\xd
> > > 6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3
> > > Note the errors or messages above, and press the  key to exit.  18...
> > >
> > > 到底是哪里不对呢,请高手指点下。
> > >
> > 有可能是mod_python的版本与apache的版本不配匹吧。
> >
> > --
> > I like python!
> > My Blog: http://www.donews.net/limodou
> > My Django Site: http://www.djangocn.org
> > NewEdit Maillist: http://groups.google.com/group/NewEdit
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> >
> >
> > --
> > _______________________________________________
> > Python中文技术讨论邮件列表
> > 发言: 发邮件到 python-chinese at lists.python.cn
> > 订阅: 发送 subscribe 到 python-chinese-request at lists.python.cn
> > 退订: 发送 unsubscribe 到
> > python-chinese-request at lists.python.cn
> > 详细说明: http://python.cn/mailman/listinfo/python-chinese
> > My webSite: http://www.scweb.cn
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> 百炀斩
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号