hi, Progress made, the module enable setup allowed me to redo the iningaweb2 setup and I had to add this table icingaweb_user to icinga database for it to store users. Now back to figuring out how to get the correct password hash in the database.
mark On Tue, Sep 29, 2015 at 11:50 AM, Eric Lippmann <eric.lippm...@netways.de> wrote: > icingacli module enable setup > On Sep 29, 2015, at 5:02 PM, Mark Maciolek <mark.macio...@gmail.com > <mailto:mark.macio...@gmail.com>> wrote: > > rpm -qf /usr/bin/icingacli > icingacli-2.0.0-4.rc1.el7.centos.noarch > > [root@netflow log]# icingacli setup > ERROR: There is no such module or command: 'setup' > > USAGE: icingacli [module] <command> [action] [options] > > Available commands: > > help Help for modules, commands and actions > module List and handle modules > web > > Available modules: > > doc > monitoring > > Global options: > > --verbose Be verbose > --debug Show debug output > --help Show help > --benchmark Show benchmark summary > --watch [s] Refresh output every <s> seconds (default: 5) > > Show help on a specific command : icingacli help <command> > Show help on a specific module : icingacli help <module> > > The log folder for icingaweb2 is empty. > > If I yum remove icingaweb2 and then reinstall it will I be able to run the > setup again? > > Mark > > On Tue, Sep 29, 2015 at 10:24 AM, Michael Friedrich < > michael.friedr...@netways.de<mailto:michael.friedr...@netways.de>> wrote: > > > On 29 Sep 2015, at 16:12, Mark Maciolek <mark.macio...@gmail.com<mailto: > mark.macio...@gmail.com>> wrote: > > > > hi, > > > > All done via yum install; > > > > Sep 24 13:56:52 Installed: > icingaweb2-vendor-dompdf-0.6.1-1.el7.centos.noarch > > Sep 24 13:56:52 Installed: > icingaweb2-vendor-lessphp-0.4.0-1.el7.centos.noarch > > Sep 24 13:56:53 Installed: > icingaweb2-common-2.0.0-4.rc1.el7.centos.noarch > > Sep 24 13:56:57 Installed: > icingaweb2-vendor-HTMLPurifier-4.6.0-1.el7.centos.noarch > > Sep 24 13:56:59 Installed: > icingaweb2-vendor-Parsedown-1.0.0-1.el7.centos.noarch > > Sep 24 13:57:01 Installed: > icingaweb2-vendor-Zend-1.12.9-1.el7.centos.noarch > > Sep 24 13:57:02 Installed: > icingaweb2-vendor-JShrink-1.0.1-1.el7.centos.noarch > > Sep 24 13:57:04 Installed: icingaweb2-2.0.0-4.rc1.el7.centos.noarch > > > > I remember running this command: > > > > icingacli setup token create > > I guess icingacli was installed as rpm package too? > > > > > and using the token in the setup window. > > Now I get this: > > > > ERROR: There is no such module or command: ‘setup' > > Can you add a screenshot please? It’s hard to imagine what’s going on on > your side. > > Kind regards, > Michael > > > > > Mark > > > > On Tue, Sep 29, 2015 at 10:08 AM, Michael Friedrich < > michael.friedr...@netways.de<mailto:michael.friedr...@netways.de>> wrote: > > > > > On 29 Sep 2015, at 15:48, Mark Maciolek <mark.macio...@gmail.com > <mailto:mark.macio...@gmail.com>> wrote: > > > > > > hi, > > > > > > Thanks for the link, I had missed the part about the ido-mysql.conf > file change. I updated that and now the log shows data being dumped into > the database. > > > > > > I still cannot login to the web page though. Some documents shows user > root and password as the default login but that does not work. > > > The authentication.ini file shows resource icingaweb_db Is there > supposed to be a separate database for user logins? > > > > Icinga Web 2 is a separate application, therefore it would be > interesting to see how you did install it in the first place. > > > > Kind regards, > > Michael > > > > > > > > Mark > > > > > > On Tue, Sep 29, 2015 at 9:00 AM, Michael Friedrich < > michael.friedr...@netways.de<mailto:michael.friedr...@netways.de>> wrote: > > > > > > > On 29 Sep 2015, at 14:47, Mark Maciolek <mark.macio...@gmail.com > <mailto:mark.macio...@gmail.com>> wrote: > > > > > > > > Hi, > > > > > > > > > > > > New install on Scientific Linux 7, I can login at the command line > to the mysql database as user icinga with password and at localhost. > > > > > > > > > > > > [root@netflow icinga2]# mysql -h localhost -u icinga -p > > > > > > > > Enter password: > > > > > > > > Welcome to the MariaDB monitor. Commands end with ; or \g. > > > > > > > > Your MariaDB connection id is 35533 > > > > > > > > Server version: 5.5.44-MariaDB MariaDB Server > > > > > > > > > > > > Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others. > > > > > > > > > > > > Type 'help;' or '\h' for help. Type '\c' to clear the current input > statement. > > > > > > > > > > > > MariaDB [(none)]> use icinga > > > > > > > > Reading table information for completion of table and column names > > > > > > > > You can turn off this feature to get a quicker startup with -A > > > > > > > > > > > > Database changed > > > > > > > > MariaDB [icinga]> > > > > > > > > > > > > > > > > I cannot login to the web page though: > > > > > > > > > > > > [2015-09-29 08:45:01 -0400] critical/IdoMysqlConnection: Connection > to database 'icinga' with user 'icinga' on 'localhost:3306' failed: "Access > denied for user 'icinga'@'localhost' (using password: YES)" > > > > > > > > Context: > > > > > > > > (0) Reconnecting to MySQL IDO database 'ido-mysql' > > > > > > > > > > > > [2015-09-29 08:45:01 -0400] critical/IdoMysqlConnection: Exception > during database operation: Verify that your database is operational! > > > > > > > > > > > > Any suggestions on where to start troubleshooting what the problem > might be? > > > > > > > > > > That’s not the web page but the icinga2 daemon running the ido-mysql > feature. Check that your database credentials are uptodate. > > > > http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#enabling-ido-mysql > > > > > > Kind regards, > > > Michael > > > > > > > > > > > > > > Mark > > > > > > > > > > > > --Mark Maciolek > > > > > > > > _______________________________________________ > > > > icinga-users mailing list > > > > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > > > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > > > > > > -- > > > Michael Friedrich, DI (FH) > > > Senior Developer > > > > > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > > > Tel: +49 911 92885-0<tel:%2B49%20911%2092885-0> | Fax: +49 911 > 92885-77<tel:%2B49%20911%2092885-77> > > > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > > > http://www.netways.de<http://www.netways.de/> | > michael.friedr...@netways.de<mailto:michael.friedr...@netways.de> > > > > > > ** OSMC 2015 - November - netways.de/osmc<http://netways.de/osmc> ** > > > ** OSDC 2016 - April – netways.de/osdc<http://netways.de/osdc> ** > > > _______________________________________________ > > > icinga-users mailing list > > > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > > > _______________________________________________ > > > icinga-users mailing list > > > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > > > -- > > Michael Friedrich, DI (FH) > > Senior Developer > > > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > > Tel: +49 911 92885-0<tel:%2B49%20911%2092885-0> | Fax: +49 911 92885-77 > <tel:%2B49%20911%2092885-77> > > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > > http://www.netways.de<http://www.netways.de/> | > michael.friedr...@netways.de<mailto:michael.friedr...@netways.de> > > > > ** OSMC 2015 - November - netways.de/osmc<http://netways.de/osmc> ** > > ** OSDC 2016 - April – netways.de/osdc<http://netways.de/osdc> ** > > _______________________________________________ > > icinga-users mailing list > > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > _______________________________________________ > > icinga-users mailing list > > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > -- > Michael Friedrich, DI (FH) > Senior Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0<tel:%2B49%20911%2092885-0> | Fax: +49 911 92885-77 > <tel:%2B49%20911%2092885-77> > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de<http://www.netways.de/> | > michael.friedr...@netways.de<mailto:michael.friedr...@netways.de> > > ** OSMC 2015 - November - netways.de/osmc<http://netways.de/osmc> ** > ** OSDC 2016 - April – netways.de/osdc<http://netways.de/osdc> ** > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > https://lists.icinga.org/mailman/listinfo/icinga-users > > <icingaweb2.PNG>_______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org> > https://lists.icinga.org/mailman/listinfo/icinga-users > > > -- > Eric Lippmann > Lead Senior Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | eric.lippm...@netways.de > > ** OSMC 2015 - November - netways.de/osmc ** > ** OSDC 2016 - April – netways.de/osdc ** > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users