Home  >  Article  >  Database  >  Ubuntu下安装配置openser 1.3.1

Ubuntu下安装配置openser 1.3.1

WBOY
WBOYOriginal
2016-06-07 16:53:031042browse

在Ubuntu Linux下安装openser 1.3.1 很容易,但配置就较麻烦了:1 与mysql数据库的连接,不是用 /usr/local/sbin/openser_mysql.

在Ubuntu Linux下安装openser 1.3.1 很容易,但配置就较麻烦了:

1 与mysql数据库的连接,,不是用 /usr/local/sbin/openser_mysql.sh create (1.2.2)

而是用 /usr/sbin/openserdbctl create,并需要先配置好数据库是使用MYSQL。

2 加载 ACC 会出错

rc_read_config: can't open /usr/local/etc/radiusclient-ng/radiusclient.conf: No such file or directory

需要注释掉 配置文件中的

#loadmodule "acc.so"

# ----- acc params -----

#modparam("acc", "early_media", 1)
#modparam("acc", "report_ack", 1)
#modparam("acc", "report_cancels", 1)

#modparam("acc", "detect_direction", 0)

#modparam("acc", "failed_transaction_flag", 3)
#modparam("acc", "log_flag", 1)
#modparam("acc", "log_missed_flag", 2)

#modparam("acc", "db_flag", 1)
#modparam("acc", "db_missed_flag", 2)

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn