Install GLPI to scan network for basic audit - help need [SOLVED]

Started by t3rry, July 13, 2014, 12:54:03 PM

Previous topic - Next topic

t3rry

I want to use GLPI to scan network for basic software and hardware audit.
Backbox is installed to usb hard drive using the Startup Disk Creator

I am reading this page - http://www.glpi-project.org/wiki/doku.php?id=en:glpignu
The database for GLPI can also be setup via the UI that pops up asking to input password etc.,
which also fails.

The problem I have is
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'password'@'localhost' (using password: NO)'

I got stumped here. Can someone see what I'm missing and suggest me next step?


Thanks in advance.



weVeg

Hi t3rry!
the problem is reported here:
QuoteThe problem I have is
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'password'@'localhost' (using password: NO)'
is mysql up and running? do you have the right permissions? I don't know glpi but your trouble seem to be that you fail at login...
bye!
una voce libera รจ sempre liberatrice
under_r00t

t3rry

Thanks for moving this to the right area - I needed to scroll down the screen more, sorry.

First error was on account of not running apache...
now -
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I now realize BackBox has no root password so none for mysql server too
I'll search the forum for hints.

SOLUTION: removed mysql-server - did fresh install and gave it a password

Can I ask about moving to root? I have seen
1) backbox@backbox:~$ sudo su
root@backbox:/home/backbox#
2) backbox@backbox:~$ sudo -s
root@backbox:~#
Should I give one preference or not worry?

Cheers,

ZEROF

HI t3rry,

If you are doing in box you can use root as users, if you want to make something public add new user and never use root users for anything. Learn how to do that, it's fun and and much secure.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*