Misp: An internal error has occurred on web interface

Created on 17 Aug 2017  路  17Comments  路  Source: MISP/MISP

I tried logging into the web-interface of MISP after completing the install instructions. I get an error that says:

" An Internal Error Has Occurred.
Error: An Internal Error Has Occurred."

Most helpful comment

@WakandaKing Curious because seeing the reflection of the picture on your desk ;-)

All 17 comments

Could you paste the stack trace from /var/www/MISP/app/tmp/logs/error.log?

" 2017-08-17 08:44:47 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes : array (
'class' => 'Mysql',
'message' => 'SQLSTATEMENT[HY000] [1045] Access denied for user \'misp\'@\'localhost\' (using password: YES)',
'enabled' => true,
)
Request URL:/
Stack Trace:

0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource.php(269): Mysql->connect()

1 /var/www/MISP/app/Lib/Cakephp/lib/Cake/Model/ConnectionManager.php(105): DBoSource->_construct(Array)

2 /var/www/MISP/app/Controller/AppController.php(99): ConnectionManager::getDataSource('default')

3 /var/www/MISP/app/Controller/EventController.php(33):: AppController->beforeFilter()

4 /var/www/MISP/app/lib/cakephp/lib/Cake/Event/CakeEvent Manager.php(243): EventsController->beforeFilter(Object(CakeEvent))

5 /var/www//MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(677): CakeEventManager->dispatch(Object(CakeEvent))

6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()

7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))

8 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))

9 {main}

"

Access denied for user 'misp'@'localhost' (using password: YES)',

mysql credentials are wrong. Please fix it in /var/www/MISP/app/Config/database.php

I have opened the config.php file but i am not sure which paramters have to be set or fixed ,

img_8573

You opened the wrong damn file.

Please re-read the comment above.

I opened the right one, is it not /var/www/MISP/app/Config/config.php , check at the top on the image i posted

One of these filenames is not like the other
one of these filenames just doesn't belong
2017-08-17-113031

Im sorry about that , i made a reading error

I Have opened the right file now, see the attached image, i am not sure of which parameters i have to change
img_8574

The error was on my end, I wrote config.php first and then corrected it, the email was wrong. ;)

On step 9 of installation onstruction , there is a part that say "# delete the user from mysql and log in again using the default admin credentials ([email protected] / admin)"

So i deleted the user MISP on that step, so i now dont know what to change the 'login'paramter to since i Dropped that user as said on step #9

Which installation instructions are you using? They sound very wrong.

Got it sorted out , Thanks guys :)

Great news. What kind of coffee are you drinking?

@WakandaKing Curious because seeing the reflection of the picture on your desk ;-)

i have Error: An Internal Error Has Occurred. while connect web services

Great news. What kind of coffee are you drinking?

Asking the right questions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

honey4free picture honey4free  路  4Comments

yannw picture yannw  路  5Comments

honey4free picture honey4free  路  3Comments

WakandaKing picture WakandaKing  路  5Comments

Applenice picture Applenice  路  3Comments