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> wrote:

>
> > On 29 Sep 2015, at 16:12, Mark Maciolek <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> wrote:
> >
> > > On 29 Sep 2015, at 15:48, Mark Maciolek <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> wrote:
> > >
> > > > On 29 Sep 2015, at 14:47, Mark Maciolek <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
> > > > 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 | Fax: +49 911 92885-77
> > > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> > > http://www.netways.de | michael.friedr...@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
> >
> >
> > --
> > Michael Friedrich, DI (FH)
> > 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 | michael.friedr...@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
>
>
> --
> Michael Friedrich, DI (FH)
> 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 | michael.friedr...@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

Reply via email to