[Bug 238111] Re: after install, can't make it work
[Expired for ocsinventory-server (Ubuntu) because there has been no activity for 60 days.] ** Changed in: ocsinventory-server (Ubuntu) Status: Incomplete = Expired -- 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
[Bug 238111] Re: after install, can't make it work
** Changed in: ocsinventory-server (Ubuntu) Status: Confirmed = Incomplete -- 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
[Bug 238111] Re: after install, can't make it work
I've also this problem on 9.10. Fixed by sudo aptitude purge ocsinventory-reports sudo apti -- 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
[Bug 238111] Re: after install, can't make it work
I already had a LAMP (by hand) installation. I installed ocsinventory-server 1.01-5 I chose to set ocsinventory MySQL user and database during install. There is no bug! The problem with Apache authentication is not an OCS bug. The Ubuntu packager just chose to setup an auth security at Apache level. You just need to set a password: sudo htpasswd /etc/ocsinventory/htpasswd.setup admin It's more a config related info, than a bug. -- 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
[Bug 238111] Re: after install, can't make it work
** Changed in: ocsinventory-server (Ubuntu) Status: New = Confirmed -- 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
[Bug 238111] Re: after install, can't make it work
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
[Bug 238111] Re: after install, can't make it work
Warning please ignore my advice to create /var/www/ocsinventory It's a virtual directory.. that being said it does not function. 10.0.22.56 - - [29/Aug/2008:13:13:37 +0100] POST /ocsinventory HTTP/1.1 404 352 - OCS-NG_windows_client_v4048 which gives Not Found The requested URL /ocsinventory was not found on this server. Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8 Server at localhost Port 80 which seems to suggest at least the mod_perl is being called but it looks like /etc/ocsinventory/ocsinventory.conf is not working as it's giving a 404 -- 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
[Bug 238111] Re: after install, can't make it work
This fixes it, but for some reason the package did not create the symlink. should have been obvious to me.. oops sudo ln -s /etc/ocsinventory/ocsinventory.conf /etc/apache2/conf.d/ocsinventory.conf which correctly now shows: ls -l /etc/apache2/conf.d/ lrwxrwxrwx 1 root root 35 2008-08-29 13:17 ocsinventory.conf - /etc/ocsinventory/ocsinventory.conf lrwxrwxrwx 1 root root 33 2008-08-29 11:41 ocsreports.conf - /etc/ocsinventory/ocsreports.conf -- 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
[Bug 238111] Re: after install, can't make it work
I have a work around. There are two authentications that go on here. The first is for MySQL on your server and that is the one with the pretty web interface you see in all the documentation. You will need a root MySQL user login or another login with similar privileges here. The second login window that comes up that just asks for a login and password but no host is at htaccess password. For some reason this authentication is not working. To work around this edit /etc/ocsinventory/htpasswd.setup and change the only line in the file from: admin:* To: admin: This will clear the admin password and you will be able to authenticate correctly with the login: admin and a null password. This is not optimal but it will get you through the install. Another hitch worth noting is that it doesn't select a language by default and all of the screens will have no text. Choose the appropriate flag in the upper right of the index.php page and you'll get the text your looking for. -- 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
[Bug 238111] Re: after install, can't make it work
I'm experiencing the same problem. I can get to the start page (http://localhost/ocsreports) which drops me into an authentication page that is looking for a db login/password/host which will then run the OCS Reports Setup which I assume will set up the database. No matter what I put in for login's and passwords they are never accepted. No authentication means no DB setup which make this install broken. Web interface is provided by ocsinventory-reports. -- 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
[Bug 238111] Re: after install, can't make it work
Agreed this doesn't work. What I have found is that the problem appears to be related to the fact that there is no MYSQL tables set up, by looking in the apache log file, Perl is crying. -- 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