[Spce-user] problem with config.yml file
Joan Cifre (ibred)
jcifre at ib-red.com
Thu Nov 15 19:28:23 EST 2012
Hello,
after a few months working, no I've tried to modify htpasswd to access
soap interface. Maybe I've configured something bad in config.yml file
and, when applying config with "ngcpcfg apply" I'm getting this message
YAML::Tiny found bad indenting in line ' provisioning:' at
/usr/share/ngcp-ngcp cfg/helper//validate-yml line 13
I'm very worried about this, because if now server reboots, I will get
all users without service. Here I send you a portion of config.yml file,
if somebody can help me to see why I'm getting the error. Very grateful
for your help.
ossbss:
apache:
port: 2443
serveradmin: support at sipwise.com
servername: "\"myserver\""
sslcertfile: '/etc/apache2/ssl/myserver.crt'
sslcertkeyfile: '/etc/apache2/ssl/myserver.pem'
htpasswd:
pass: '*****'
- user: soap
logging:
apache:
acc:
facility: daemon
identity: oss
level: info
err:
facility: local7
level: info
ossbss:
facility: local0
identity: provisioning
level: DEBUG
web:
facility: local0
level: DEBUG
provisioning:
allow_ip_as_domain: 1
allow_numeric_usernames: 0
auto_allow_cli: 1
credit_warnings:
-
domain: example.com
recipients:
- nobody at example.com
threshold: 1000
log_passwords: 0
no_logline_truncate: 0
pw_min_char: 6
routing:
ac_regex: '[1-9]\d{0,4}'
cc_regex: '[1-9]\d{0,3}'
sn_regex: '[0-9]\d+'
tmpdir: '/tmp'
More information about the Spce-user
mailing list