[asterisk-users] Error of FreePBX after installing from Yum Repository of Asterisk

Seann Clark nombrandue at tsukinokage.net
Mon Jun 7 16:46:06 CDT 2010


Steve Edwards wrote:
> On Mon, 7 Jun 2010, bruce bruce wrote:
>
>   
>> CentOS 5.4 and asterisk does stay running after it's loaded by asterisk 
>> -g. But the chkconfig --add asterisk doesn't work :(
>>     
>
> What does "chkconfig --list asterisk" show?
>
> The "add" command looks in the asterisk script for a line that looks like:
>
>  	# chkconfig: 2345 98 98
>
> This says that chkconfig should create the appropriate links in the 
> /etc/rc{x}.d/ hierarchy so that Asterisk will be started at runlevels 2, 
> 3, 4, 5 with a start priority of 98 (see "man chkconfig" for details) and 
> a stop priority of 98. Since CentOS servers should be running at runlevel 
> 3, the 2, 4, and 5 are superfluous.
>
> If there is no such line, chkconfig will not create the appropriate links.
>
> Also, if /etc/init.d/asterisk does not have execute privileges, it will 
> not be executed on startup and Asterisk will not be running as expected.
>
>   
I am running centos 5.4 myself. What I have for the chkconfig, mentioned 
above is:
Mon Jun 07-12:29:27-root at eiji.tsukinokage.net:cgi-bin> chkconfig --list 
asterisk
asterisk        0:off   1:off   2:on    3:on    4:on    5:on    6:off

You should see the same thing if it is set up correctly. If it is in 
there, try service asterisk start, and verify it is still running. If it 
isn't, check /var/log/asterisk/messages and that should give you an idea 
as to what killed it.

FOP is in an error error state is most likely due to channel's not being 
found, and thus the pattern matches in the code, at the lines specified 
are not matching anything and causing errors with the perl code that 
runs the FOP server. This points back to the PBX's configuration. You 
can look into what FOP is looking for in the op_server.cfg file and see 
if your manager is allowing connections, etc, for the program to work.

My suggestion is make sure that asterisk by itself works in terms of 
starting up cleaning, then verify amportal/FreePBX is configured and 
working correctly, then FOP should work correctly after that.

Regards,
Seann

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5544 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100607/bc9f5f76/attachment.bin 


More information about the asterisk-users mailing list