Ir ao conteúdo
  • Cadastre-se

Ocs inventory - problemas de comunicação com o servidor.


gprilopes

Posts recomendados

Boa tarde meus caros,

 

Estou instalando o OCS Inventory no Windows 7 com Client no Windows 7, e o agent não se comunica com o servidor, alguem já passou pela situação?

 

Segue log de erro do agent:

 

********************************************************
Starting OCS Inventory NG Agent 2.1.1.1 setup on 26/02/2016 at 10:44:49
Checking if setup not already running...OK.
Checking Operating System...OK, Windows 2000 or higher.
Command line is: "C:\Users\analista_ti\Downloads\OCSNG-Windows-Agent-2.1.1\OCSNG-Windows-Agent-2.1.1.1\OCS-NG-Windows-Agent-Setup.exe" 
Parsing command line arguments...OK.
Checking for silent mode...Disabled.
Checking for splash screen...Enabled.
Checking if logged in user has Administrator privileges...OK.
Creating directory <C:\ProgramData\OCS Inventory NG\Agent>...
SetACL allowing Users / Power users read/write permissions on <C:\ProgramData\OCS Inventory NG\Agent>...Result: error
SetACL propagating inherited permissions on <C:\ProgramData\OCS Inventory NG\Agent\Download>...Result: error

Trying to determine if service was previously installed...No.
Trying to stop service and kill processes...
Trying to kill process OcsSystray.exe...Result: 603
Trying to kill process OcsService.exe...Result: 603
Trying to kill process OCSInventory.exe...Result: 603
Trying to kill process download.exe...Result: 603
Trying to kill process inst32.exe...Result: 603
Waiting 10 seconds for processes to terminate...
Copying new files to directory <C:\Program Files (x86)\OCS Inventory Agent>...
Windows XP or higher detected, installing default cURL library and MS CRT/MFC 9.0...
Copying new files status is ;-)
Writing agent configuration file by launching ocsinventory.exe /SAVE_CONF...Result: 0
Windows Advanced Firewall is not available (Vista or higher). Skip adding custom rules.
[/NOW] used, so launching "C:\Program Files (x86)\OCS Inventory Agent\ocsinventory.exe"...Result: 4
Creating startup menu shortCut <C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\OCS Inventory NG Systray.lnk> to start Systray applet...
Checking if service OCS Inventory Service is registered into Windows Service Manager...No
Registering OCS Inventory Service into Windows Service Manager...Result: 0.
Starting OCS Inventory Service...Ok.
SUCCESS: OCS Inventory NG Agent 2.1.1.1 successfuly installed on 26/02/2016 at 10:46:40
;-)
 

Link para o comentário
Compartilhar em outros sites

  • Membro VIP

Pelo que pude notar, o OCS Inventory, é um software para monitorar e gerenciar computadores em uma rede, já verificou se o firewall não está impedindo a conexão do programa com a rede?

 

Abraços.

 

PS: Seu título foi editado para melhor descrição do problema.

Link para o comentário
Compartilhar em outros sites

  • 4 semanas depois...

Passei por isso tambem cara...

O meu OCS Server esta instalado no Debian e dadva o mesmo problema.

Penei muito pra conseguir consertar isso, até que consegui arrumar reinstalando algumas libs necessárias pro Ocs Server.

Se o seu OCS server estiver no windows, tenta desabilitar o firewall e tenta comunicar novamente.

Se seu OCS server estiver em um Linux, segue exatamente o que escrevi abaixo que você consegue, foi a mesma coisa que eu fiz:

 

O pacote abaixo, são scripts como o make, gcc e etc
apt-get install apt-build

Os Pacotes abaixo são para a instalação do OCS Inventory Server:
apt-get install apache2
apt-get install apache2-doc

apt-get install mysql-server
Colocar a senha de ROOT do MySQl (anotar a senha)

apt-get install php5
apt-get install php5-mysql
apt-get install php5-gd
apt-get install libapache2-mod-perl2
apt-get install libxml-simple-perl
apt-get install libio-compress-perl
apt-get install libcompress-zlib-perl
apt-get install libnet-ip-pirl
apt-get install libsoap-lite-perl
apt-get install libc6-dev
apt-get install libdbi-perl
apt-get install libdbd-mysql-perl
apt-get install libapache-dbi-perl

Acessar o tmp
cd /tmp

Baixar o pacote de instalação do OSC
wget https://launchpad.net/ocsinventory-server/stable-2.1/2.1.2/+download/OCSNG_UNIX_SERVER-2.1.2.tar.gz

Descompactar o Pacote
tar –zxvf OCSNG_UNIX_SERVER-2.1.2.tar.gz

Acessar a pasta:
cd OCSNG_UNIX_SERVER-2.0

Executar o Setup
sh setup.sh

Editar o arquivo dbconfig.inc.php

vi /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php

<?php
define("DB_NAME", "ocsweb");
define("SERVER_READ","localhost");
define("SERVER_WRITE","localhost");
define("COMPTE_BASE","ocs");
define("PSWD_BASE","SENHA_DO_BANCO_DE_DADOS");
?>

Salvar e sair

Reiniciar o Apache2

/etc/init.d/apache2 restart

Acesse o link

http://IP_DO_SERVIDOR/ocsreports/install.php

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novas respostas.

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...