Hi jbrunkow,
while trying to figure out how I could add another user to nagvis to login as, I figured out that I was using the wrong password. I had thought the default username/password was admin/nagiosadmin and when logging in with that I get the above errors.
However, I was able to login with admin/admin. Now I am getting a stack of errors when I try to access any of the demo maps or a map I tried to create myself. The errors are
Code: Select all
Error: (0) Trying to access array offset on value of type int
URL: /nagvis/server/core/ajax_handler.php?mod=Map&act=getMapObjects&show=lhshome&header_menu=1&hover_menu=1&context_menu=1&zoom=100&_ajaxid=1594423582
File: /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php
Line: 970
#0 /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php(970): nagvisExceptionErrorHandler()
#1 /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php(489): GlobalMapCfg->verifyObjectIds()
#2 /usr/local/nagvis/share/server/core/classes/CoreModMap.php(319): GlobalMapCfg->readMapConfig()
#3 /usr/local/nagvis/share/server/core/classes/CoreModMap.php(105): CoreModMap->getMapObjects()
#4 /usr/local/nagvis/share/server/core/functions/index.php(120): CoreModMap->handleAction()
#5 /usr/local/nagvis/share/server/core/ajax_handler.php(59): require('/usr/local/nagv...')
#6 {main}
the output of that grep is
Code: Select all
;dbhost="localhost"
;dbuser="root"
;dbpass=""
This is a brand new, clean install of 5.7.1
I will send the config via pm as requested.
Regards,
Chris.