免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1041 | 回复: 0
打印 上一主题 下一主题

Openser 0.9.4 的安装方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-02 11:19 |只看该作者 |倒序浏览

                最近安装了openser-1.1.0,安装方法:
OpenSER安装指南
关于
http://openser.org/index.php#about
下载
http://openser.org/pub/openser/1.0.1/src/openser-1.0.1_src.tar.gz
准备
需要安装好mysql以及mysql client,最好为mysql设置一个root密码。
编译
          代码:                          tar zxvf openser-1.0.1_src.tar.gz
cd openser-1.0.1
make all
make install
make include_modules="mysql" modules
make include_modules="mysql" install这里我修改了一下
            tar zxvf openser-1.0.1_src.tar.gz
            cd openser-1.0.1
            make all
            make prefix=/home/learnin9/tools/openser-1.1.0  install
            make include_modules="mysql" modules
            make include_modules="mysql" prefix=/home/learnn9/tools/openser-1.1.0 install
这时会发现/home/learnin9/tools/openser-1.1.0/sbin/openser_mysql.sh ,这是用来建立mysql的openser数据库的。如果root密码为空,一路回车就可以了。
安装完毕,我启动了之后,发现
WARINIG: no database engine found - tried ''
Starting OpenSER :
ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
然后启动了openser程序,没有任何反映,无奈之下只得重新安装了低版本0.9.4,安装步骤跟前面一样,只是需要注意的是要将openser数据库删除掉,然后采用0.9.4的openser_mysql.sh来初始话数据库。
再次启动0.9.4的openserctl程序,发现现象如故,我启动了openser程序,报告缺少/usr/local/etc/openser/ser.cfg文件,将openser.cfg文件copy到/usr/local/etc/openser/ser.cfg,启动openser成功。

               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4631/showart_193984.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP