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

Uninitialized value at SoftwareCategory [OCS 2.6]

$
0
0

Hi,

I'm getting this message on apache2/error.log 

Use of uninitialized value in pattern match (m//) at /usr/local/share/perl/5.26.1/Apache/Ocsinventory/Interface/SoftwareCategory.pm line 146.

PHP Version : 7.2.25

Web Server : Apache/2.4.29 (Ubuntu)

Database Server : (MySQL) version 5.7.28-0ubuntu0.18.04.4

Version OCSReports: 2.6

I have a Default Software tagged, and filtered just one software.

Regards,

Javier.


Answered: Upgrade server and upgrade client... bug

$
0
0

Hi @smunger.boisaco.com,

firstly, in the client PC, you can check the content of the file

C:\ProgramData\OCS Inventory NG\Agent\OCSInventory.log

because there is a communication error with the server...

Missing path (OCS Server 2.6)

$
0
0

Hi,

after successful installation of the web interface and deleting install.php I get a blank page. The Apache2's error log says that the /usr/share/ocsinventory-reports/ocsreports/vendor is missing.

How can I fix this?

Answered: How to check if the plugin works? [OCS 2.6]

$
0
0

I apologize for my silence but I had to leave it for a few days. I installed new server.

@ pchamorro
I can log as 'ocsuser' - I'm using this account, not 'ocs'. I don't know why in logs is 'ocs' user.
+------------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'ocsuser'@'localhost' IDENTIFIED BY PASSWORD '*45CEED36B3D8B85A439385AD' |
| GRANT ALL PRIVILEGES ON `ocs`.* TO 'ocsuser'@'localhost' WITH GRANT OPTION                                     |
+------------------------------------------------------------------------------------------------------------------+


@  rmikeda

I have officekey-3.0 but I tried to do what you wrote and... IT WORKS! OK... it works in half Agent send logs and I see the entry on the webconsole in Office Key Manager. But when I try to view the details (column number) I have denied access.


Now I tray with uptime-2.0. And... the same problem
I need to manually create the tables for all plugins?
How do I know what to create?
Why no one wrote on the plugins documentation that there are such installation requirements? Or I missed it?
Or I install the plugins incorrectly?
 
By the way... sorry for my English. It's bad, but I see you get the point what I mean :-D
And Merry Christmas! :-D

Answered: How to check if the plugin works? [OCS 2.6]

$
0
0

You don't need to manually create the tables of the plugins. The tables are created when you install the plugins. I use phpMyAdmin as a help to confirm that the tables are created. Once you have the plugins files downloaded and extracted you just need to run a command like this:

python3 /usr/share/ocsinventory-reports/ocsreports/tools/install_plugin.py

and choose the plugin to install.

don't show host after local import or manual entry

$
0
0

On some laptops I have done local inventory and when uploading them to the ocs server it does not show the data. 

The counter per tag shows that the data is there, but it does not show the data. When unifying it with GLPI it shows me the field that is in the database, but at the OCS level it shows nothing. in my total of teams it only shows me 2, although the counter per tag says that there are more teams added

Answered: How to check if the plugin works? [OCS 2.6]

$
0
0
Thanks pchamorro but as you can see it doesn't work for me. I'm using this command to install. Maybe some error with permissions to folders? Or MySQL?
I thought I was doing everything according to the documentation :/

How to save most frequent searches

$
0
0
Hi everyone!

I use frequently "Search with various criteria" option to check software versions or anything else. I need to know how could i save my most frequent searches, because it's hard to me create always these searches from zero.

Thanks in advance,

Answered: How to check if the plugin works? [OCS 2.6]

$
0
0
Are plugins tables being created? Are the tables empty? Why don't you try with other plugins? I have these working: checkfiles.zip, networkshare.zip, security.zip, sharedfolders.zip, uptime.zip, winusers.zip. Plugins info are shown in different tabs of each computer details info. For instance, winusers plugin info is shown under the miscelaneous tab.

Answered: How to check if the plugin works? [OCS 2.6]

$
0
0
@WebGreg

I did not have this problem, in my case it worked only with the new fields.

I used the uptime plugin to do troubleshoting, but had no problem with it.

About OCS 2.5 and 2.6

$
0
0
I cannot find any info about 2.5 and 2.6

Is there any patch note or what did they change?

Answered: How to check if the plugin works? [OCS 2.6]

$
0
0

But I tried with other plugins. All the same problem. I installed phpMyAdmin and no new tables after:

# sudo python3 install_plugin.py

If you don't have this problem, I obviously did something wrong ... but I don't know what. 

Happy New Year by the way :)
 

Answered: Extremely Slow performance on "All computer page"

$
0
0
Hello,

Is it useful to bump this topic ?

It looks like I have the exact same issue : IP fiels make the display on computers very slow !

Thanks a lot.

OCS Server installed on windows server 2016

$
0
0
Dear, we used the OCS inventory (version 2.0.5) with xampp (version 2.5) and GLPI (version 0.83.4) on a Windows Server 2008 R2 server. The institution will be migrating to Windows Server 2016. In this way we request information if version 2.0.5 is compatible. How does it handle a migration we will have to reinstall customers on workstations? And will glpi need to migrate as well?

We take the opportunity to consult: Is OCS server more recommended to be installed on A Linux server? If so, what is the most recommended version?

Thank you.

Enabling OCS configuration

$
0
0
Hello, so I had to install OCS and GLPI on a debian 10 server for a company where I am on an internship. 
I followed the tutorial until page 5 everything works perfectly but after making these three commands a2enconf z-ocsinventory-server, 
a2enconf ocsinventory-reports and a2enconf zz-ocsinventory-restapi, I have the expected result. 
But when I restart, I get a "Failed" response. When I make a status, I have several lines but I have retained only one:

"janv. 09 10:54:23 SRV-GLPI-OCS apachectl[8303]: [Thu Jan 09 10:54:23.612594 2020] [perl:error] [pid 8306] Can't locate object method "httpd_conf" via package "Apache" at /usr/local/share/perl/5.28.

janv. 09 10:54:23 SRV-GLPI-OCS apachectl[8303]: [Thu Jan 09 10:54:23.613487 2020] [perl:error] [pid 8306] Can't load Perl module Apache::Ocsinventory::Plugins for server (null):0, exiting...".

So I don't understand my error. If you have an idea I'm interested


How to properly deploy a .bat file

$
0
0
Hello,

Package deployment works fine on our machines, most are Windows 10, some are Windows 8.1.

When i try to deploy a .bat file to run certain commands in preparation for another package deployment, in some machines it gives an error and in some other machines it just keeps saying "Notified.." and thats it.

I am deploying them using "Launch"

From what i understand deploying a .bat script or even a powershell script is the same as deploying any other package, so im not sure what im doing wrong.

Any suggestions is appreciated.

Answered: OCS Server installed on windows server 2016

$
0
0
hy, you don't need to migrate the client agents - but new servers will work only on linux!!

I would recommend that you first install server 2.1.2

https://launchpad.net/ocsinventory-server/+milestone/2.1.2

The you import the mysql dump from the windows version.

Afterwards you should upgrade to 2.6 with all the Major releases 2.2, 2.3 etc.

Server 2.1.2 looks like 2.0.5 , but with version 2.2 you get a new theme.

keep in mind that some custom fields are not migrated if you step up to 2.3 - but in the latest 2.6 version this should be solved.

It is a lot of work i know - but if you go directly to 2.6 perhaps some database changes aren't done and you end up in a not working Server.

GLPI should also be upgraded - but you will have a lot of work - because every upgrade step has its own problems (php error, password errors etc.)

First of all get the OCS Server 2.1.2 running on Linux with the old database

Kind regards sokatra

Answered: Ocs Server (2.6) doesn't see any Computer

$
0
0
Try to install newest agent version.

Days of inventory.

$
0
0
How many days of inventory can I hold in database of OCS inventory by default , while i am using Ver. 2.1.2 on OCS Server.

don't show host after local import or manual entry

$
0
0

On some laptops I have done local inventory and when uploading them to the ocs server it does not show the data. 

The counter per tag shows that the data is there, but it does not show the data. When unifying it with GLPI it shows me the field that is in the database, but at the OCS level it shows nothing. in my total of teams it only shows me 2, although the counter per tag says that there are more teams added

Viewing all 7088 articles
Browse latest View live


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