New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fresh install errors Ubuntu 14.04 LTS #870
Comments
You are trying to access http://ip/MISP/app/ - just go to http://ip |
Also, from the error messages further down, it looks like your database.php file is not set up correctly (found in /var/www/MISP/app/Config/database.php) |
Hmm still cant find the error. My databse.php class DATABASE_CONFIG {
After looking over my installation log file it seams that everything is in "order" pw, db, dbname are in order. Maby this is part of the problem or does it matter I also see that MIPS is not my default root. it is placed under (http://192.168.177.200/MISP/) Is there maby another installation script that works ?. |
That script is very old and for a different version of MISP. I don't know If MISP is running from http://192.168.177.200/MISP/ then make sure the Let me know if that works. On Thu, Jan 21, 2016 at 11:09 AM, honey4free notifications@github.com
|
As for the db settings, if you run mysql -u mispadmin -p misp and use the password that you've supplied in the database.php file - do you On Thu, Jan 21, 2016 at 11:16 AM, Andras Iklody andras.iklody@gmail.com
|
Something that could make it a lot easier is the Travis script that @Rafiot developed: https://github.com/MISP/MISP/blob/2.4/.travis.yml |
I reverted the changes and configured the system based on the guide you sent iglocska. |
Glad it worked and looking forward to the script! -20c, wow, where abouts? Makes Oslo look warm in comparison... :) |
Grimstad, |
It is indeed, I work remotely :) Yeah it's been crazy cold lately! |
Just logged on and found another problem |
Maybe you have seen this problem before ? |
Can you check what the error message is? You can see it in /var/www/MISP/app/tmp/logs/error.log |
I found the first problem. |
Sweet it looks like everything works now. |
Excellent, let me know if anything goes south! |
Hi again. |
Yeah, you can either download the suricata rules of a single published event (download as on the left), get the full rule set of all the events on the instance (via the export page) or use the API to download all or a subset of the rules based on search parameters. You can read more about that on the automation page. |
As for connecting it to the world: There is no central MISP repository or anything like that, there are however MISP sharing communities out there where organisations interconnect their MISPs and exchange data. For example, CIRCL runs a MISP community for the private sector, I don't know what organisation you're working for, but have a read through this and get in touch via the e-mail address provided there: https://www.circl.lu/services/misp-malware-information-sharing-platform/ |
@honey4free Can we close this issue? Thank you. |
Close IT :) Mvh
|
The thing wont work.
i get a when trying to access http://ip/MISP/app/
An Internal Error Has Occurred.
Error: An Internal Error Has Occurred.
Download: PGP/GPG key
Powered by MISP
Loading
2016-01-21 09:16:09 Error: Fatal Error (1): Call to undefined method App::checkMISPVersion() in [/var/www/MISP/app/Controller/AppController.php, line 82]
2016-01-21 09:16:09 Error: [InternalErrorException] Internal Server Error
Request URL: /MISP/app/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(1, 'Call to undefin...', '/var/www/MISP/a...', 82)
#1 [internal function]: ErrorHandler::handleError(1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(933): call_user_func('ErrorHandler::h...', 1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(906): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
2016-01-21 09:16:31 Error: Fatal Error (1): Call to undefined method App::checkMISPVersion() in [/var/www/MISP/app/Controller/AppController.php, line 82]
2016-01-21 09:16:31 Error: [InternalErrorException] Internal Server Error
Request URL: /MISP/app/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(1, 'Call to undefin...', '/var/www/MISP/a...', 82)
#1 [internal function]: ErrorHandler::handleError(1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(933): call_user_func('ErrorHandler::h...', 1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(906): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
2016-01-21 09:16:44 Error: Fatal Error (1): Call to undefined method App::checkMISPVersion() in [/var/www/MISP/app/Controller/AppController.php, line 82]
2016-01-21 09:16:44 Error: [InternalErrorException] Internal Server Error
Request URL: /MISP/app/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(1, 'Call to undefin...', '/var/www/MISP/a...', 82)
#1 [internal function]: ErrorHandler::handleError(1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(933): call_user_func('ErrorHandler::h...', 1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(906): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
2016-01-21 09:19:31 Error: Fatal Error (1): Call to undefined method App::checkMISPVersion() in [/var/www/MISP/app/Controller/AppController.php, line 82]
2016-01-21 09:19:31 Error: [InternalErrorException] Internal Server Error
Request URL: /MISP/app/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(1, 'Call to undefin...', '/var/www/MISP/a...', 82)
#1 [internal function]: ErrorHandler::handleError(1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(933): call_user_func('ErrorHandler::h...', 1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(906): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
2016-01-21 09:20:51 Error: Fatal Error (1): Call to undefined method App::checkMISPVersion() in [/var/www/MISP/app/Controller/AppController.php, line 82]
2016-01-21 09:20:51 Error: [InternalErrorException] Internal Server Error
Request URL: /MISP/app/webroot/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(1, 'Call to undefin...', '/var/www/MISP/a...', 82)
#1 [internal function]: ErrorHandler::handleError(1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(933): call_user_func('ErrorHandler::h...', 1, 'Call to undefin...', '/var/www/MISP/a...', 82, Array)
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Core/App.php(906): App::_checkFatalError()
#4 [internal function]: App::shutdown()
#5 {main}
2016-01-21 09:21:02 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[28000] [1045] Access denied for user 'mispadmin'@'localhost' (using password: YES)',
'enabled' => true,
)
Request URL: /MISP/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(3626): ConnectionManager::getDataSource('default')
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1155): Model->setDataSource('default')
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(3653): Model->setSource('logs')
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1387): Model->getDataSource()
#6 /var/www/MISP/app/Plugin/SysLogLogable/Model/Behavior/SysLogLogableBehavior.php(267): Model->schema()
#7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(145): SysLogLogableBehavior->setup(Object(User), Array)
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(66): BehaviorCollection->load('SysLogLogable.S...', Array)
#9 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(774): BehaviorCollection->init('User', Array)
#10 /var/www/MISP/app/Model/AppModel.php(44): Model->__construct(Array, NULL, NULL)
#11 [internal function]: AppModel->__construct(Array)
#12 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/ClassRegistry.php(169): ReflectionClass->newInstance(Array)
#13 /var/www/MISP/app/Plugin/SysLogLogable/Model/Behavior/SysLogLogableBehavior.php(263): ClassRegistry::init('User')
#14 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(145): SysLogLogableBehavior->setup(Object(Event), Array)
#15 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(66): BehaviorCollection->load('SysLogLogable.S...', Array)
#16 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(774): BehaviorCollection->init('Event', Array)
#17 /var/www/MISP/app/Model/AppModel.php(44): Model->__construct(Array, NULL, NULL)
#18 /var/www/MISP/app/Model/Event.php(259): AppModel->__construct(Array, NULL, NULL)
#19 [internal function]: Event->__construct(Array)
#20 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/ClassRegistry.php(169): ReflectionClass->newInstance(Array)
#21 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(741): ClassRegistry::init(Array)
#22 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(367): Controller->loadModel('Event')
#23 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(405): Controller->__isset('Event')
#24 /var/www/MISP/app/Controller/AppController.php(82): Controller->__get('Event')
#25 /var/www/MISP/app/Controller/EventsController.php(41): AppController->beforeFilter()
#26 [internal function]: EventsController->beforeFilter(Object(CakeEvent))
#27 /var/www/MISP/app/Lib/cakephp/lib/Cake/Event/CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent))
#28 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(676): CakeEventManager->dispatch(Object(CakeEvent))
#29 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
#30 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#31 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#32 {main}
2016-01-21 09:21:34 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[28000] [1045] Access denied for user 'mispadmin'@'localhost' (using password: YES)',
'enabled' => true,
)
Request URL: /MISP/
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(3626): ConnectionManager::getDataSource('default')
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1155): Model->setDataSource('default')
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(3653): Model->setSource('logs')
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(1387): Model->getDataSource()
#6 /var/www/MISP/app/Plugin/SysLogLogable/Model/Behavior/SysLogLogableBehavior.php(267): Model->schema()
#7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(145): SysLogLogableBehavior->setup(Object(User), Array)
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(66): BehaviorCollection->load('SysLogLogable.S...', Array)
#9 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(774): BehaviorCollection->init('User', Array)
#10 /var/www/MISP/app/Model/AppModel.php(44): Model->__construct(Array, NULL, NULL)
#11 [internal function]: AppModel->__construct(Array)
#12 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/ClassRegistry.php(169): ReflectionClass->newInstance(Array)
#13 /var/www/MISP/app/Plugin/SysLogLogable/Model/Behavior/SysLogLogableBehavior.php(263): ClassRegistry::init('User')
#14 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(145): SysLogLogableBehavior->setup(Object(Event), Array)
#15 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/BehaviorCollection.php(66): BehaviorCollection->load('SysLogLogable.S...', Array)
#16 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Model.php(774): BehaviorCollection->init('Event', Array)
#17 /var/www/MISP/app/Model/AppModel.php(44): Model->__construct(Array, NULL, NULL)
#18 /var/www/MISP/app/Model/Event.php(259): AppModel->__construct(Array, NULL, NULL)
#19 [internal function]: Event->__construct(Array)
#20 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/ClassRegistry.php(169): ReflectionClass->newInstance(Array)
#21 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(741): ClassRegistry::init(Array)
#22 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(367): Controller->loadModel('Event')
#23 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(405): Controller->__isset('Event')
#24 /var/www/MISP/app/Controller/AppController.php(82): Controller->__get('Event')
#25 /var/www/MISP/app/Controller/EventsController.php(41): AppController->beforeFilter()
#26 [internal function]: EventsController->beforeFilter(Object(CakeEvent))
#27 /var/www/MISP/app/Lib/cakephp/lib/Cake/Event/CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent))
#28 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(676): CakeEventManager->dispatch(Object(CakeEvent))
#29 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
#30 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#31 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#32 {main}
The text was updated successfully, but these errors were encountered: