Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: PatchPanel 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).
yum install mod_perl
Results in
Parsing package install arguments
Nothing to do
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.
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
-
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 (http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smecontribs/i386/repoview/smeserver-ocsinventory.html).
This looks like the same contrib, but I can't find any concrete reference saying that "smeserver-inventory-tools" was renamed as "smeserver-ocsinventory".
-
Thanks.
"smeserver-ocsinventory"
worked.
Accessing the OCS inventory in the server panel shows following error
ERROR: MySql connection problem
Access denied for user 'ocs'@'localhost' (using password: YES)
:-(
PatchPanel
-
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:
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
-
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
-
Daniel,
I did what you advised, now I see
Table 'ocsweb.accountinfo' doesn't exist
regards
PatchPanel
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
Very strange... today only linux agents contact server OCS-NG_unified_unix_agent_v0.0.9.2, OCS-NG_unified_unix_agent_v1.1.2, no one of windows agent contact, OCS-NG_windows_client_v4061, OCS-NG_WINDOWS_AGENT_v2.0.0.20,
-
I do not know but suddenly the agents reported. but only OCS-NG_windows_client_v4061, no agents on newer versions
-
I don't think that it has anything to do with the WinAgent Version. I use 4032 and 4061 connecting to the same OCS Server and can't recognize any relation between connect succsess and WinAgent Version.
Sometimes it seems, there are days with many connects and days with no connects...
At some OCS Servers there are no connects since two months and it also istn't possible to force a connect with a manual start of the client.
Is it possible that some adjustments of apache changed two or three months ago which cause this behaviour?
Greetings, Uli
-
Hello,
now it seems the problem with the not-contacting Win-Clients could be solved...
For a successful contact you have to add one line to the "httpd.conf". Here's the process:
Create a template fragment:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
Modify the fragment:
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/97ocs
Insert the line " PerlSetEnv OCS_OPT_WEB_SERVICE_RESULTS_LIMIT 20 " and leave with saving.
Expand the template:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
Restart Apache:
/etc/init.d/httpd restart
Now OCS Win-agents should act normally.
Greetings, Uli
-
Great, I will try it and see what happens, as none of my Windows Boxes can contact the OCS Server..
-
Hello,
I've made it with OCS Server Version 4100 and the Client 4061. Up to today with eight installations, which now are working well again.
Could you give a short notice if it works for you?
Greetings, Uli