Difference between revisions of "Talk:OCS Inventory Tools"

From SME Server
Jump to navigationJump to search
Line 11: Line 11:
 
[[User:Snoble|Snoble]] 06:46, 4 November 2007 (MST)
 
[[User:Snoble|Snoble]] 06:46, 4 November 2007 (MST)
  
 
Yes, deployment does not work right now.
 
I'm trying to fix it.
 
First thing, you need to delete this line on Apache template 97ocs:
 
php_admin_value open_basedir /opt/inventory/ocs/
 
 
Now the problem is that OCS locates the "download" folder in ''/home/e-smith/files/ibays/Primary/html/download/'' instead of ''/opt/inventory/ocs/download''
 
 
I think they use the Apache real "DocumentRoot" to locate this folder...
 
If you know a workaround, I'm listening!
 
Adding the download folder in Primary ibay with www:www 0770 corrected the upload problem but this folder shouldn't go in the Primary ibays for many reasons!
 
 
 
[[User:Cool34000|Cool34000]]
 
  
 
Stefen, I've added a few pics for GLPI. It's not very detailled but at least people will know how to sync GLPI with OCS.
 
Stefen, I've added a few pics for GLPI. It's not very detailled but at least people will know how to sync GLPI with OCS.
Line 47: Line 33:
  
 
Cool34000
 
Cool34000
 +
 +
yes the howto should warn deploy and ipdiscover don't work yet
 +
 +
thanks for the new rpm, deploy > build now works (uploads to downloads)
 +
 +
deploy > activate fails, currently you can't see www/download, you need to edit the httpd fragment. eg.
 +
Alias /download /opt/inventory/ocs/download
 +
<Directory /opt/inventory/ocs/download>
 +
    Options None
 +
    Options +Indexes
 +
    Options +Includes
 +
    AllowOverride None
 +
    order deny,allow
 +
    deny from all
 +
    allow from 127.0.0.1 192.168.35.0/255.255.255.0
 +
  php_admin_value open_basedir /opt/inventory/ocs:/tmp
 +
</Directory>
 +
 +
now you can see it but activate still fails !@#$
 +
 +
 +
glpi doesn't give me any menus or icons
 +
 +
[[User:Snoble|Snoble]] 01:21, 5 November 2007 (MST)

Revision as of 09:21, 5 November 2007

a. A big warning needs to be added that deployment does not work. (building a package)

b. /glpi logs in but there is nothing to see, are there other steps to do ?

c. cactus, did you revert more than you intended ?
see http://wiki.contribs.org/index.php?title=OCS_Reports_and_GLPI&oldid=5868
and the current fr version, there are manual references and OCS usage
I was going to remove the deployment section when i couldn't get it to work but it was all gone ;-)


Snoble 06:46, 4 November 2007 (MST)


Stefen, I've added a few pics for GLPI. It's not very detailled but at least people will know how to sync GLPI with OCS.

Maybe we should add back IP discovery and deployment sections and make a warning box to warn people that ipdiscovery has not been tested yet and that deployment do not work right now. That's what I did in the French article (as I translated the modified article into French while you were reverting changes) As soon as I will find a fix for the download folder, I will build a new RPM.


Cool34000

Hi again...

I've made a new RPM with a few modifications. New RPM&SRPM can be found here (as soon as mirors will sync)

  • index.php was fixed by adding the following line to fix the location of the download folder:
$_SERVER["DOCUMENT_ROOT"]="/opt/inventory/ocs";
  • ocsagent.exe was added to ./ocs/files/ (found this info in guide.pdf)
  • Apache template was modified to allow upload. I don't know if the 1st modification is useful:
Alias /download /opt/inventory/ocs/download
...
php_admin_value open_basedir /opt/inventory/ocs:/tmp

Cool34000

yes the howto should warn deploy and ipdiscover don't work yet

thanks for the new rpm, deploy > build now works (uploads to downloads)

deploy > activate fails, currently you can't see www/download, you need to edit the httpd fragment. eg.

Alias /download /opt/inventory/ocs/download
<Directory /opt/inventory/ocs/download>
   Options None
   Options +Indexes
   Options +Includes
   AllowOverride None
   order deny,allow
   deny from all
   allow from 127.0.0.1 192.168.35.0/255.255.255.0
 php_admin_value open_basedir /opt/inventory/ocs:/tmp
</Directory>

now you can see it but activate still fails !@#$


glpi doesn't give me any menus or icons

Snoble 01:21, 5 November 2007 (MST)