Reload failed because retrieve_conf encountered an error: 1

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Reload failed because retrieve_conf encountered an error: 1

Postby cgonsalves » Sat Aug 11, 2012 9:26 am

Fresh install of AsteriskNOW-2.0.2-i386-DVD, after installation did a yum update and this error...

Reload failed because retrieve_conf encountered an error: 1

exit: 1
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

The same error with the 64bit DVD also.
Please help.

Clifford Gonsalves
cgonsalves
Newsterisk
 
Posts: 13
Joined: Fri Jan 05, 2007 12:20 pm

Re: Reload failed because retrieve_conf encountered an error: 1

Postby cgonsalves » Sat Aug 11, 2012 11:22 am

Error shows when I assign a static IP to the system/changing the hostname of the system.

Clifford Gonsalves
cgonsalves
Newsterisk
 
Posts: 13
Joined: Fri Jan 05, 2007 12:20 pm

Re: Reload failed because retrieve_conf encountered an error: 1

Postby cgonsalves » Sun Aug 12, 2012 11:49 am

Here is what i see on the debug:

[root@ip-pbx ~]# amportal a dbug

==> /var/log/asterisk/freepbx_dbug <==
2012-Aug-16 17:41:37 /var/www/html/admin/libraries/php-asmanager.php:342
[WARNING]: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known

2012-Aug-16 17:41:37 /var/www/html/admin/libraries/php-asmanager.php:342
[WARNING]: fsockopen(): unable to connect to localhost:5038 (Unknown error)

Looks to me some PHP error after yum update. Any suggestions?

Clifford Gonsalves
cgonsalves
Newsterisk
 
Posts: 13
Joined: Fri Jan 05, 2007 12:20 pm

Re: Reload failed because retrieve_conf encountered an error: 1

Postby malcolmd » Mon Aug 13, 2012 8:03 am

There's an upstream CentOS bug:

http://bugs.centos.org/view.php?id=5883

As root, chmod 644 /etc/nsswitch.conf
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 2714
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: Reload failed because retrieve_conf encountered an error: 1

Postby cgonsalves » Tue Aug 14, 2012 2:50 pm

Thanks Malcolm, I did a "yum update" now and some new updates came in, and all works fine now.


Clifford Gonsalves
cgonsalves
Newsterisk
 
Posts: 13
Joined: Fri Jan 05, 2007 12:20 pm

Re: Reload failed because retrieve_conf encountered an error: 1

Postby malcolmd » Tue Aug 14, 2012 2:55 pm

Yay :)
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 2714
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US


Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 6 guests