Hi again,

well it doesn´t work. But it doesn´t matter whether the mysql is named
root and has full rights or nfsight...

Ok, I dropped the database again, deleted config.php
Next step, back to mysql:

CREATE DATABASE nfsight;
GRANT ALL PRIVILEGES ON nfsight.* TO 'nfsight'@'%' IDENTIFIED BY 'nfsight';
GRANT ALL PRIVILEGES ON nfsight.* TO 'nfsight'@'localhost' IDENTIFIED
BY 'nfsight';
GRANT ALL PRIVILEGES ON nfsight.* TO 'nfsight'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
quit;


Rerun http:///mydomain.com/nfsen/nfsight/installer.php with "nfsight"
for admin and "nfsight" for password. (I use "nfsight" everywhere, for
the mysql user/password and the nfsight admin user/password. Of course
that is not the same thing)

At the end of installer.php it tells me the same thing as before:

Successfully connected to the MySQL database
Table aggregation_log successfully created
Table log successfully created
Table config successfully created
Table server_discovery_day successfully created
Table server_discovery successfully created
Table whitelist successfully created
Table alert successfully created
Table nfids successfully created
Table preferred_subnet successfully created
Table server_discovery_hour successfully created
Table user successfully created


I edited /data/nfsen/etc/nfsen.conf, stopped and started nfsen.
When I enter http:///mydomain.com/nfsen/nfsight/index.php and put in
the credentials it still tells me:

"Incorrect id/password. If you forgot your password, please send an email"


mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| nfsight            |
| performance_schema |
+--------------------+
4 rows in set (0,00 sec)

mysql> use nfsight;
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
mysql> show tables;
+-----------------------+
| Tables_in_nfsight     |
+-----------------------+
| aggregation_log       |
| alert                 |
| config                |
| log                   |
| nfids                 |
| preferred_subnet      |
| server_discovery      |
| server_discovery_day  |
| server_discovery_hour |
| user                  |
| whitelist             |
+-----------------------+
11 rows in set (0,01 sec)

mysql> select * from user;
Empty set (0,00 sec)

mysql>

Well, shouldn´t there be an entry with the admin user I selected for
nfsight http login named "nfsight"?

Chris

2015-01-25 10:28 GMT+01:00 Christian Kraus <christian.kr...@gmail.com>:
> Hello all,
>
> I wanted to setup nfsight. I installed nfsen: webserver is running, no
> problem, data is coming in.
>
> Next step: nfsight:
> - I ran the installer.php after creating every files/directory, no problem:
> mysql with root, no complain at the end, tables have been created. (Of
> course I edited the configs, restarted nfsgiht by hand, no complains there)
> - Next one logging in: wrong ID it said, so I deleted the config.php, rerun
> the installer.php (several times), give me "test" "test" for user and
> password, no success. I even changed from "Ubuntu 14.04" and did the setup
> on a Centos 7, but still same problem, login ID wrong it said.
> - So I looked at the database: "use nfsight;" "show tables;"
> the tables: aggregation_log, alert, config, log, nfids, preferred_subnet,
> server_discovery ... , user, whitelist. So that one looks ok.
> - Next step: "select * from user;" gives "Empty set"
>
> So, there was no login user created by the installer.php?
>
> I use user "root" (show grants for root;) with "GRANT ALL PRIVILEGES on
> ´nfsight`.* to root ... with GRANT OPTION".  So it should have every right?
> Did I miss something?
> Btw, nfsight-beta-20140905.tgz is being uses.
>
> So for now, I really don´t know where to look next. It would be great if
> someone could give some hints.
>
> Regards
> Chris

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to