CentOS 6.1 Asterisk 13 Unable to start Asterisk


#1

Hi,
I’m installing Asterisk 13 on CentOS 6.1 on a VM (virtual box). I believe I successfully installed from source. However, when I try to start asterisk I’m getting the following error.

[root@Asterisk ~]# service asterisk start Starting asterisk: [ OK ]
[root@Asterisk ~]# cat: /var/run/asterisk/asterisk.pid: No such file or directory
cat: /var/run/asterisk/asterisk.pid: No such file or directory
cat: /var/run/asterisk/asterisk.pid: No such file or directory

I tried starting it the following way and I get a problem regarding libjansson, which I installed previously.

[root@Asterisk init.d]# /usr/sbin/asterisk -vvvgc
/usr/sbin/asterisk: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory

Best regards
Terry


#2

I got it to work. I used the following.

[root@Asterisk ~]# ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4
[root@Asterisk ~]# ldconfig
[root@Asterisk ~]# service asterisk start