Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG server
Viewing all 7071 articles
Browse latest View live

OCS version upgrade from 2.05 to 2.5.x

$
0
0

 Hi OCS support team,

We are using OCS for the past few years and we have many devices registered with it and OCS Inventory is handling the device management  ( the version we are using is 2.05) . Now we have planned to go for upgrade to 2.5.x.

To upgrade from 2.0.5 ( version we are using it ) to 2.5 ( latest version released by ocs inventory) following the sequence of upgrade

step 1) upgrade from 2.0.5 to 2.1.x 

Step 2)  2.1.x  to 2.2.

Step 3) 2.2.x to  2.3.x

Step 4) 2.3.x to  2.4 and then 2.5.

Outcome:

-  upgrade from 2.05 to 2.1.1 is successful

-  Upgrade from 2.1.x to 2.2 is having some issues due to some database fields are missing from the old version.  For example in the table accountinfo_config , new column added (default_value) which does not  exist in  older version (2.05/2.1.1) due to that ocs reports web console failed to retrieve data.

Can you please suggest the workaround  and other options? to upgrade from 2.05 to 2.5.x ( version to version) with db field changes and without any loss of data

Thanks

Karthik 


Answered: Disable SSL for Deployment from server?

$
0
0
Ok, now I'm registered and online at IRC

Searching for multiple sofware shows nothing

$
0
0
Hello there,

if I'm searching for more than one software package at the same request I will get no result. But if I'm searching for the same packages in various requests I'll get all computers with the installed ones. Independendtly of wether computer who have the packages are the same.

Has anyone an idea how to make a request for all packages at the same time?

Answered: Searching for multiple sofware shows nothing

$
0
0
Hi Sokatra,

I tried it with AND and OR. AND doesn't work, just OR. But I need to know all software packages which are installed on the same computers.

How I said: If I make various requests on different packages I get all computers I need.

Upgrade to v2.5 - no data to accessible in OCS Web

$
0
0
Hello guys,

I'm facing issues after having upgraded my OCSInventory instance from 2.2.1 to 2.5 that there're no data visible/accessible via the webinterface.
There's only the navigation bar - trying to access for instance the computers or all software nothing will be displayed!?

If I access to the local database the data, tables, fields and values are available.

Currently I'm using
- PHP 5.4.45
- mysql  Ver 14.14 Distrib 5.5.54
- Apache/2.2.22

I did not find any errors in the activity.log - inventories are still getting transmitted!
Apache2 access log gets filled with data from the agent doing POST.

I'm really clueless and need help....

thanks in advance

Regards
sip_mw

Answered: Searching for multiple sofware shows nothing

$
0
0
ok - which exact version to you use ? 2.5.0 ?

What you can try is the following.

Search for the first software - for example "kaspersky" - make a static group out of it

To the same for the second software.

Now search for computers which are in group1 AND group2 - perhaps this works as expected

Plugin not executed by httpd on v2.5 ocs-ng

$
0
0
Hi,

Trying to setup "Plugin Vmware vCenter". on Red Hat Enterprise Linux Server release 7.6 (Maipo)

All files are installed succesfuly:

-rw-rw-rw-. 1 apache apache 54 Nov 28 15:33 /etc/ocsinventory-server/plugins/Vmware.conf
-rw-rw-rw-. 1 apache apache 5062 Nov 28 15:33 /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Vmware/Map.pm

Agent file also deployed:

-rw-r--r-- 1 root root 20087 Nov 29 20:34 /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Vmware.pm

But no Error messages or logs in the http log files either not sure what is not causing it to load and execute.

Loaded Modules:

 core_module (static)

 so_module (static)

 http_module (static)

 access_compat_module (shared)

 actions_module (shared)

 alias_module (shared)

 allowmethods_module (shared)

 auth_basic_module (shared)

 auth_digest_module (shared)

 authn_anon_module (shared)

 authn_core_module (shared)

 authn_dbd_module (shared)

 authn_dbm_module (shared)

 authn_file_module (shared)

 authn_socache_module (shared)

 authz_core_module (shared)

 authz_dbd_module (shared)

 authz_dbm_module (shared)

 authz_groupfile_module (shared)

 authz_host_module (shared)

 authz_owner_module (shared)

 authz_user_module (shared)

 autoindex_module (shared)

 cache_module (shared)

 cache_disk_module (shared)

 data_module (shared)

 dbd_module (shared)

 deflate_module (shared)

 dir_module (shared)

 dumpio_module (shared)

 echo_module (shared)

 env_module (shared)

 expires_module (shared)

 ext_filter_module (shared)

 filter_module (shared)

 headers_module (shared)

 include_module (shared)

 info_module (shared)

 log_config_module (shared)

 logio_module (shared)

 mime_magic_module (shared)

 mime_module (shared)

 negotiation_module (shared)

 remoteip_module (shared)

 reqtimeout_module (shared)

 rewrite_module (shared)

 setenvif_module (shared)

 slotmem_plain_module (shared)

 slotmem_shm_module (shared)

 socache_dbm_module (shared)

 socache_memcache_module (shared)

 socache_shmcb_module (shared)

 status_module (shared)

 substitute_module (shared)

 suexec_module (shared)

 unique_id_module (shared)

 unixd_module (shared)

 userdir_module (shared)

 version_module (shared)

 vhost_alias_module (shared)

 dav_module (shared)

 dav_fs_module (shared)

 dav_lock_module (shared)

 lua_module (shared)

 mpm_prefork_module (shared)

 proxy_module (shared)

 lbmethod_bybusyness_module (shared)

 lbmethod_byrequests_module (shared)

 lbmethod_bytraffic_module (shared)

 lbmethod_heartbeat_module (shared)

 proxy_ajp_module (shared)

 proxy_balancer_module (shared)

 proxy_connect_module (shared)

 proxy_express_module (shared)

 proxy_fcgi_module (shared)

 proxy_fdpass_module (shared)

 proxy_ftp_module (shared)

 proxy_http_module (shared)

 proxy_scgi_module (shared)

 proxy_wstunnel_module (shared)

 ssl_module (shared)

 systemd_module (shared)

 cgi_module (shared)

 perl_module (shared)

 php5_module (shared)

Answered: Searching for multiple sofware shows nothing

$
0
0
unbelievable - i tried a search with version 2.5 in demo server

http://demo.ocsinventory-ng.org/

i searched with various criteria for computers with the following search criteria

All software: name Like office

AND

all software Like avira

But OCS returns Nothing - you are right - there must be a bug - can't believe it - i thought this bug is fixed a long time

Kind regards

LDAP login broke down after an upgrade to OCS 2.5

$
0
0
Hello!

I just upgraded OCS Inventory server to version 2.5, but after an upgrade if I try to log in with domain user, it says "User not registered". If I log in with admin account, then I can see domain users that have been registered before.

CONEX_LDAP_CHECK_FIELD_NAME is memberof.
I have tried to change it to comment, department and so on.

In apache error.log I can see lot of notices about duplicate entries:

[Thu Nov 08 14:18:34.344984 2018] [core:notice] [pid 30603] AH00094: Command line: '/usr/sbin/apache2'
DBD::mysql::db do failed: Duplicate entry '1709' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '5596' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '1845' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '5631' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.

Also it marks down:

[Thu Nov  8 14:18:34 2018] OCSINVENTORY: (SOAP): Cannot find XML::Entities
Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @args[...] better written as $args[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Thu Nov  8 14:18:34 2018] OCSINVENTORY: (SOAP): Cannot find XML::Entities
Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @args[...] better written as $args[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Thu Nov 08 14:18:34.344911 2018] [mpm_prefork:notice] [pid 30603] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations

Could you help me to solve the situation with ldap logging?

Answered: Searching for multiple sofware shows nothing

$
0
0
Thank you for the bug report. BTW: I think there are problems with the other searching methods (bigger, lower ), too.

I'm really new in OCS and work with it for just a few weeks. So, let's give it a try.

I'm using the version 2.5.0 of OCS.

Can you tell me how to search for groups? I don't find anything in the wiki.

Perl Error after update server from GIT

$
0
0
After update from git server error

Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 102, near "s/\*//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 105, near "s/\*//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 109, near "s/\*//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 113, near "s/\?/./gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 150, near "s/\.//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 151, near "s/\.//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 158, near "s/\.//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 159, near "s/\.//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 166, near "s/\.//gr"
Bareword found where operator expected at /usr/lib64/perl5/site_perl/5.12.3/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 167, near "s/\.//gr"

Apache not start

Perl Verion 5.12.3

Regards

Answered: Searching for multiple sofware shows nothing

$
0
0
2.6 is like a beta - so  i can't recommend it - But you can update and try and find some more bugs if your server isn't very important

you have to hope that this bug will be fixed before releasing  2.6 stable

i would recommend to use adminer to search - but it isn't easy to find the exact sql statement

you can register to github and report bugs there.

i think many developers doesn't read on this forum

How to know the date device was first time added?

$
0
0
I need to know the exact dates when devices were first time added to OCS (first time inventoried). How can I see that?

Answered: warning apache error.log

$
0
0
On OCS 2.5 installed on Ubuntu 18.04.1, the perl version is 5.26.1. Perhaps the perl cache handling on older versions has a problem?

It's a nuclear option, but you could backup your database and retry ocs server installation with newer version of perl.

New guide for installing ocs2.5 on ubuntu 18.04

$
0
0
I wrote a comprehensive guide for installing OCS inventory 2.5 on Ubuntu 18.04.1. This includes all the packages which should be installed for PERL modules, PHP modules, and ubuntu package prerequisites.

Where should I post this guide?

Can I submit the guide to OCS Inventory for incorporation on the wiki site?

Regards

Problem Search With Various Criteria

$
0
0

Clicking on search with various criterias blank page !!!

When activating the DEBUG permance in white !!!

Centos 7 + MariaDB 5.5.6 + php 5.4.16

Uninstall Software with OCS Inventory

$
0
0
Hi,

I be a newbie and installed OCS Inventory NG on Debian Server sucessfully.
The software development works... on Windows Agents I've installed Visual C with OCS Inventory.

Is there a way to uninstall software on Client-PC?

Send Message to Client

$
0
0
Hi,

is there a way to send a message to an Client.
Maybe a plugin or something?

Answered: New guide for installing ocs2.5 on ubuntu 18.04

$
0
0
Hi,

Send me your guide, I'll submit to the team for acceptation and publish on wiki.

Regards

Frank

Answered: warning apache error.log

$
0
0
Hi

Just adapt collation on the database. Set all collation to utf8.

Regards

Frank
Viewing all 7071 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>