Better solution to your issue is to do the folowing: sudo htpasswd /etc/ocsinventory/htpasswd.setup admin
Then set a password for the admin account. Also when it then asks for the details on the HTML page when you gain access you have to provide it you root mysql user and password and the server which will be localhost assuming this is actually ont he box you are running the install. Also there is a bug here where you will not be able to upload files. You need to do the following if /var/www/ocsinventory does not exist. sudo mkdir /var/www/ocsinventory sudo chown www-data:www-data /var/www/ocsinventory Another thing you need to verify is that you have enabled mod_perl on your server; sudo a2enmod perl And finally make sure your /etc/ocsinventory/ocsinventory.conf file has correct DB info in it that you did int he web based DB setup, and example of which is: # Database options # Replace localhost by hostname or ip of MySQL server, generally localhost PerlSetEnv OCS_DB_HOST localhost # Replace 3306 by port where running MySQL server, generally 3306 PerlSetEnv OCS_DB_PORT 3306 # Name of database PerlSetEnv OCS_DB_NAME ocsweb PerlSetEnv OCS_DB_LOCAL ocsweb # User allowed to connect to database PerlSetEnv OCS_DB_USER ocs # Password for user PerlSetVar OCS_DB_PWD ocspassword Hope this helps. For any developers who catch this the /var/www/ocsinventory directory was not created when I installed which blocked uploads. -- after install, can't make it work https://bugs.launchpad.net/bugs/238111 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs