Login
Register
Questions
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.
Please ask questions only in English or French.
Release 2.12.3 available
The official documentation can be found on
https://wiki.ocsinventory-ng.org
. Read it before asking your question.
Categories
All categories
OCS Inventory NG server
(2.5k)
OCS Inventory NG server for Unix
(1.9k)
OCS Inventory NG server for Windows
(320)
Administrative console
(311)
OCS Inventory NG agent
(1.5k)
OCS Inventory NG plugins
(61)
Network features
(138)
Developers
(128)
Cannot change admin password nor create a user
I've just installed ver 2.2, I create new user from the web interface, nothing happens. I try to change the admin password, no luck. Rest everything else is ok, I can add systems to the inventory, glpi is also functioning well, can import from ocs.
asked
May 9, 2016
in
OCS Inventory NG server for Unix
by
sajiv
(
120
points)
Share on
share on gp
share on fb
share on tw
share on li
Please
log in
or
register
to answer this question.
2
Answers
0
votes
Hi,
Have you some errors into apache error_log and/or in mysql.log files when you change the admin password or create a new user?
Regards
Frank
answered
May 9, 2016
by
frankb
(
90.4k
points)
Hi Frank,
I see this on the error log
Mon May 09 11:31:27.319862 2016] [:error] [pid 19648] [client 10.1.1.101:50559] PHP Fatal error: Call to undefined function password_hash() in /usr/share/ocsinventory-reports/ocsreports/require/function_users.php on line 126, referer: http://10.1.1.11/ocsreports/index.php?function=admin_add_user
regards
Sajiv
Hi,
php-mcrypt-5.4.16-4.el7.x86_64 is installed. OS: CentOS 7.2. SElinux disabled.
OCSNG_UNIX_SERVER-2.2 from the website was installed (not using rpm)
regards
Sajiv
Please
log in
or
register
to add a comment.
0
votes
Hi
It seems that php-mcrypt library is not installed. If no install it then restart apache.
Regards
Frank
answered
May 9, 2016
by
frankb
(
90.4k
points)
phpinfo output:
mcrypt
mcrypt support
enabled
mcrypt_filter support
enabled
Version
2.5.8
Api No
20021217
Supported ciphers
cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes
cbc cfb ctr ecb ncfb nofb ofb stream
Hi Frank,
It seems to be a bug. It's seems I have to use an older version of php < 5.4
https://github.com/OCSInventory-NG/OCSInventory-ocsreports/issues/61
regards
Sajiv
Please
log in
or
register
to add a comment.
Powered by
Question2Answer
...