@roger8 wrote:
I loaded using http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+Debian+8.1
everything was fine only issue was when I went to install freepbx
root@asteriskdebian:/usr/src/freepbx# ./install -n
Assuming you are Database Root
Checking if SELinux is enabled...Its not (good)!
No /etc/asterisk/asterisk.conf file detected. Installing...Writing /etc/asterisk/asterisk.conf...Done
Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Done
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install...Yes (No /etc/amportal.conf file detected)
Database Root installation checking credentials and permissions..Error!
Invalid Database Permissions. The error was: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
root@asteriskdebian:/usr/src/freepbx#
i noted that I was never asked to create a database so i went ahead and did this
` mysqladmin -uroot -pPASS4mysql create asterisk
mysqladmin -uroot -pPASS4mysql create asteriskcdrdbmysql -uroot -pPASS4mysql -e "GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'PASS'"
mysql -uroot -pPASS4mysql -e "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'PASS'" `./install finnaly ran proper but now when I go to the web address I get this big Whoops! There was a error in the title
`
/var/www/html/admin/modules/userman/Userman.class.php991Whoops \ Exception \ ErrorException (E_ERROR)
Class 'FreePBX\modules\Userman\Auth\freepbx' not found
/var/www/html/admin/modules/userman/Userman.class.php* @param string $auth The authentication engine name, will default to freepbx */ private function switchAuth($auth = 'freepbx') { $this->getAuths(); if(!empty($auth)) { $class = 'FreePBX\modules\Userman\Auth\\'.$auth; try { $this->auth = new $class($this, $this->FreePBX); } catch (\Exception $e) { //there was an error. Report it but set everything back
Server/Request Data
Apache/2.4.10 (Debian) Server at x.x.x.x Port 80
HTACCESS on
HTTP_HOST x.x.x.x
HTTP_USER_AGENT Mozilla/5.0 () Gecko/20100101 Firefox/43.0
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_CONNECTION keep-alive
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.10 (Debian)
SERVER_NAME x.x.x.x.x
SERVER_ADDR x.x.x.x.x
SERVER_PORT 80
REMOTE_ADDR x.x.x.x.x
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 47601
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /admin/config.php
SCRIPT_NAME /admin/config.php
PHP_SELF /admin/config.php
REQUEST_TIME_FLOAT 1453867734.041
REQUEST_TIME 1453867734
GET Data
empty
POST Data
empty
Files
empty
Cookies
lang en_US
Session
empty
Environment Variables
empty
Registered Handlers`
What does the " -n " for the install do?
I have tried to search for this getting alot not directly related.
i need a hint to get this running . like I said everything went smooth in the install no missing or dependencies all loaded good. i can get you a list or what ever info you need i want this to run. i want to run the latest on my Debian.
Posts: 9
Participants: 3