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

Answered: error 500 can't connect to ocsinventory-ng:80

$
0
0
Hi,

First agent must be launched as root user. Second add --server https://@ip/ocsinventory on the command line and retry.

Regards

Frank

Answered: error 500 can't connect to ocsinventory-ng:80

$
0
0
thank you @frankb ,
i don't think i undrestood you very well , can you explain more please ?

Answered: error 500 can't connect to ocsinventory-ng:80

$
0
0

Hello,

error] Failed to create /var/lib/ocsinventory-agent/http:__ocsinventory-ng_ocsi                                                                             nventory directory: Permission denied

states that the user adii has no permissions to write to mentioned directory. You have to run the command as root. 

error] Cannot establish communication : 500 Can't connect to ocsinventory-ng:80                                                                              (Ãchec temporaire dans la résolution du nom)

There is a problem with name resolution (DNS). Either create a DNS entry for ocsinventory-ng or add an entry to /etc/hosts or use the IP of the server as Frank already explained.

Lars

Answered: Agent 2.4 for Unix - wrong number of CPUS

$
0
0

Hello Frank,

do you plan to correct the behavior and release a new version of the  perl-Ocsinventory-Agent RPM for RHEL7, or should we try to fix it on our own?

Regards,

Lars

install on shutdown

$
0
0
hy, is somebody interested in a way to install/uninstall software via ocs-inventory on shutdown(windows)?

I figured a way to accomplish that, because it is often better to install or uninstall software on shutdown.

You don't have to close programs and so forth. Big uninstall Task are much more easy if you already closed everything.

It would be nice if ocs-inventory has some way to to this internally (feature request) , but it works also works crabwise.

Kind regards

sokatra

Answered: error 500 can't connect to ocsinventory-ng:80

$
0
0

thank you so much for your help, indeed i no longer have the error message on the file /var/log/ocsinventory-agent/onsinventory-agent.log

root@ubuntu:/var/log/ocsinventory-agent# vim ocsinventory-agent.log

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::OS::MacOS ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::OS::Solaris ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Docker ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Jails ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Libvirt ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Lxc ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Parallels ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Qemu ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::SolarisZones ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VirtualBox ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareDesktop ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareESX ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::VmWareWorkstation ignored

[Fri Mar 23 12:03:43 2018][debug]  - dmidecode found

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XL ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::Xen::XM ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::Virtualization::XenCitrixServer ignored

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::IpDiscover::Nmap'

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Oracle disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB::Debian disabled because of a 'runMeIfTheseChecksFailed' in 'Ocsinventory::Agent::Backend::OS::Linux::Distro::NonLSB'

[Fri Mar 23 12:03:43 2018][debug] Running Ocsinventory::Agent::Backend::AccessLog

[Fri Mar 23 12:03:43 2018][debug] Running Ocsinventory::Agent::Backend::DeviceID

[Fri Mar 23 12:03:43 2018][debug] Running Ocsinventory::Agent::Backend::IpDiscover

[Fri Mar 23 12:03:43 2018][debug] Ocsinventory::Agent::Backend::IpDiscover has no run() function -> ignored

[Fri Mar 23 12:03:43 2018][debug] Running Ocsinventory::Agent::Backend::IpDiscover::IpDiscover

[Fri Mar 23 12:03:43 2018][debug] Scanning the 172.X.X.X network

So, now my question is , how do i get the SNMP inventory results to show in the web interface 
HOW CAN I SEE  THE TABLE THAT'S SUPPOSED TO BE CONTAINING ALL THE SNMP DEVICES SCANNED BY OCS AGENTS???
:)

Agent OCS ne s'installe pas certains Windows 10

$
0
0
Bonjour, je galère depuis quelques temps avec un problème rencontré avec l'agent OCS inventory:

OCSPackage.exe créé avec OCSPackager ne s'installe pas sur les postes Windows 10 de mon domaine de production mais il s'installe sur les postes Windows 7 or le même exécutable s'installe normalement sur les postes Windows 10 de mon domaine test (même configuration que l infra de production mais sur vm's).Le compte utilisé pour la création du package est un compte administrateur du domaine créé spécialement pour l'occasion
en paramètre la ligne suivante est entrée:
"/SSL=1 /S /FORCE /NOW /SERVER=https://ocsserv.domain.local:443/ocsinventory"


Pas de GPO spécifiques créées sur le domaine de production. En faisant un clic droit exécuter en tant qu'administrateur, OcsPackage s'installe et la machine remonte sur le serveur...Mais je ne devrais pas avoir à faire ça pour lancer l'installation,sachant que l'on va déployer l'agent via GPO par la suite.

Cela ressemble à un problème de droits d'admin sur le poste
Quelqu'un a-t-il déjà ,rencontré ce problème ?

Merci pour  votre aide

Answered: Agent OCS ne s'installe pas certains Windows 10

$
0
0
Bonjour ,
Merci de mentionner la version de l'agent et la version du serveur OCS , pour nous l'agent 2.3.1.0 fonctionne parfaitement avec le serveur de la meme version

how do i get the snmp to work on the web interface

$
0
0

i have ocs server and ocs agent version 2.4 in the same machine ( Ubuntu 16.04 ),

int the file /etc/ocsinventory-agent/ocsinventory-agent.cfg, i have configured it as follow :

  • basevardir= /var/lib/ocsinventory-agent 
  • ssl=1
  • server=https://IP@/ocsinventory
  • ca=/etc/ssl/ocs01/cacert.pem
  • tag=OCSserver
  • debug=1
  • after i had launched ocsinventory-agent using debug mode , like this:

    # ocsinventory-agent --debug

  • i hade a result with an error line at the end 

  • [error] Cannot establish communication : 500 Can't connect to ocsinventory-ng:80    

  • ,with your help i was able to fix it by launching the agent as root user. and then i  added --server https://@ip/ocsinventory on the command line 

  • So, now my question is , how do i get the SNMP inventory results to show in the web interface 

    HOW CAN I SEE  THE TABLE THAT'S SUPPOSED TO BE CONTAINING ALL THE SNMP DEVICES SCANNED BY OCS AGENTS???

    :)

how could the snmp discover cisco devices !

$
0
0

i have ocs server and agent  version 2.4 in the same machine 'UBUNTU 16.04'

i was able to scan devices in my network , but the problem i had with the devices's types , 

snmp can't scan for example cisco devices , all others devices i've discovered are showing to me as printers 'even tho some of them are not '

i couldn't find the source of the problem. 

Answered: Error 2.3.1.1 - Can't initialize plug-ins

$
0
0

Here is the error message, when I open the Packer, with administrator credentials it gives me the error at the first screen.

Answered: Error 2.3.1.1 - Can't initialize plug-ins

$
0
0

Believe it or not the problem was with antivirus blocking execution, more specifically with the adptive threat protection module !

Solved now !

Answered: Agent 2.4 for Unix - wrong number of CPUS

Answered: Agent OCS ne s'installe pas certains Windows 10

$
0
0
Bonjour, j'ai réglé mon problème en utilisant le DeployerTool Ocs plutôt que de créer un package pour le déployer via GPO ensuite. Cela relève tout de même un problème de droits sur les comptes administrateurs du domaine sur Windows 10...En effet l'exécutable créé avec OCS Packager ne réagit pas de la même manière si l'on utilise le compte administrateur du domaine originel "Administrator" ou une copie de celui ci...

ocs inventory msoffice plugin

$
0
0
Good evening. I,ve installed ocs inventory 2.4 and office plugin witn 2.24 vbs version. It,s working for Office Pro versions but not for Office 2016 Home & Bussiness.

Any idea?

Thanks a lot

Client Inventory does not update

$
0
0

Hey hey,

I tried to get new pcs into my ocs database and that worked out quite well, but every time I force inventory on the client computer the agent log file states the following:

I currently run the OCS-Inventory Ng Server 2.4 and the client is 3.1.1.

Thank you in advance

Message 'https' is not supported' - Unix Packager

$
0
0

Hi,

I am utilizing the OCSNG Unix Packager 1.0 (also tried 1.1) to create an Agent package for Ubuntu 16.04.4. The package works when using 'http' to connect to the OCSNG Inventory Server but does not when using 'https' (SSL).


client:~$ sudo /opt/ocsinventory/ocsinventory-agent -s https://OCSNGServer/ocsinventory 
--basevardir=/opt/ocsinventory/var/lib/ocsinventory-agent 

--tag=UbuntuServer --lazy --ca=/opt/ocsinventory/files/cacert.pem


[error] Cannot establish communication : 501 Protocol scheme 'https' is not supported 

(LWP::Protocol::https not installed)

[info] No previous PROLOG_FREQ found - using fallback delay(3600 seconds)

The needed Perl module is included in the Agent Package in '/opt/ocsinventory/perl/lib/5.26.0/URI/https.pm', so what's the problem?

Answered: Message 'https' is not supported' - Unix Packager

$
0
0
Hi Frank,

That perl module "LWP::Protocol::https" has been downloaded and included in the packaged agent. The OCSNG Unix packager creates an archive containing all the necessary files including the agent itself "ready for deployment", without any additional components needed. See https://github.com/OCSInventory-NG/Packager-for-Unix

However I have also installed the module LWP::Protocol::https by hand and still receive the same error message probably because the agent is only using the modules it was packaged with.

Thanks,

Rick

Answered: Message 'https' is not supported' - Unix Packager

$
0
0
Hi,

Sorry for the inconvenient.
The archive has been rebuild because the old one was bad (no all necessary files for perl modules were included). Could you rebuild your agent with the new archive and let me know if it's OK?

Kind regards

Frank

How to change the tag of a linux workstation

$
0
0
Hi,
I want to change the tag of an already inventoried linux-workstation (ubuntu 16.04.4 LTS, ocs-agent 2.0.5).

It has the old tag "TAG1" and I want to change it to "TAG2"
In /etc/apache2/conf-enabled/ocsinventory.conf the flag
OCS_OPT_ACCEPT_TAG_UPDATE_FROM_CLIENT is set to 1
In the configuration file /etc/ocsinventory/ocsinventory-agent.cfg I changed the tag-line from
tag=TAG1
to
tag=TAG2
I also tried to delete the  configuration file and called the agent with the option --tag=TAG2.
The tag shown on the server is still "TAG1".
Even if I change the tag in the web interface to "TAG2" and recall the agent, the tag ist reset to "TAG1".
(Changing the tag of a windows PC works fine changing the tag in the file admininfo.conf)

Can anybody help me?
Viewing all 4573 articles
Browse latest View live


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