opensips执行opensipsdbctl create时报错

在执行opensipsdbctl create时报下列错误

[[email protected] opensips]# opensipsdbctl create
MySQL password for root:
INFO: test server charset
/usr/lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 105: mysql: command not found
/usr/lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 106: mysql: command not found
WARNING: Failed to get the available and used character sets

解决方法:

[email protected] opensips]# yum -y install mysql

重新执行该命令

[[email protected] opensips]# opensipsdbctl create
MySQL password for root:
INFO: test server charset
INFO: creating database opensips ...
INFO: Core OpenSIPS tables succesfully created.
Install presence related tables? (y/n): y
INFO: creating presence tables into opensips ...
INFO: Presence tables succesfully created.
Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist b2b registrant call_center? (y/n): y
INFO: creating extra tables into opensips ...
INFO: Extra tables succesfully created.

时间: 2024-10-11 16:22:52

opensips执行opensipsdbctl create时报错的相关文章

opensips在创建数据库时报错

在执行opensipsdbctl create时出现下列错误 [[email protected] ~]# opensipsdbctl createMySQL password for root: INFO: test server charset/usr/lib64/opensips/opensipsctl/opensipsdbctl.mysql: line 105: mysql: command not found/usr/lib64/opensips/opensipsctl/opensip

(转)Linux安装SwfTools-0.9.2安装事,在执行make install时报错

系统:CentOS6.5 安装SwfTools-0.9.2的时候,在执行make install时报错, rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L /usr/local/share/swftools/swfs/default_viewer.swfrm:无效选项 -- o请尝试执行"rm --help"来获取更多信息.make[1]: *** [install] 错误 1make[1]: Leaving d

mysql执行update语句时报错:Data truncation: Truncated incorrect DOUBLE value: 'null'

出现这个问题的原因网上有说是update的参数连接符要用,而不是and,但是我遇到的不是这个. 我出现问题的原因是,在update语句的where中varchar类型的字段我直接用了数字类型 update address set province = '北京' where userId = 250; userId是varchar类型的,报错Data truncation: Truncated incorrect DOUBLE value: 'null' 改成这样就可以了 update addre

mysql执行SQL语句时报错:[Err] 3 - Error writing file '/tmp/MYP0G1B8' (Errcode: 28 - No space left on device)

问题描述: 今天一同事在mysql中执行SQL语句的时候,报了/tmp空间不足的问题,报错如下: [SQL] SELECT f.prov as 字段1, MAX( CASE f.flag_name WHEN '字段1' THEN f.num ELSE 0 END ) AS '字段1', MAX( CASE f.flag_name WHEN '店员量' THEN f.num ELSE 0 END ) AS '字段1', MAX( CASE f.flag_name WHEN '字段1' THEN f

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

以httpd-2.2.25-win32-x86-openssl-0.9.8y.msi为例. Apache HTTP Server 2.2.25执行Test Configuration时,实际上是直接运行了httpd.exe C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exehttpd.exe: Could not reliably determine the server's fully qualif

zabbix服务器执行zabbix_get命令时报错:“zabbix_get [22209]: Timeout while executing operation”

前面刚把Windows平台的zabbix agent安装并启动成功,但是,zabbix的web监控页面显示,还是无法发现这台Windows服务器:大体的意思就是无法连接这台zabbix agent端. 根据之前的经验,我登录到zabbix服务端执行zabbix_get命令进行测试: [[email protected] ~]# zabbix_get -s 10.253.40.64 -p 10050 -k "agent.version" zabbix_get [22209]: Timeo

执行shell脚本时报错let: not found的几种解决方法

首先阐述几个命令 echo $0   显示当前使用的shell版本 dpkg-reconfigure 设置软件包类型 脚本报错原因: Ubuntu默认使用的shell解析是dash,dash只有bash一部分的功能 首先我的系统执行 $  echo $0 -bash $   sudo dpkg-reconfigure dash 选择 No,使用bash作为默认shell 此时依然无法解决问题 经过试验 方法一: 脚本中#/bin/bash改为!/bin/sh 方法二: 使用bash shell_

执行yum命令时报错

There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: libssl.so.6: cannot open shared object file: No such file or directory (libcrypto.so.6: cannot open shared object file: No such file o

安装oracle执行runInstaller文件时报错:“……/install/.oui:Permission denied”

一:问题描述 二:出错原因 将windows下未解压的Oracle安装软件上传到了linux服务器,导致有三个文件的执行权限丢失. 三:解决方法 为其赋予相应权限即可. 1: [root@MyPc ~]# chmod 777 /download/database_10g_64/runInstaller 2: [root@MyPc install]# chmod 777 /download/database_10g_64/install/.oui 3: [root@MyPc install]# c