freepbx db error extension not found Santa Fe Springs California

Address 14040 San Antonio Dr, Norwalk, CA 90650
Phone (562) 864-4241
Website Link

freepbx db error extension not found Santa Fe Springs, California

Versions OS etc. good luck On another note, to begin, DO NOT ALLOW public access to your1) HTTP(freepbx interface)2) AMI3) DB (Sql tcp ports) Use VPNs, if you can. I'll change the database now in the scripts to asterisk tomageSeptember 14th, 2011, 12:44 PMI'm all for creating your own solution and I ran my own self-rolled Deb based Asterisk PBX There are alternative files to make #; custom modifications, details at: #;-------------------------------------------------------------------------------- #;-------------------------------------------------------------------------------- #; All settings can be set from the Advanced Settings page accessible in FreePBX #;-------------------------------------------------------------------------------- # #

Inside /etc/apache2/envvars replace the www-data user and group with asterisk. 3. My theory is you may not even have namevirtualhosts enabled. jfinstrom (TheJames) 2014-05-22 16:35:38 UTC #9 did you reboot after? from a command prompt as root run the command “mysql” without the quotes.

So.... DS Cluster - Follow our Sitemap Home Home Recent Posts Recent Activity Authors Forums Search Forums Recent Posts Resources Search Resources Most Active Authors Latest Reviews Members Notable Members Current thanks everyone. it wasn't okay.

I tried going back to the beginning with no luck. dicko 2014-03-05 17:30:52 UTC #2 Your apache user needs access to the asterisk user's home directory, either run both asterisk and your web server under the same user or edit your The include_path is: include_path = ".:/usr/local/lib/php:/usr/share/pear/" But somehow require_once( "DB.php" ); doesn't work. once inside the mysql prompt run the SQL statement “use mysql” then run the SQL statement “UPDATE user set Password=PASSWORD(‘newsecretpassword’) WHERE User=’freepbx’ then run the SQL statement “flush privileges” exit the

As for limiting access, try using IPTABLES, builtin firewall on *Nix systems. I've only worked through the GUI so far. Useful Searches Recent Posts PIAF - Your own Asterisk Linux PBX Forums Forum Topics Help This site uses cookies. The solution for me was to just recreate the hash for the password I chose and poke it into the database I also found I couldnt enable Hidden settings and Read

marksat 2014-05-22 17:01:48 UTC #10 Yes, rebooted afterwards. next page → Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled PEAR Packages Forums: » Register«| User CP| Games| Calendar| Find all posts by wiesemann Find all threads by wiesemann Add wiesemann to Your Buddy List Warn kclee View kclee's Warnings View your Warnings #7 February Thanks.

Edit your /etc/rc.local and add the following line before the exit 0 line. /usr/local/sbin/amportal start sudo vi /etc/rc.local Reboot your machine, and check that everything is still working. We could offer more details if we knew what Distro and Version of things you are running. No, create an account now. I'll not always be around to clean up after an outage.

I wonder whether the mysql extension is correctly loaded, and check this by PEAR::loadExtension('mysql'). Is there any way to repair this or do I have to dump everything (mysql, apache, etc.) and start over? bksales (Bob Reiber) 2014-05-23 01:10:54 UTC #16 stop digging. Any help is appreciated.

By using, accessing, or advertising on this site, you agree to waive all legal claims against the following entities and members: PBX in a Flash Development Team, Incredible PBX Development Team, Good luck! I also check DB::assertExtension('mysql'), and the function is simply undefined. (Fatal error: Call to undefined method DB::assertextension()) It seems that the mysql extension is not loaded. I think it probably works better.

I haven't edited any of the files manually up until now. We also use these directories for FreePBX /etc/freepbx /var/log/freepbx /usr/share/freepbx In the /etc/freepbx I store the necessary vhost configuration, in /usr/share/freepbx lives the public accessible files, and /var/log/freepbx hosts the logging Does phpinfo() show the mysql block in its output? Here is freepbx.conf [[email protected] etc]# more /etc/freepbx.conf

Does phpinfo() show the mysql block in its output? I never managed to find any recent tutorials, so I am working on a compilation of various websites and getting close. You could for example, only allow SSH from anywhere but limit others to only internal networks. marksat 2014-05-22 14:57:44 UTC #5 Hi jfinstrom, I don't know how to "remove your mysql lock file".

I suspect I had done something earlier in the week that caused it. It seems updates overwrite the changes you make to this file sudo sed -e s/BACKGROUND=0/BACKGROUND=1/ -i /usr/sbin/safe_asterisk Everything in place, time to start amportal: sudo amportal start We have to start What is the hostname of your pbx? Thanks for any suggestions.

Ashley Drees Expand Collapse New Member Joined: Jul 23, 2013 Messages: 6 Likes Received: 0 Thanks for the above link, i have run through the page and indeed asterisk was running Your sample code creates DB dbname, but the scripts reference asterisk. During the freepbx installation with ./install_amp DO NOT change the default login details for Asterisk Manager, leave them as admin/amp111. dickyam 2012-12-10 07:32:07 UTC #6 thanks, sanjayws.

it throws...