Koozali.org: home of the SME Server

OCS inventory tools installation

Offline PatchPanel

  • ****
  • 84
  • +0/-0
OCS inventory tools installation
« on: January 31, 2011, 11:36:38 PM »
Hello,

trying to install the OCS Inventory Tools I followed the installation instructions mentioned in the Wiki (SME 7.5.1).

Code: [Select]
yum install mod_perl
Results in
Parsing package install arguments
Nothing to do

Code: [Select]
yum update perl-Compress-Zlib
Results in
Could not find update match for perl-Compress-Zlib
No Packages marked for Update/Obsoletion

The installation of the dependencies worked.


Code: [Select]
yum install smeserver-inventory-tools --enablerepo=smecontribs
Results in
Parsing package install arguments
No Match for argument: smeserver-inventory-tools
Nothing to do


 :-?

Any clue ?


PatchPanel

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: OCS inventory tools installation
« Reply #1 on: February 01, 2011, 03:12:55 PM »
When I browse the content of the smecontribs repository (http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smecontribs/i386/repoview/letter_s.group.html), I don't see any package named "smeserver-inventory-tools".

I do see a package named smeserver-ocsinventory.

This looks like the same contrib, but I can't find any concrete reference saying that "smeserver-inventory-tools" was renamed as "smeserver-ocsinventory".


Offline PatchPanel

  • ****
  • 84
  • +0/-0
Re: OCS inventory tools installation
« Reply #2 on: February 01, 2011, 11:19:52 PM »
Thanks.

Quote
"smeserver-ocsinventory"
worked.

Accessing the OCS inventory in the server panel shows following error
Code: [Select]
ERROR: MySql connection problem
Access denied for user 'ocs'@'localhost' (using password: YES)

 :-(


PatchPanel

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: OCS inventory tools installation
« Reply #3 on: February 02, 2011, 08:23:12 AM »
Hi.

I'm the maintener of smeserver-ocsinventory. it's not the same as smeserver-inventory-tool (which provided GLPI as well), it's just the OCS part (standalone).
Once you've installed the rpm, you need to run:
Code: [Select]
signal-event ocs-update
Then, go to https://yourserver/ocs/install.php and validate this page. OCS should then be available. Once your here, you can follow the inventory-tool documentation (for the OCS part at least).

Regards, Daniel
C'est la fin du monde !!! :lol:

Offline PatchPanel

  • ****
  • 84
  • +0/-0
Re: OCS inventory tools installation
« Reply #4 on: February 02, 2011, 11:07:20 PM »
Bonsoir,

what do I have to do to install to whole package including GLPI and -if necessary- rollback the installation done so far ?
(No further action has been taken since my last post)

What about the installation issue I have reported ?

Thanks for your help
et les meilleurs salutations

PatchPanel

Offline PatchPanel

  • ****
  • 84
  • +0/-0
Re: OCS inventory tools installation
« Reply #5 on: February 20, 2011, 01:20:15 PM »
Daniel,

I did what you advised, now I see

Code: [Select]
Table 'ocsweb.accountinfo' doesn't exist
regards
PatchPanel

Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #6 on: February 25, 2011, 03:26:48 AM »
Hello,

after install I got the same message. Reason was, that I forgot to go to:

"go to https://yourserver/ocs/install.php"

After doing this, all was ok.

Regards, Uli
« Last Edit: February 25, 2011, 03:32:50 AM by uli334 »

Offline PatchPanel

  • ****
  • 84
  • +0/-0
Re: OCS inventory tools installation
« Reply #7 on: February 27, 2011, 12:45:16 PM »
Oh sorry, I made the same mistake... :oops:

now it works.

On the OCS website the software version is 2.whatever.
Are there plans to update the contrib as well ?


regards
PatchPanel


Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #8 on: April 10, 2011, 05:02:55 AM »
Hello,

at the moment Installation of "smeserver-ocsinventory" is not possible, because of an unsolved dependency:

"perl(XML::SAX) >= 0.15 is needed by package perl-XML-Simple"

Servers with installed OCS-Inventory cant be updated because of this problem...

Uli

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: OCS inventory tools installation
« Reply #9 on: August 31, 2011, 12:52:51 PM »
Good Day

The Wiki says to install the smeserver-inventory-tools , from smecontribs , this isnt possible..I found the rpm here

http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smedev/i386/RPMS/smeserver-inventory-tools-1-7.el4.sme.i386.rpm

I will follow up to see how this changes the smeserver-ocsinventory rpm


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: OCS inventory tools installation
« Reply #10 on: August 31, 2011, 12:58:49 PM »
The Wiki says to install the smeserver-inventory-tools , from smecontribs , this isnt possible..

please, define..

and remember we are not in front of your monitor, so you must be our eyes..

thank you

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: OCS inventory tools installation
« Reply #11 on: August 31, 2011, 02:51:03 PM »
on the following page

http://wiki.contribs.org/OCS_Inventory_Tools

There is a command

 yum install smeserver-inventory-tools --enablerepo=smecontribs

This is not possible, as the contrib doesnt exist..when I do a search of the mirrors, I found the file at the above location in the link, then I could install it.

If I read the rest of the post, I appears there is a smeserver-ocsinventory contrib, but this conflicts with teh inventory tools


Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-ocsinventory.noarch 0:0.1-11.el4.sme set to be updated
--> Running transaction check
--> Processing Conflict: smeserver-ocsinventory conflicts smeserver-inventory-tools
--> Finished Dependency Resolution
Error: smeserver-ocsinventory conflicts with smeserver-inventory-tools
« Last Edit: August 31, 2011, 02:53:04 PM by shawnbishop »

Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #12 on: September 06, 2011, 04:54:18 AM »
Hello,

I think there are two OCS-Inventory contribs, an older and a newer one.

- The one described in the Wiki is the older one (Ver. 4100 in Webinterface), it has been installed with:
"yum install smeserver-inventory-tools --enablerepo=smecontribs".
It installed the package "smeserver-inventory-tools-1-7.el4.sme.i386.rpm".
This installation came with OCS and GLPI
This package seems to lack in the "smecontribs" and the wiki hasn't been updated for correct functionality.
So, if you try the wiki, you dont success.

- The second and newer one (Ver. 1.02 in Webinterface) installs with:
"yum install smeserver-ocsinventory --enablerepo=smecontribs"
It installs the package "smeserver-ocsinventory-0.1-11.el4.sme.noarch.rpm"
This installation only includes OCS, it comes without GLPI

These two versions conflict with another.

Uli

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: OCS inventory tools installation
« Reply #13 on: September 21, 2011, 01:35:23 AM »
Hi
I have OCS inventory Ver. 4100,and GLPI 0.72.4, how i upgrade OCS to a new version.
Or how i remove old OCS but mantain GLPI?
Because OCS stop to recive info from computers.
TH

sory my english

Offline uli334

  • ****
  • 128
  • +0/-0
Re: OCS inventory tools installation
« Reply #14 on: September 21, 2011, 03:01:08 AM »
Hello,

- I don't know a way to upgrade OCS 4.100 on SME, with or without GLPI but would be interested in this too.
- But I've got the same problem as you, the workstation can't contact the OCS-Server and closes the connection.
In the logfile of the OCS client on the workstation you can read this:

"HTTP SERVER: The server returned an invalid or unrecognized response"

Curios seems to me that this contact in seldom cases is successful - if you try for five or six times, then one time the agent gets contact to the OCS Server and the communication is ok. But its only sometimes.

Can someone help or give a hint in the right direction to get OCS (maybe a newer version...) still working solidly again?

Uli