I have just installed AsteriskNOW 1.50 but it’s not loading. I’m getting two errors when connected via http:/192.168.2.1/admin.
Reload failed because retrieve_conf encountered an error: 1
Failed to connect to the Asterisk manager through port: 5058
There is another error that keeps popping up on
INIT: Id “x” respawning too fast: disabled for 5 min.
uname -a reveals:
linux asterisk 2.6.18-128.1.1e15 # SMP WED Mar 25 18;14;28 EDT x86_64 x86-64 x86-64 GNU/Linux
I did the install after downloading the ISO from AsteriskNOW (ver 1.50 64) It appeared to install without errors until the system restarts, it then displays:
INIT: Id “x” respawning too fast: disabled for 5 min.
I’ve found this thread: I followed the instructions and it’s not working.
I’m able to ssh(don’t have Putty) to Asterisk. I ran a netstat and did not see a 5060 nor 5058. So are these port required to be opened or set in the Astersik box or on my router?
I was under the impression that the installation would set all parameters. Please advice.
~snip~
Using default FreePBX admin security alone will not protect your system from a web attack and may compromise root access to your entire server, if you do not change the password, before connecting the PBX to the Internet. For this reason, we recommend that you log in as root and immediately run passwd-master. This establishes Apache .htaccess security on your FreePBX web interface. After running this conversion utility, you can only log into the FreePBX admin interface with the username maint and the password which you establish when you run the utility.
To change the main passwords, run passwd-master from the command line.
This does the following
Changes FreePBX to authtype = none in amportal.conf,
Sets up .htaccess on the admin directory which contains FreePBX
Sets the wwwadmin, and MeetMe passwords to the same one as maint.
After running the command, to access all areas including FreePBX, the username is maint with the password of whatever you set during the passwd-master script. Maint gets you to admin (FreePBX) maint, FOP, MeetMe.
would expect the correct ports to be open, too, but what about the PC that you are using to browse to the FreePBX GUI? Is there a firewall active on it?
I will make these changes promptly when I get back to work. Regarding the PC I connect with it’s a Mac I’m not sure that it has an active firewall on it. Will have to check.
I suspect that the OP either misread or mistyped; either way, I suspect that s/he means 5038.
I have similar problems: port 5038 is not open on my Asterisk server. Running “netstat -na” lists various other ports open (including 80, 22, 111) but not 5038 (or 5060, but I suspect that, if I can do whatever it takes to get 5038 open, 5060 will open at about the same time), so it is an issue on the asterisk server box, not a firewall issue. Whatever application should open port 5038 simply isn’t running, or isn’t running properly.
passwd-master doesn’t exist on my system either: “find / -name passwd-master” gives no result.
It seems to be a common problem as a result of installing Asterisk server 1.5 from the current ISO.
I inherited my system from marketing so I never had the opportunity to do the initial downloads. Someone else will have to help. But you don’t have files that you should. Either something was not downloaded or not unzipped.
Mine was installed from the AsteriskNOW ISO image AsteriskNOW-1.5.0-i386-1of1.iso
I’ve just been laboriously through the ISO looking for a file whose name includes “passwd-”, including unpacking all the .rpm, .tar.gz and .cpio files. I can’t find any passwd-master file. I’m reasonably confident, then, that it couldn’t have come from the AsteriskNOW 1.5 installation CD - unless it’s programmatically generated post installation, which seems unlikely.
OK, if it’s not on the installation CD, should it be downloaded as part of a later stage of installation? (Does that happen?)
Or is it simply an omission from the AsteriskNOW installation CD?
Hmmm… I wonder if that comes from PiaF (PBX in a Flash) PiaF uses FreePBX as the GUI for Asterisk, Webmin as the GUI for the OS, and Fail2Ban is preconfigured, all you need to do is simply download, install, update and configure.
I just installed Asterisk from AsteriskNOW-1.5.0-i386-1of1.iso and I ignored the 2 problems which are exactly matching with ones at the top of the page;
Reload failed because retrieve_conf encountered an error: 1
Failed to connect to the Asterisk manager through port: 5038
Then, added the sip extension and configured the ekiga(softphone) to connect asterisk server. At the end of the day I was not able to interact ekiga phone with my asterisk server. Then I tired to check my configuration via CLI of asterisk but I could not see the sip command. I think there is more than one problem with AsteriskNOW-1.5.0 iso.When I added sip.conf to /etc/asterisk directory and restart asterisk, sip command appeared in the asterisk CLI.
Most of the people says this problem dissapear when you upgrade/update. What Do I need to update/upgrade and How can I do this ?
Do an amportal stop followed by an amportal start.
That should solve your issue.
sip.conf should be a linked file from /var/www/html/admin/modules/core/etc/sip.conf
I’ve progressed pretty far from my bumbling days of how do I wire this punchdown block. I’m not doing anything too fancy, but I have teliax, X-Lite, and an Aastra 57i working through asterisk.
All I need to do is figure out how to fix feedback only I receive when talking on the Aastra (the other end says icnd the quality is fine, no feedback) and I’ll be ready to dump the Avaya system.
I guess I don’t quite have ODBC support working with asterisk, but if I never get that working it won’t be the end of the world.